[OpenSIPS-Users] Dynamic Routing - assigning GroupID to gateway without authentication

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Jul 17 14:58:14 CEST 2009


Hi Julien,

There are two ways to use the group ID:
   1) determine the grp ID from script logic and pass it to the 
do_routing() function as parameter
   2) pass no param to do_routing() function and it will use the 
dr_group table to detect the group ID based on caller (From hdr).

So, you could use the option 1) and based on the inbound GW, set a 
certain group ID.

Regards,
Bogdan

Julien Chavanton wrote:
> Hi, I have started to use Dynamic Routing and I find it very 
> conviniant so far, thanks and congradulation !
>  
> I have a question, GroupID is configured by user name, I wanted to 
> assign group id to specific gateway, so that traffic comming from a 
> gateway could be controlled like traffic comming from a user, with a 
> specific set of rules etc.
>  
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list