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

Modified Files:
        chan_zap.c 
Log Message:
Null out call number on release complete when number is unallocated (bug #4633)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.514
retrieving revision 1.515
diff -u -d -r1.514 -r1.515
--- chan_zap.c  24 Sep 2005 14:19:59 -0000      1.514
+++ chan_zap.c  25 Sep 2005 02:28:31 -0000      1.515
@@ -5196,6 +5196,8 @@
                        chan->hangupcause = AST_CAUSE_UNALLOCATED;
                        ast_hangup(chan);
                        p->exten[0] = '\0';
+                       /* Since we send release complete here, we won't get 
one */
+                       p->call = NULL;
                }
                return NULL;
                break;

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

Reply via email to