[SR-Users] loose_route() problem

2014-04-01 Thread Juha Heinanen
i figured out why loose_route() did not work as expected. it is because the party that sent the bye, had messed up its request uri and replaced the host:port of remote target with host:port of the proxy causing loose_route() to work in strict mode. teaching: if you see these headers in a request

[SR-Users] loose_route() problem

2014-04-01 Thread Juha Heinanen
my proxy is listening at udp/tcp ip:port 192.98.102.30:5060 and my script has this for in-dialog requests: route [IN_DIALOG_REQUEST] { # handle in-dialog request if (!loose_route()) { xlog("L_INFO", "Loose route failed on $hdr(route)\n"); ... exit; }; xlog("L_