[svn-commits] trunk r33912 - in /trunk: configs/sip.conf.sample
frame.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Jun 13 12:38:41 MST 2006
Author: file
Date: Tue Jun 13 14:38:41 2006
New Revision: 33912
URL: http://svn.digium.com/view/asterisk?rev=33912&view=rev
Log:
Allow AST_FRAME_MODEM frames to be dumped, and document T.38 passthrough support
Modified:
trunk/configs/sip.conf.sample
trunk/frame.c
Modified: trunk/configs/sip.conf.sample
URL: http://svn.digium.com/view/asterisk/trunk/configs/sip.conf.sample?rev=33912&r1=33911&r2=33912&view=diff
==============================================================================
--- trunk/configs/sip.conf.sample (original)
+++ trunk/configs/sip.conf.sample Tue Jun 13 14:38:41 2006
@@ -151,6 +151,13 @@
; separated by '&'. Patterns may be used in regexten.
;
;regcontext=sipregistrations
+;----------------------------------------- T.38 FAX PASSTHROUGH SUPPORT -----------------------
+;
+; These settings are available in the [general] section as well as in device configurations
+;
+; t38pt_udptl = yes ; Default false
+; t38pt_rtp = yes ; Default false
+; t38pt_tcp = yes ; Default false, not yet used
;
;----------------------------------------- OUTBOUND SIP REGISTRATIONS ------------------------
; Asterisk can register as a SIP user agent to a SIP proxy (provider)
Modified: trunk/frame.c
URL: http://svn.digium.com/view/asterisk/trunk/frame.c?rev=33912&r1=33911&r2=33912&view=diff
==============================================================================
--- trunk/frame.c (original)
+++ trunk/frame.c Tue Jun 13 14:38:41 2006
@@ -816,6 +816,20 @@
break;
}
break;
+ case AST_FRAME_MODEM:
+ strcpy(ftype, "Modem");
+ switch (f->subclass) {
+ case AST_MODEM_T38:
+ strcpy(subclass, "T.38");
+ break;
+ case AST_MODEM_V150:
+ strcpy(subclass, "V.150");
+ break;
+ default:
+ snprintf(subclass, sizeof(subclass), "Unknown MODEM frame '%d'\n", f->subclass);
+ break;
+ }
+ break;
default:
snprintf(ftype, sizeof(ftype), "Unknown Frametype '%d'", f->frametype);
}
More information about the svn-commits
mailing list