[Home]

Summary:ASTERISK-06121: SIPAddHeader add only 1 header
Reporter:adomjan (adomjan)Labels:
Date Opened:2006-01-18 07:03:07.000-0600Date Closed:2006-01-22 02:31:20.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I tested this method abot 2 month ago, and worked.
Now I want to use with 1.2 svn branch...

   -- Executing SIPAddHeader("IAX2/195.38.96.8:4569-2", "P-Asserted-Identity: <sip:0619994557@195.56.13.210:5060;user=phone>") in new stack
   -- Executing SIPAddHeader("IAX2/195.38.96.8:4569-2", "Privacy: id") in new stack

from sip debug:

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Privacy: id
Content-Type: application/sdp
Content-Length: 242
Comments:By: Olle Johansson (oej) 2006-01-18 07:14:09.000-0600

Will try to test this today

By: adomjan (adomjan) 2006-01-20 02:50:17.000-0600

workaround:
   -- Executing Set("SIP/15800100-d58f", "_SIPADDHEADER02=P-Asserted-Identity: <sip:0615800100@195.56.13.210:5060;user=phone>") in new stack
   -- Executing Set("SIP/15800100-d58f", "_SIPADDHEADER01=Privacy: id") in new stack
it works

the sipaddheader application set only the _SIPADDHEADER01 variable

By: Tilghman Lesher (tilghman) 2006-01-22 02:31:20.000-0600

Fixed in 1.2.