[svn-commits] branch 1.2 - r8562 /branches/1.2/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Jan 24 12:21:16 MST 2006


Author: oej
Date: Tue Jan 24 13:21:15 2006
New Revision: 8562

URL: http://svn.digium.com/view/asterisk?rev=8562&view=rev
Log:
Issue 6114: Don't hangup on BYE/ALSO with no channel.

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=8562&r1=8561&r2=8562&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Jan 24 13:21:15 2006
@@ -10619,7 +10619,8 @@
 			}
 		} else {
 			ast_log(LOG_WARNING, "Invalid transfer information from '%s'\n", ast_inet_ntoa(iabuf, sizeof(iabuf), p->recv.sin_addr));
-			ast_queue_hangup(p->owner);
+			if (p->owner)
+				ast_queue_hangup(p->owner);
 		}
 	} else if (p->owner)
 		ast_queue_hangup(p->owner);



More information about the svn-commits mailing list