[Kamailio-Users] Issue with Carrierroute in 1.4

Uriel Rozenbaum uriel.rozenbaum at gmail.com
Mon Mar 30 19:59:57 CEST 2009


Henning,

Let me attach the full cfg for clarity.

The flags are as you said; how can I do revert_uri before failure route? you
mean within failure_route[20] do a revert_uri first thing before any further
processing?

Thanks,
Uriel

On Mon, Mar 30, 2009 at 2:44 PM, Henning Westerholt <
henning.westerholt at 1und1.de> wrote:

> On Monday 30 March 2009, Uriel Rozenbaum wrote:
> > I'm using this piece of code as failure route:
> >
> >                         append_branch();
>
> Hi Uriel,
>
> do you do a "revert_uri()" somewhere before entering the failure_route? And
> can you check if you perhaps reset the failed flag somewhere later in your
> cfg?
>
> > [..]
> > And right in the main route i have:
> >
> > if (is_method("INVITE|BYE|CANCEL"))
> >         {
> >                 setflag(1);
> >                 setflag(2);
> >         }
> >
> > In order to bill all messages.
> >
> > Is there any error in the failure logic?
>
> Flag 1 is the successful, and 2 the failed flag?
>
> Cheers,
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090330/7275d0a4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 19102 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090330/7275d0a4/attachment.obj>


More information about the sr-users mailing list