[svn-commits] oej: branch 1.4 r66474 - /branches/1.4/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue May 29 12:02:05 MST 2007


Author: oej
Date: Tue May 29 14:02:04 2007
New Revision: 66474

URL: http://svn.digium.com/view/asterisk?view=rev&rev=66474
Log:
Don't issue hangup on hangup on hangup on hangup (for jcmoore)

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=66474&r1=66473&r2=66474
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue May 29 14:02:04 2007
@@ -12490,7 +12490,7 @@
 					break;
 				default:
 					/* Send hangup */	
-					if (owner && sipmethod != SIP_MESSAGE && sipmethod != SIP_INFO)
+					if (owner && sipmethod != SIP_MESSAGE && sipmethod != SIP_INFO && sipmethod != SIP_BYE)
 						ast_queue_hangup(p->owner);
 					break;
 				}



More information about the svn-commits mailing list