[SR-Users] uac_replace_from

Kelvin Chua kelchy at gmail.com
Fri Apr 4 23:23:49 CEST 2014

what i did was to put uac_replace_from() in branch_route instead of

however, i also tried it on route[RELAY] but it is still the same problem.

i placed an xlog() just before uac_replace_from() to make sure that it is
called twice while doing ngrep to inspect the outgoing packet.
using this experiment, i can conclude that it is indeed just once.

I am curious on your method daniel, what do you mean by
"store the changes in avps and commit the changes" ?

Kelvin Chua

On Fri, Apr 4, 2014 at 1:46 AM, Daniel Tryba <daniel at pocos.nl> wrote:

> On Friday 04 April 2014 09:53:48 Alex Balashov wrote:
> > I've seen this when calling uac_replace_from twice, which you cannot do.
> I ran into this before, and based upon recommendations here I decided to
> store
> the changes in avps and commit the changes in route[RELAY].
> That works fine until something ends up in a failure route (redirects
> after a
> fr_inv_timeout). It appears I get double changes even though I reset the
> avps
> after calling uac_* in RELAY so uac_* shouldn't get called for a second
> time
> anywhere, but this is something I'll have to debug further before making
> more
> statements.
> --
> POCOS B.V. - Croy 9c - 5653 LC Eindhoven
> Telefoon: 040 293 8661 - Fax: 040 293 8658
> http://www.pocos.nl/   - http://www.sipo.nl/
> K.v.K. Eindhoven 17097024
> _______________________________________________
> 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/20140404/9ab46728/attachment.html>

More information about the sr-users mailing list