[OpenSIPS-Users] Issue Drouting prefix overlap

Mickael HUBERT mickael at winlux.fr
Tue Mar 5 11:44:26 CET 2013


Hi Nick,
call drouting command if(!do_routing(...)) with another priority ?

how ?

thanks

Le 05/03/2013 11:12, Nick Altmann a écrit :
> By using another priority.
>
> --
> Nick
>
>
> 2013/3/5 Mickael HUBERT <mickael at winlux.fr <mailto:mickael at winlux.fr>>
>
>     Hi list,
>     I have a issue in my drouting module.
>
>     In fact I have many prefixes and overlap is not OK to me.
>
>     _Example:_
>
>     Prefix: 3669 (In France is premium rate number, 4 digits is
>     talking clock service)
>
>     Prefix: 36.... (is prefix hungary)
>
>     In my dr_rule table is:
>
>     /INSERT INTO `dr_rules` (`ruleid`, `groupid`, `prefix`, `timerec`,
>     `priority`, `routeid`, `gwlist`, `attrs`, `description`) VALUES//
>     //(1, '1', '3', '', 1, '', '#1', NULL, 'All numbers 3XYZ'),//
>     //(2, '1', '36', '', 1, '', '#2', NULL, 'Hungary prefixe');/
>
>     If +36 1 398 0344 (to hungary destination), Drouting module choose
>     id 2 no ?
>     if 3669 (to clock service), drouting module choose id 2 too ?
>
>     how to differentiate this two prefixes?
>
>     thanks in advance
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto: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/20130305/de290d60/attachment.htm>


More information about the Users mailing list