[SR-Users] Issue with failure_route on kamailio 4.0
mayamatakeshi
mayamatakeshi at gmail.com
Sun Oct 27 08:23:42 CET 2013
On Sun, Oct 27, 2013 at 4:08 PM, Juha Heinanen <jh at tutpro.com> wrote:
> mayamatakeshi writes:
>
> > failure_route[1] {
> > $ru = "sip:0313241342 at 192.168.2.2"
> > append_branch();
> > t_relay();
> > }
> >
> > However, the INVITE is sent to both the subscriber location and the new
> > branch.
> > So, is it now necessary to somehow to "drop" the original branch?
> > If so, how do I do that?
>
> try leaving append_branch() out.
>
Thanks. That didn't work: the INVITE was sent only to the original branch
(subscriber location).
But it helps with this:
failure_route[1] {
$ru = "sip:0313241342 at 192.168.2.2:5060"
$du = "sip:" + $rd + ":" + $rp;
t_relay();
}
So, use the same branch that failed and just change the destination uri.
That worked.
Regards,
Takeshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131027/f8e836b9/attachment-0002.html>
More information about the sr-users
mailing list