[SR-Users] How to remove custom header after adding one
Marius Zbihlei
mariuszbi at gmail.com
Sun Feb 24 19:40:20 CET 2013
Hello,
I can see two variants:
1. Move the append_hf in the branch route so you can have a per branch
decision
2. call mg_apply_change() from textops to immediately apply the changes
after append_hf()
http://kamailio.org/docs/modules/devel/modules/textopsx.html#textopsx.msg_apply_changes
You can call remove_hf() on the changed message.
Cheers,
Marius
On Sun, Feb 24, 2013 at 6:19 PM, Javi Gallart <jgallart at systemonenoc.com>wrote:
> Hello
>
> you may try to do the remove/add operations in each branch_route
>
> Regards
>
> Javi
> -----Original Message-----
> From: Mino Haluz <mino.haluz at gmail.com>
> Sender: sr-users-bounces at lists.sip-router.org
> Date: Sun, 24 Feb 2013 19:06:29
> To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
> Mailing List<sr-users at lists.sip-router.org>
> Reply-To: "SIP Router - Kamailio \(OpenSER\) and SIP Express Router
> \(SER\) -
> Users Mailing List" <sr-users at lists.sip-router.org>
> Subject: [SR-Users] How to remove custom header after adding one
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130224/74a811aa/attachment.htm>
More information about the sr-users
mailing list