[asterisk-commits] [svn-commits] branch oej/siptransfer r17741 - in
 /team/oej/siptransfer: ./ channels/chan_sip.c
    asterisk-commits at lists.digium.com 
    asterisk-commits at lists.digium.com
       
    Thu Apr  6 00:45:48 MST 2006
    
    
  
Author: oej
Date: Thu Apr  6 02:45:45 2006
New Revision: 17741
URL: http://svn.digium.com/view/asterisk?rev=17741&view=rev
Log:
Update
Modified:
    team/oej/siptransfer/   (props changed)
    team/oej/siptransfer/channels/chan_sip.c
Propchange: team/oej/siptransfer/
------------------------------------------------------------------------------
    automerge = http://edvina.net/training/
Propchange: team/oej/siptransfer/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Propchange: team/oej/siptransfer/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Apr  6 02:45:45 2006
@@ -1,1 +1,1 @@
-/trunk:1-17063
+/trunk:1-17102
Modified: team/oej/siptransfer/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/siptransfer/channels/chan_sip.c?rev=17741&r1=17740&r2=17741&view=diff
==============================================================================
--- team/oej/siptransfer/channels/chan_sip.c (original)
+++ team/oej/siptransfer/channels/chan_sip.c Thu Apr  6 02:45:45 2006
@@ -4628,8 +4628,9 @@
 	add_header_contentLength(&resp, 0);
 	/* If we are cancelling an incoming invite for some reason, add information
 		about the reason why we are doing this in clear text */
-	if (p->method == SIP_INVITE && p->owner && p->owner->hangupcause) {
+	if (p->method == SIP_INVITE && msg[0] != '1' && p->owner && p->owner->hangupcause) {
 		char buf[10];
+
 		add_header(&resp, "X-Asterisk-HangupCause", ast_cause2str(p->owner->hangupcause));
 		snprintf(buf, sizeof(buf), "%d", p->owner->hangupcause);
 		add_header(&resp, "X-Asterisk-HangupCauseCode", buf);
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits
    
    
More information about the asterisk-commits
mailing list