Hello,

On 12/12/11 10:45 AM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:

cannot test it for now personally, but what you get if you do:

route(TEST_ROUTE_MINUS_ONE);

$var(r) = $rc;

xlog("returned code by route minus one is: $var(r)\n");

Maybe this will give some leads I can follow in the code...
daniel,

i correctly get:

Dec 12 11:42:37 sip /usr/sbin/sip-proxy[1308]: ERROR: returned code by route 
minus one is: -1

so it is only the test

if (route(TEST_ROUTE_MINUS_ONE) == -1) ...

that fails.
ok, so looks like IF with a mod function returning negative needs investigation. I will look over it soon.

Cheers,
Daniel



--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to