Re: [OpenSIPS-Users] do_routing function first argument

2017-01-09 Thread Răzvan Crainea
Hello, Khalil! If you check the documentation of the do_routing function[1], you will see that the group is not mandatory. If it exists, then it will use the route set within that group. If it does not exist, the group is determined from the dr_group table in the database - this is just a

Re: [OpenSIPS-Users] do_routing function first argument

2017-01-08 Thread Khalil Khamlichi
Well you get to my point, shouldn't it be in the database then ? whats the point in having it hard coded inside the config file ? On Sun, Jan 8, 2017 at 1:24 PM, Johan De Clercq wrote: > I think that's route set id. > > On 08 Jan 2017 12:12 PM, "Khalil Khamlichi"

Re: [OpenSIPS-Users] do_routing function first argument

2017-01-08 Thread Johan De Clercq
I think that's route set id. On 08 Jan 2017 12:12 PM, "Khalil Khamlichi" wrote: > Hi eveyone, > > I have been trying to understand the first argument to the d > o_routing("1","",,"$var(rule_attrs)") > > Can anyone please give some explanation of the first argument to

[OpenSIPS-Users] do_routing function first argument

2017-01-08 Thread Khalil Khamlichi
Hi eveyone, I have been trying to understand the first argument to the d o_routing("1","",,"$var(rule_attrs)") Can anyone please give some explanation of the first argument to this function ? what does the "1" stands for and where does it fit in the logic back in the database setup (in my