[asterisk-users] Add Privacy: id to SIP-invite

Jonas Kellens
Wed, 05 Jan 2011 11:30:15 -0000

Hello list,

is it possible to add the field Privacy: id to a SIP INVITE message ?


INVITE sip:32444666600 at 1.2.3.4:5060 SIP/2.0
Via: SIP/2.0/UDP1 .2.3.4:5060
From: "R3211133333" <sip:3211133333 at 1.2.3.4>;tag=2096790244
To: <sip:32444666600 at 1.2.3.4>
Call-ID: 3b040826e909d311880a0090330605a0 at 192.168.12.40
<mailto:3b040826e909d311880a0090330605a0 at 192.168.12.40>
CSeq: 34677 INVITE
Contact: <sip:32444666600 at 1.2.3.4:5060>
Allow:
REGISTER,SUBSCRIBE,NOTIFY,INVITE,ACK,PRACK,OPTIONS,BYE,CANCEL,REFER,INFO,UPDATE
Content-Length: 203
Content-Type: application/sdp
Max-Forwards: 69
Supported: replaces,answermode,100rel
User-agent: (innovaphone IP800/6.00 sr2-hotfix16 [09-60901.35/424/110])
*Privacy: id*

How can I do this in the Asterisk dialplan ?? SIPAddHeader ??


Kind regards,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20110105/4974fbde/attachment.htm>