[asterisk-commits] file: branch 1.4 r66637 -
/branches/1.4/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed May 30 10:21:07 MST 2007
Author: file
Date: Wed May 30 12:21:06 2007
New Revision: 66637
URL: http://svn.digium.com/view/asterisk?view=rev&rev=66637
Log:
When calling some peer/host that may not exist/reply back... don't keep the dialog in memory for all of eternity.
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=66637&r1=66636&r2=66637
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed May 30 12:21:06 2007
@@ -3416,7 +3416,8 @@
if (p->invitestate == INV_CALLING) {
/* We can't send anything in CALLING state */
ast_set_flag(&p->flags[0], SIP_PENDINGBYE);
- /* Do we need a timer here if we don't hear from them at all? */
+ /* Do we need a timer here if we don't hear from them at all? Yes we do or else we will get hung dialogs and those are no fun. */
+ sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
append_history(p, "DELAY", "Not sending cancel, waiting for timeout");
} else {
More information about the asterisk-commits
mailing list