[OpenSIPS-Devel] [opensips] strange behavior use_next_gw (#425)

Edwin-Hoff notifications at github.com
Wed Mar 18 13:53:23 CET 2015


OK, I changed the code and added the xlog header. First I tried without the 'fix' ($ru = "sip:" + $rU + "@" + $rd;) and than I tried with the 'fix' so you can see the difference.

 ### $ru = "sip:" + $rU + "@" + $rd;
 if(route_to_carrier("$avp(droute)"))
        {
		xlog("L_ERROR", " INFO : current destination is $ru, next available are $(avp(dr_ruri)[*])\n");



### $ru = "sip:" + $rU + "@" + $rd;
INFO : current destination is sip:123431208110001 at 41.127.34.19, next available are sip:876512343120811 at 212.5.221.223, sip:876512343120811 at 212.5.221.224

$ru = "sip:" + $rU + "@" + $rd;
INFO : current destination is sip:123431208110001 at 41.127.34.19, next available are sip:876531208110001 at 212.5.221.223, sip:876531208110001 at 212.5.221.224

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/425#issuecomment-82955771
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150318/c8b248f4/attachment.htm>


More information about the Devel mailing list