Currently if in the opensips configuration, if I make a call to do_routing()
without any parameters it will automatically query dr_groups table to
determine the group. If it cannot find a group corresponding to the caller ,
it fails do_routing and the calls fails.

 

Is there a way to specify a default group for any callers , who do not have
an entry in dr_groups ?

 

I wanted to implement specific routing for certain callers without need to
add an entry for each and every caller in dr_groups table.

 

I can always do something like 

 

If(!do_routing())

{

                // failed try default group

                If(!do_routing("0"))

{

                ...

}

}

 

Is that the way to implement this or is there a better way ?

 

Anil

 

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to