If you want to do user location lookup for all branches, not only for
r-uri, use:
-
https://www.kamailio.org/docs/modules/stable/modules/registrar.html#registr…
instead of just lookup(...).
Cheers,
Daniel
On 08.09.17 10:36, Aidar Kamalov wrote:
After I add route(DISPATCH) to branch_route branch
calls are going
throught asterisk
# Manage outgoing branches
branch_route[MANAGE_BRANCH] {
xdbg("new branch [$T_branch_idx] to $ru\n");
xnotice("BRANCH: $rm $ru [$ci]");
route(DISPATCH);
route(NATMANAGE);
}
but if I set
$ru = "sip:34200@domain.org <mailto:sip%3A34200@domain.org>";
append_branch("sip:34201@domain.org
<mailto:sip%3A34201@domain.org>");
first main ($ru) INVITE resolve to contact of ip phone INVITE
sip:34200@172.16.3.7:5060 <http://sip:34200@172.16.3.7:5060>
but branch doesnt' resolve INVITE sip:34201@domain.org
<mailto:sip%3A34201@domain.org>
Is there any way to resolve it?
--
Aydar A. Kamalov
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training -
www.asipto.com
Kamailio World Conference -
www.kamailioworld.com