[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.111,1.112

markster at lists.digium.com markster at lists.digium.com
Mon Apr 4 09:21:28 CDT 2005


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

Modified Files:
	chan_mgcp.c 
Log Message:
Fix MGCP *67 to automatically reset callerid (bug #3940)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- chan_mgcp.c	29 Mar 2005 06:16:49 -0000	1.111
+++ chan_mgcp.c	4 Apr 2005 14:14:19 -0000	1.112
@@ -1047,6 +1047,7 @@
 	/* SC: Decrement use count */
 
 	if ((p->hookstate == MGCP_ONHOOK) && (!sub->next->rtp)) {
+		p->hidecallerid = 0;
 		if (has_voicemail(p)) {
 			if (mgcpdebug) {
 				ast_verbose(VERBOSE_PREFIX_3 "MGCP mgcp_hangup(%s) on %s@%s set vmwi(+)\n", 




More information about the svn-commits mailing list