[OpenSIPS-Users] Unconditional call forward

Aymane Sabbane aymane.sabbane at gmail.com
Mon Jul 16 12:39:18 EDT 2018


Hi Guys,

I am trying to configure Unconditional call forward on my OpenSIPs machine
using below lines on script:
if(avp_db_load("$ru","$avp(callfwd)")){
$ru=$avp(s:callfwd);
xlog("forwarded to $avp(callfwd)");
route(relay);
exit;
}

I used after this "opensipctl avp add" and i was able to see my callfwd
rule under usr_preferences database.

When I call the extension that needs to be forwarded opensips challenges my
invite twice, you can see it in the attached screenshot

Do you guys have any idea why the server behaves like that?

Best regards,
*------------------------------------------------------*
*SABBANE Aymane*
VoIP & Network/Telecom Engineer
Mobile: + (212) 06 62 14 45 66
*------------------------------------------------------*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180716/82d37e1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4314 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20180716/82d37e1d/attachment.png>


More information about the Users mailing list