[Spce-user] Who is deleting my header?
Nikita Stashkov
snl at sipmobile.org
Tue Feb 11 03:44:20 EST 2014
Hi,
I need to add a custom header to SIP packet. I found two places in proxy.cfg where I can do it. And header is added:
This is send by proxy to port 5080:
Content-Type: application/sdp
Content-Length: 577
P-Accountcode: <0>
P-Caller-UUID: b02d9fe2-5e73-42ef-b37d-21f8565ad0c6
P-Callee-UUID: 0
P-Asserted-Identity: <sip:386100 at sipmobile.org>
P-Acc: 1234
P-Called-Party-ID: <sip:500 at 144.76.238.125>
P-App-Param: ;aleg_sst_enable=no;sst_enable=no
P-App-Name: sbc
P-NGCP-Caller-Info: <sip:snl at sipmobile.org>;ip=82.149.12.169;port=49686
P-NGCP-Callee-Info: <sip:500 at 144.76.238.125>;ip=144.76.238.125;port=5060
P-D-Uri: sip:127.0.0.1:5060;received='sip:144.76.238.125:5060;lr;transport=udp'
But after this my headers are deleted. This is send from 5080 to 5060 (lb?).
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKaTuoba4z;rport
From: <sip:386100 at sipmobile.org>;tag=33755ED9-52F94D6500008F1B-6C6CE700
To: <sip:500 at 144.76.238.125>
CSeq: 10 INVITE
Call-ID: GbQpD35d4njw-8cbmnpDcIaEjKUqAZel_b2b-1
Contact: <sip:127.0.0.1:5080>
Route: <sip:127.0.0.1:5060;received='sip:144.76.238.125:5060;lr;transport=udp';lr>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
P-Asserted-Identity: <sip:386100 at sipmobile.org>
P-D-Uri: sip:127.0.0.1:5060;received='sip:144.76.238.125:5060;lr;transport=udp'
Content-Type: application/sdp
Content-Length: 577
Can not find a place where my headers are deleted.
Regards,
Nikita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20140211/f6e7ac9f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2459 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20140211/f6e7ac9f/attachment.p7s>
More information about the Spce-user
mailing list