<div dir="ltr">Hi everyone<div><br></div><div>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.<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"></div></div><div><br></div><div>At the moment I am thinking I'll have to run a custom DB query so I have 2 questions:</div><div><br></div><div>1. Is there a better way to do this?</div><div>2. If not, what is the best way to run custom DB queries?</div><div><br></div><div>I have been reading through the drouting() documentation but that hasn't helped.</div><div><br></div><div>OpenSIPS 2.4.7</div><div><br></div><div>Many thanks!</div><div>Mark.</div><div><br></div></div>