<div dir="auto">+1</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 22 May 2025, 18:43 Brett Nemeroff, <<a href="mailto:brett@nemeroff.com">brett@nemeroff.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I do not believe this is supported. I would use a different module to regex the domain and associate that to a drouting groupid. Then pass that to your do_routing().<div>-Brett</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 22, 2025 at 11:16 AM <a href="mailto:spce@lard.at" target="_blank" rel="noreferrer">spce@lard.at</a> <<a href="mailto:spce@lard.at" target="_blank" rel="noreferrer">spce@lard.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear people,<br>
<br>
about module drouting:<br>
<br>
Is regexp inside the dr_groups possible? The type of field "username" <br>
and "domain" in db-schema is "string". When trying regexp for username <br>
and domain (for example ".*") and calling the do_routing function <br>
without a parameter this is the result:<br>
<br>
May 22 17:42:28 opensips-test /usr/sbin/opensips[11119]: <br>
ERROR:drouting:get_group_id: no group for user "xxx"@"xxx"<br>
<br>
I'm asking because under <br>
<a href="https://www.opensips.org/Documentation/Tutorials" rel="noreferrer noreferrer" target="_blank">https://www.opensips.org/Documentation/Tutorials</a> no. 10 theres a <br>
tutorial where regexp is used.<br>
<br>
<br>
Best Regards,<br>
<br>
Malte<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>