mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
Tweaks to logging in spandsp
This commit is contained in:
@@ -246,6 +246,36 @@ SPAN_DECLARE(const char *) t30_completion_code_to_str(int result)
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
SPAN_DECLARE(const char *) t30_modem_to_str(int modem)
|
||||
{
|
||||
switch (modem)
|
||||
{
|
||||
case T30_MODEM_NONE:
|
||||
return "None";
|
||||
case T30_MODEM_PAUSE:
|
||||
return "Pause";
|
||||
case T30_MODEM_CED:
|
||||
return "CED";
|
||||
case T30_MODEM_CNG:
|
||||
return "CNG";
|
||||
case T30_MODEM_V21:
|
||||
return "V.21";
|
||||
case T30_MODEM_V27TER:
|
||||
return "V.27ter";
|
||||
case T30_MODEM_V29:
|
||||
return "V.29";
|
||||
case T30_MODEM_V17:
|
||||
return "V.17";
|
||||
case T30_MODEM_V34HDX:
|
||||
return "V.34HDX";
|
||||
case T30_MODEM_DONE:
|
||||
return "Done";
|
||||
}
|
||||
/*endswitch*/
|
||||
return "???";
|
||||
}
|
||||
/*- End of function --------------------------------------------------------*/
|
||||
|
||||
SPAN_DECLARE(const char *) t30_frametype(uint8_t x)
|
||||
{
|
||||
switch (x)
|
||||
|
Reference in New Issue
Block a user