[SR-Users] carrierroute cr_route fails with pvars
Ole Kaas
obk at tet.dk
Sun May 2 20:34:53 CEST 2010
Hello,
Any idea why this fails:
$var(carrier) = "carriername";
$var(domainname) = "domain";
if(cr_route( "$var(carrier)", "$var(domainname)", "$rU", "$rU", "call_id"))
with tis in the log:
INFO: carrierroute [cr_func.c:598]: uri domain was rewritten to sip:domain, carrier 2, domain 2
While this:
if(cr_route( "carriername", "$var(domainname)", "$rU", "$rU", "call_id"))
and this:
if(cr_route( "$var(carrier)", "domain", "$rU", "$rU", "call_id"))
works as expected?
Kamailio 3.0.0
/Ole
More information about the sr-users
mailing list