[asterisk-users] INVITE Privacy Information

Cyprus VoIP voipcy at gmail.com
Mon Jul 27 08:28:47 CDT 2009


Hello all,

I would like to use Asterisk to add/modify SIP headers in the INVITE 
message, to include Privacy information, if the INVITE includes a *67 
prefix (or another predefined prefix).

That's an example of the INVITE I get:
/INVITE sip:*6700112233445 at 192.168.1.100 SIP/2.0
From: "123456789"<sip:*123456789*@192.168.1.100>;tag=333333333
To: <sip:*6700112233445 at 192.168.1.100>
/
These are the sip headers I need to add to the INVITE:
/P-Asserted-Identity: <sip:*123456789*@192.168.1.100:5060>
Remote-Party-ID: 
<sip:*123456789*@192.168.1.100:5060>;party=calling;screen=yes;privacy=full
Privacy: id/

And I need to change the "From" to 
"/"Anonymous"<sip:Anonymous at 192.168.1.100>/" and to remove the "*67" 
prefix from the "INVITE" and "To" lines.

How can I do it?

Thanks.

Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090727/f8d42015/attachment.htm 


More information about the asterisk-users mailing list