Re: [SR-Users] Modify Reply Created

2018-01-25 Thread Daniel Tryba
On Wed, Jan 24, 2018 at 01:57:26PM -0500, Alex Balashov wrote: > > Right now i'm doing a redirect server and i'm trying to sinalize the > > redirection using a 3xx reply. In order to do that, according the RFC I > > need to add a Contact and Diversion header. How do i do that ? i'm creating > > the

Re: [SR-Users] Modify Reply Created

2018-01-25 Thread Duarte Rocha
Thanks for the reply, that works :) What about if I want to delete or overwrite an header ? I need to change to To Header. If i use append_reply() will it overwrite ? Cheers ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://li

Re: [SR-Users] Modify Reply Created

2018-01-24 Thread Alex Balashov
Hi Duarte, On Wed, Jan 24, 2018 at 06:55:27PM +, Duarte Rocha wrote: > Right now i'm doing a redirect server and i'm trying to sinalize the > redirection using a 3xx reply. In order to do that, according the RFC I > need to add a Contact and Diversion header. How do i do that ? i'm creating >

[SR-Users] Modify Reply Created

2018-01-24 Thread Duarte Rocha
Hey everyone. Right now i'm doing a redirect server and i'm trying to sinalize the redirection using a 3xx reply. In order to do that, according the RFC I need to add a Contact and Diversion header. How do i do that ? i'm creating the reply with send_reply() but i can't seem to find a way to add t