Hi,
this is my cfg:
if(do_routing("0")){ $avp(tdr)=$avp(dr_attrs); } else { $avp(tdr)="1"; }
subst_user('/(.*)/$avp(Ssrvindx)/'); xlog("L_CRIT","$C(rg) group is $avp(tdr)$C(xx)\n"); if(!do_routing("$avp(tdr)")){ xlog("L_CRIT","$C(rg)No TDR is found for $avp(DID) with Index $avp(Ssrvindx)$C(xx)\n"); t_reply("404", "Not found"); exit; }
in the log, i get the following: 1(25799) CRITICAL: <script>: group is 8 1(25799) ERROR: drouting [drouting.c:706]: failed to get group id
when i change the do_routing("$avp(tdr)") to do_routing("8"), everything works..... it looks like with the avp (although it is 8) it does not work. any ideas?