<div dir="ltr"><div>Hi Guys,</div><div><br></div><div>I am trying to configure Unconditional call forward on my OpenSIPs machine using below lines on script:</div><div>if(avp_db_load("$ru","$avp(callfwd)")){</div><div>$ru=$avp(s:callfwd);</div><div>xlog("forwarded to $avp(callfwd)");</div><div>route(relay);</div><div>exit;<br></div><div>}</div><div><br></div><div>I used after this "opensipctl avp add" and i was able to see my callfwd rule under usr_preferences database.<br></div><div><br></div><div>When I call the extension that needs to be forwarded opensips challenges my invite twice, you can see it in the attached screenshot</div><div><div><img src="cid:ii_jjohu40i0_164a3f5751303474" width="200" height="208"></div><div><br></div><div>Do you guys have any idea why the server behaves like that?<br></div><br></div><div>Best regards,<br></div><div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b style="font-family:georgia,serif;font-size:large"><span style="color:rgb(68,68,68)">------------------------------------------------------</span></b><div><b>SABBANE Aymane</b><br></div><div>VoIP & Network/Telecom Engineer<br></div><div>Mobile: + (<span><font face="georgia, serif">212</font></span>) 06 62 14 45 66<br><b style="font-family:georgia,serif;font-size:large"><span style="color:rgb(68,68,68)">------------------------------------------------------</span></b><br></div></div></div></div></div></div></div></div>
</div></div>