<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Really depends on what you want</p>
    <ul>
      <li>carrierroute is great for prefix based routing but lacks
        multiple information output</li>
      <ul>
        <li>if you want to use carrierroute on A and B, I would use it
          in cascade mode: first carrierroute call on A number, and use
          the result of the first carrierroute ($rd) as context for the
          second call B number. That is a kind of an elegant hack<br>
        </li>
      </ul>
      <li>I would use DIALPLAN for maximum flexibility with regex<br>
      </li>
    </ul>
    Emmanuel<br>
    <br>
    <div class="moz-cite-prefix">Le 2018-02-02 à 15:00, Grant
      Bagdasarian a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:5d7e09055afa453bb1463053bf0c8a9b@cm.nl">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="NL">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="NL"><o:p> </o:p></span></p>
        <p class="MsoNormal">Which module would be best suited for
          routing calls based on A and B numbers?<o:p></o:p></p>
        <p class="MsoNormal">We’re currently using the LCR module, with
          some additional htables to add this functionality, but I was
          wondering if there is a module which does exactly this? Or
          perhaps a combination of modules?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Regards,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <table class="MsoNormalTable" cellspacing="0" cellpadding="0"
          border="0">
          <tbody>
            <tr>
              <td style="padding:0cm 0cm 1.5pt 0cm">
                <p class="MsoNormal"><span
                    style="font-size:16.0pt;color:#1657EA">Grant
                    Bagdasarian</span><span
                    style="font-size:12.0pt;color:#1657EA"><o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding:0cm 0cm 15.0pt 0cm">
                <p class="MsoNormal"><span
                    style="font-size:12.0pt;color:black">Senior
                    Developer</span><span
                    style="font-size:9.0pt;color:black"><o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding:0cm 0cm 1.5pt 0cm">
                <p class="MsoNormal"><span
                    style="font-size:12.0pt;color:#1657EA"><a
                      href="tel:+31765727054" moz-do-not-send="true"><span
                        style="color:blue">+31765727054</span></a></span><span
                    style="font-size:9.0pt;color:#1657EA"><o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding:0cm 0cm 15.0pt 0cm">
                <p class="MsoNormal"><span
                    style="font-size:12.0pt;color:#1657EA"><a
                      href="https://cm.com" moz-do-not-send="true"><span
                        style="color:blue">cm.com</span></a></span><span
                    style="font-size:9.0pt;color:#1657EA"><o:p></o:p></span></p>
              </td>
            </tr>
            <tr>
              <td style="padding:3.75pt 0cm 16.5pt 0cm">
                <p class="MsoNormal"><img
                    style="width:1.5625in;height:.6354in"
                    id="_x0000_i1025"
                    src="cid:part3.A1478516.A54054AA@ives.fr" class=""
                    height="61" width="150" border="0"><o:p></o:p></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal"><span lang="NL"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>