[SR-Users] Modify Refer-To header
Daniel-Constantin Mierla
miconda at gmail.com
Tue Aug 5 13:20:29 CEST 2014
Hello,
you have to use remove_hf(...) and insert_hf(...) in this case -- see
the readme of textops module for details about these two functions.
Cheers,
Daniel
On 05/08/14 12:41, Stefan Kohlhauser wrote:
> Hello,
> I have a subnet with a Kamailio and some phones. Unfortunately these
> phones are the only ones in the network that are unaware of the
> prefixes for the sip usernames. These prefixes should be added by
> Kamailio. For INVITEs its no problem as $ru/$rU are writeable.
> Problem: If I send a REFER message to an other phone I want to add a
> prefix to the username in the Refer-To header. However, the $rt pseudo
> variable is read only.
> Question: How can Kamailio modify the username of the URI in the
> Refer-To header?
> Best regards and thanks in advance,
> Stefan
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140805/f802aec3/attachment.html>
More information about the sr-users
mailing list