Execution of a branch_route[X] block is independent of
lookup("location") -- it is a matter of using t_on_branch("X") before
t_relay().
If you look at the default kamailio.cfg, then you see that lookup
location is used as well as t_on_branch().
A simplified snippet example would be:
request_rout
I need to handle every route with rtpengine depending websocket it or not
(branch_route[1] at my first message). Lookup keep handling close with
branch route. So I can not understand how send to branch_route with lookup
function.
2015-02-10 14:17 GMT+03:00 Daniel-Constantin Mierla :
> Hello,
>
Hello,
r-uri itself is a branch. Practically, an append_branch() in
request_route is adding a new destination in addition to r-uri address.
Maybe you can explain why lookup("location") is not working for you, as
it is updates the branch for r-uri as well as adds the other contacts as
extra branch
Hello I use this version of kamailio
kamailio -v
version: kamailio 4.3.0-dev3 (x86_64/linux) 8cdbe7
flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_