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

Modified Files:
        chan_sip.c 
Log Message:
stop retransmitting INVITE after we have sent CANCEL for the same call


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.831
retrieving revision 1.832
diff -u -d -r1.831 -r1.832
--- chan_sip.c  30 Aug 2005 21:59:01 -0000      1.831
+++ chan_sip.c  31 Aug 2005 19:53:38 -0000      1.832
@@ -2351,6 +2351,8 @@
                                   INVITE, but do set an autodestruct just in 
case we never get it. */
                                ast_clear_flag(&locflags, SIP_NEEDDESTROY);
                                sip_scheddestroy(p, 15000);
+                               /* stop retransmitting an INVITE that has not 
received a response */
+                               __sip_pretend_ack(p);
                                if ( p->initid != -1 ) {
                                        /* channel still up - reverse dec of 
inUse counter
                                           only if the channel is not 
auto-congested */

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

Reply via email to