[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.79.2.10,1.79.2.11

russell at lists.digium.com russell at lists.digium.com
Tue Apr 5 02:05:14 CDT 2005


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

Modified Files:
      Tag: v1-0
	chan_mgcp.c 
Log Message:
fix *67 (bug #3940)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.79.2.10
retrieving revision 1.79.2.11
diff -u -d -r1.79.2.10 -r1.79.2.11
--- chan_mgcp.c	5 Apr 2005 05:33:13 -0000	1.79.2.10
+++ chan_mgcp.c	5 Apr 2005 06:58:02 -0000	1.79.2.11
@@ -936,7 +936,8 @@
     /* SC: Decrement use count */
 
     if ((p->hookstate == MGCP_ONHOOK) && (!sub->next->rtp)) {
-        if (has_voicemail(p)) {
+       	p->hidecallerid = 0; 
+	if (has_voicemail(p)) {
             if (mgcpdebug) {
                 ast_verbose(VERBOSE_PREFIX_3 "MGCP mgcp_hangup(%s) on %s@%s set vmwi(+)\n", ast->name, p->name, p->parent->name);
             }




More information about the svn-commits mailing list