[svn-commits] oej: branch oej/cancel_answer_elsewhere r69949 - /team/oej/cancel_answer_else...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 19 10:56:53 CDT 2007


Author: oej
Date: Tue Jun 19 10:56:53 2007
New Revision: 69949

URL: http://svn.digium.com/view/asterisk?view=rev&rev=69949
Log:
Small fix. Thanks Frank!

Modified:
    team/oej/cancel_answer_elsewhere/channels/chan_sip.c

Modified: team/oej/cancel_answer_elsewhere/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/cancel_answer_elsewhere/channels/chan_sip.c?view=diff&rev=69949&r1=69948&r2=69949
==============================================================================
--- team/oej/cancel_answer_elsewhere/channels/chan_sip.c (original)
+++ team/oej/cancel_answer_elsewhere/channels/chan_sip.c Tue Jun 19 10:56:53 2007
@@ -8135,7 +8135,7 @@
 		p->invitestate = INV_CONFIRMED;
 
 	reqprep(&resp, p, sipmethod, seqno, newbranch);
-	if (sipmethod == SIP_CANCEL && p->owner && ast_test_flag(&p->flags[0], SIP_DIALOG_ANSWEREDELSEWHERE)) 
+	if (sipmethod == SIP_CANCEL && ast_test_flag(&p->flags[0], SIP_DIALOG_ANSWEREDELSEWHERE)) 
 		add_header(&resp, "Reason:", "SIP;cause=200;text=\"Call completed elsewhere\"");
 
 	add_header_contentLength(&resp, 0);




More information about the svn-commits mailing list