<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 gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, May 22, 2025 at 11:16 AM <a href="mailto:spce@lard.at">spce@lard.at</a> <<a href="mailto:spce@lard.at">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" 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">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>