[OpenSIPS-Users] how to modify contact header
Jesus Rodriguez
jesusr at voztele.com
Mon Mar 9 16:24:45 CET 2009
Hi Kiste,
> For the 302 handling I need an option to modify the contact header.
> For
> example from 1234567 at domain.de to 1234567 at another.domain
>
> I can access the $ct variable in the reply route, but I see no
> chance to
> modify it.
>
> Any hints?
You can do something like this:
append_to_reply("Contact: <sip:1234567 at another.domain>\r\n");
sl_send_reply("302","Temporary moved");
exit;
Saludos
JesusR.
------------------------------------
Jesus Rodriguez
VozTelecom Sistemas, S.L.
jesusr at voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------
More information about the Users
mailing list