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" ?
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
> 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
> after calling uac_* in RELAY so uac_* shouldn't get called for a second
> anywhere, but this is something I'll have to debug further before making
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users