Re: [OpenSIPS-Users] do_routing not populating variables

2020-07-27 Thread Răzvan Crainea
Hi, John! According to your snippet, you're logging the attributes when do_routing fails - well, if do_routing fails, it means that id didn't find any rule, gateway or carrier that is able to handle the call, therefore it is normal that all of them are NULL. Best regards, Răzvan Crainea Ope

[OpenSIPS-Users] do_routing not populating variables

2020-07-21 Thread John Kiniston
Running 2.4 I'm not sure if I'm calling do_routing right, I'm using it in a test. if(!do_routing("1","","","$avp(rule_attrs_pvar)","$avp(gw_attrs_pvar)","$avp(carrier_attrs_pvar)")){ I log what I get back but nothing is populated. xlog("L_INFO"," return codes $avp(rule_attrs_pvar) $avp(gw_attrs_p