[Asterisk-cvs] asterisk/channels chan_zap.c,1.454,1.455

markster at lists.digium.com markster at lists.digium.com
Thu Jun 2 13:13:45 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv2005/channels

Modified Files:
	chan_zap.c 
Log Message:
Setup transfer capability properly for outbound calls (bug #4434)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.454
retrieving revision 1.455
diff -u -d -r1.454 -r1.455
--- chan_zap.c	25 May 2005 17:18:05 -0000	1.454
+++ chan_zap.c	2 Jun 2005 17:16:49 -0000	1.455
@@ -7281,6 +7281,8 @@
 				} else if (opt == 'd') {
 					/* If this is an ISDN call, make it digital */
 					p->digital = 1;
+					if (tmp)
+						tmp->transfercapability = AST_TRANS_CAP_DIGITAL;
 				} else {
 					ast_log(LOG_WARNING, "Unknown option '%c' in '%s'\n", opt, (char *)data);
 				}




More information about the svn-commits mailing list