Re: [SR-Users] How to remove custom header after adding one

2013-02-27 Thread Mino Haluz
msg_apply_changes made a little mess in every SIP message, so I am trying to avoid it at all cost.. rpid manipulation in branch route worked like a charm, thanks. On Sun, Feb 24, 2013 at 7:40 PM, Marius Zbihlei wrote: > Hello, > > I can see two variants: > 1. Move the append_hf in the branch r

Re: [SR-Users] How to remove custom header after adding one

2013-02-24 Thread Marius Zbihlei
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

Re: [SR-Users] How to remove custom header after adding one

2013-02-24 Thread Javi Gallart
Hello you may try to do the remove/add operations in each branch_route Regards Javi -Original Message- From: Mino Haluz Sender: sr-users-boun...@lists.sip-router.org Date: Sun, 24 Feb 2013 19:06:29 To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing