+1 On Thu, 22 May 2025, 18:43 Brett Nemeroff, <br...@nemeroff.com> wrote:
> 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(). > -Brett > > > On Thu, May 22, 2025 at 11:16 AM s...@lard.at <s...@lard.at> wrote: > >> Dear people, >> >> about module drouting: >> >> Is regexp inside the dr_groups possible? The type of field "username" >> and "domain" in db-schema is "string". When trying regexp for username >> and domain (for example ".*") and calling the do_routing function >> without a parameter this is the result: >> >> May 22 17:42:28 opensips-test /usr/sbin/opensips[11119]: >> ERROR:drouting:get_group_id: no group for user "xxx"@"xxx" >> >> I'm asking because under >> https://www.opensips.org/Documentation/Tutorials no. 10 theres a >> tutorial where regexp is used. >> >> >> Best Regards, >> >> Malte >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users