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 [EMAIL 
PROTECTED] set vmwi(+)\n", ast->name, p->name, p->parent->name);
             }

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to