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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to