[OpenSIPS-Users] drouting get_group_id behavior

Maciej Bylica mbsip at gazeta.pl
Tue Feb 25 18:43:29 CET 2014


Hello,

I have the same problem on 1.9 rel.
+----+-------------+----------+-----------+----------------+
| id | username | domain | groupid | description |
+----+-------------+----------+-----------+----------------+
|  4 | .*                 | 10.10.10.5            |       0      | TEST
 |
+----+-------------+--------+---------+-----------------------+

unfortunately i am getting
ERROR:drouting:get_group_id: no group for user "221112233"@"10.10.10.5"

db is asking for
select groupid from dr_groups where username='221112233' AND
domain='10.10.10.5'

How to define ANY username to have this working?

Thanks
Mac.


2013-09-26 19:48 GMT+02:00 Александр Мустафин <mustafin.aleksandr at gmail.com>
:

> I'm using 1.8.1 version. I read docs for 1.10.x version and don't see any
> difference.
>
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com
>
>
>
>
> 26.09.2013, в 18:52, Nick Cameo <symack at gmail.com> написал(а):
>
> Not a bug. Which version of OpenSIPS are you using? If it is 1.8/9, it does
> not support regular expressions for dr_groups. dr_groups maps users to
> routes. Not really groups....
>
> Nick.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140225/3877f4c2/attachment.htm>


More information about the Users mailing list