[OpenSIPS-Users] rewrite Contact in "200 OK" responses

Miguel Oyarzo miguelaustro at gmail.com
Thu Dec 4 06:34:42 CET 2014


Hi,

Can I alter/rewrite the SIP header in a 200 OK response, after INVITE?

Scenario:


Endpoint --> (INVITE) --> Opensips -- (INVITE)--> Asterisk (voicemail)
Endpoint <-- (200 OK) <-- Opensips <-- (200 OK)<-- Asterisk (voicemail)

In Opensips, I would like to re-write $hdr(Contact) and add an extra field
in the "200 OK" response coming from Asterisk.

Any idea?
Thanks

-- 
"Efficiency is doing things right; effectiveness is doing the right things
(Peter Drucker)"

Miguel Oyarzo
DevOps & VoIP Engineer
Linux User: # 483188 - counter.li.org
http://au.linkedin.com/in/mikeaustralia
Melbourne, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141204/f003cbe9/attachment.htm>


More information about the Users mailing list