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