Hello, I am trying to upgrade from kamailio 1.4 to 4.0.
I am having an issue with call forwarding: I send the call to a subscriber (location) and if it doesn't answer, there is a failure_route to do the forward. It is something like this:
failure_route[1] { $ru = "sip:0313241342@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?
Regards, Takeshi
mayamatakeshi writes:
failure_route[1] { $ru = "sip:0313241342@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.
-- juha
On Sun, Oct 27, 2013 at 4:08 PM, Juha Heinanen jh@tutpro.com wrote:
mayamatakeshi writes:
failure_route[1] { $ru = "sip:0313241342@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@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