<div dir="ltr">By using another priority.<br><div class="gmail_extra"><br clear="all"><div style>--<br>Nick</div>
<br><br><div class="gmail_quote">2013/3/5 Mickael HUBERT <span dir="ltr"><<a href="mailto:mickael@winlux.fr" target="_blank">mickael@winlux.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi list,<br>
I have a issue in my drouting module.<br>
<br>
In fact I have many prefixes and overlap is not OK to me.<br>
<br>
<u>Example:</u><br>
<br>
Prefix: 3669 (In France is premium rate number, 4 digits is talking
clock service)<br>
<br>
Prefix: 36.... (is prefix hungary)<br>
<br>
In my dr_rule table is:<br>
<br>
<i>INSERT INTO `dr_rules` (`ruleid`, `groupid`, `prefix`, `timerec`,
`priority`, `routeid`, `gwlist`, `attrs`, `description`) VALUES</i><i><br>
</i><i>(1, '1', '3', '', 1, '', '#1', NULL, 'All numbers 3XYZ'),</i><i><br>
</i><i>(2, '1', '36', '', 1, '', '#2', NULL, 'Hungary prefixe');</i><br>
<br>
If +36 1 398 0344 (to hungary destination), Drouting module choose
id 2 no ?<br>
if 3669 (to clock service), drouting module choose id 2 too ?<br>
<br>
<span lang="en"><span>how
to differentiate</span> <span>this two</span> <span>prefixes?</span></span><br>
<br>
thanks in advance<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>