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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
