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"; append_branch("sip:34201@domain.org");
first main ($ru) INVITE resolve to contact of ip phone INVITE sip:34200@172.16.3.7:5060 but branch doesnt' resolve INVITE sip:34201@domain.org
Is there any way to resolve it?