[OpenSIPS-Users] Compare $fU to drouting prefix

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Apr 16 15:55:02 EST 2020


Hi Mark,

What kind of matching you want to do between $fU and the dr prefixes ? 
You want to do the same as what drouting() does with $rU ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com

On 4/16/20 6:14 PM, Mark Farmer wrote:
> Hi everyone
>
> I am looking for a way to compare $fU in INVITE to the matching 
> drouting() prefix of another group and retrieve the rule_attrs from 
> that rule.
>
> At the moment I am thinking I'll have to run a custom DB query so I 
> have 2 questions:
>
> 1. Is there a better way to do this?
> 2. If not, what is the best way to run custom DB queries?
>
> I have been reading through the drouting() documentation but that 
> hasn't helped.
>
> OpenSIPS 2.4.7
>
> Many thanks!
> Mark.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200416/3324d527/attachment.html>


More information about the Users mailing list