[Asterisk-cvs] asterisk/channels chan_iax2.c,1.91.2.6,1.91.2.7

markster at lists.digium.com markster at lists.digium.com
Thu Mar 4 18:53:15 CST 2004


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

Modified Files:
      Tag: v1-0_stable
	chan_iax2.c 
Log Message:
Fix transfer context in IAX2


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.91.2.6
retrieving revision 1.91.2.7
diff -u -d -r1.91.2.6 -r1.91.2.7
--- chan_iax2.c	27 Feb 2004 16:36:26 -0000	1.91.2.6
+++ chan_iax2.c	4 Mar 2004 23:44:26 -0000	1.91.2.7
@@ -2122,6 +2122,8 @@
 						/* Take out of conference mode */
 						res = 0;
 						/* Remove from native mode */
+	if (strlen(c->context))
+		strncpy(iaxs[callno]->context, c->context, sizeof(iaxs[callno]->context));
 						break;
 					} else 
 						goto tackygoto;




More information about the svn-commits mailing list