<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Nick,<br>
      call drouting command if(!do_routing(...)) with another priority ?<br>
      <br>
      how ?<br>
      <br>
      thanks<br>
      <br>
      Le 05/03/2013 11:12, Nick Altmann a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote
cite="mid:CAJOe1EMUc4vRWuiJa8Q2X0vahiwqhv96=SKxNMSPO_bAYZf=-w@mail.gmail.com"
      type="cite">
      <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">&lt;<a moz-do-not-send="true"
                href="mailto:mickael@winlux.fr" target="_blank">mickael@winlux.fr</a>&gt;</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 moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <a moz-do-not-send="true"
                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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>