Juha,

o Juha Heinanen on 02/19/2014 08:45 AM:
> Juha Heinanen writes:
> 
>> and incoming invite has
>>
>> P-App-Name: sbc.
>> P-App-Param: profile=opensipg.
>> P-Call-Control: ctl;From=Anonymous <sip:[email protected]>.
>> P-Call-Control: ctl;headerfilter=whitelist;header_list=Diversion|P-App-Name.
>> P-Call-Control: ctl;append_headers=P-App-Name: sbc.
>>
>> then outgoing invite only has
>>
>> From: Anonymous 
>> <sip:[email protected]>;tag=3FB69F6F-53045CC2000C011F-B43FFB70.
>>
>> and this is missing:
>>
>> P-App-Name: sbc
>>
>> this used to work with some earlier version of master.
> 
> ok, i found explanation of why P-App-Name header is missing.  i had
> added to profile=opensipg this:
> 
> append_headers="P-Original-Call-ID: $ci\r\n"
try with
append_headers="P-Original-Call-ID: $ci"

\r\n should only be used between two headers:
append_headers="P-Original-Call-ID: $ci\r\nP-Otherfancyhdr: value"

Otherwise the header is something like
"P-Original-Call-ID: $di\r\n
P-App-Name: sbc"

which will be expanded to two newlines:

"P-Original-Call-ID: asdcs123

P-App-Name: sbc"

Stefan
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to