[OpenSIPS-Users] do_routing with failover to shorter prefix

Vic Jolin adjolin at gmail.com
Thu Jun 25 14:47:50 EST 2020


Hi,

So I have this in my opensips.cfg

if ( !do_routing($(avp(drgID){s.int}),,,,,$var(gw_attributes)) ) {
send_reply(404,"No Route found");
exit;
}

And I know that do_routing will match on the longer prefix on dr_rules
table first.

My question is

Now after failing on all the routes, can we still do another do_routing
with shorter prefix matching?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200625/fc34fa90/attachment.html>


More information about the Users mailing list