[SR-Users] append_branch + dispatcher
Daniel-Constantin Mierla
miconda at gmail.com
Fri Sep 8 11:35:22 CEST 2017
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#registrar.f.lookup_branches
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 at domain.org <mailto:sip%3A34200 at domain.org>";
> append_branch("sip:34201 at domain.org <mailto:sip%3A34201 at domain.org>");
>
> first main ($ru) INVITE resolve to contact of ip phone INVITE
> sip:34200 at 172.16.3.7:5060 <http://sip:34200@172.16.3.7:5060>
> but branch doesnt' resolve INVITE sip:34201 at domain.org
> <mailto:sip%3A34201 at domain.org>
>
> Is there any way to resolve it?
>
> --
> Aydar A. Kamalov
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170908/3908360a/attachment.html>
More information about the sr-users
mailing list