<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Indeed, the dr_number_routing MI command does not accept
      wildcards in the partition definition, as the docs state.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
    <div class="moz-cite-prefix">On 04/06/2018 01:36 PM, Pasan Meemaduma
      via Users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1478030676.2398112.1523010983085@mail.yahoo.com">
      <div style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">
        <div>I don't think it accept wildcard match via fifo command,
          doc indicates partition name is required only group id can be
          omitted. May be a dev can help ?<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div id="yahoo_quoted_3342269559" class="yahoo_quoted">
          <div style="font-family:'Helvetica Neue', Helvetica, Arial,
            sans-serif;font-size:13px;color:#26282a;">
            <div> On Friday, April 6, 2018, 3:56:04 PM GMT+5:30, Kirill
              Galinurov <a class="moz-txt-link-rfc2396E" href="mailto:k.galinurov@gmail.com"><k.galinurov@gmail.com></a> wrote: </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>
              <div id="yiv6253727981">
                <div>
                  <div dir="ltr">Yes of course.  
                    <div><span style="font-family:monospace;"><span
                          style="color:rgb(0,0,0);background-color:rgb(255,255,255);">opensipsctl
                          fifo dr_number_routing mts 1 91956858923 where
                          mts is partition name -</span><br clear="none">
                      </span>
                      <div><span style="font-family:monospace;"><span
                            style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><span
                              style="font-family:monospace;"><span
                                style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><br
                                  clear="none">
                              </span></span></span></span></div>
                      <div><span style="font-family:monospace;"><span
                            style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><span
                              style="font-family:monospace;"><span
                                style="color:rgb(0,0,0);background-color:rgb(255,255,255);">Matched
                                Prefix:: 91956
                              </span><br clear="none">
                                     CARRIER:: D4701<br clear="none">
                              <span style="font-family:monospace;"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255);"> </span></span></span></span></span><font
                          color="#000000" face="monospace">withouth
                          partition name</font></div>
                      <div><span style="font-family:monospace;"><span
                            style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><span
                              style="font-family:monospace;"><span
                                style="font-family:monospace;"><span
                                  style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><br
                                    clear="none">
                                </span></span></span></span></span></div>
                      <div><span style="font-family:monospace;"><span
                            style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><span
                              style="font-family:monospace;"><span
                                style="font-family:monospace;"><span
                                  style="color:rgb(0,0,0);background-color:rgb(255,255,255);">opensipsctl
                                  fifo dr_number_routing  1 91956858923
                                     </span><br clear="none">
                                 400 Bad parameter<br clear="none">
                                <br clear="none">
                              </span>And with * as partition name</span></span></span></div>
                      <div><span style="font-family:monospace;"><span
                            style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><span
                              style="font-family:monospace;"><br
                                clear="none">
                            </span></span></span></div>
                      <div><span style="font-family:monospace;"><span
                            style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><span
                              style="font-family:monospace;"><span
                                style="font-family:monospace;"><span
                                  style="color:rgb(0,0,0);background-color:rgb(255,255,255);">
                                  opensipsctl fifo dr_number_routing * 1
                                  91956858923    </span><br clear="none">
                                400 Bad parameter<br clear="none">
                                <br clear="none">
                              </span><br clear="none">
                            </span><br clear="none">
                          </span></span></div>
                    </div>
                  </div>
                  <div class="yiv6253727981gmail_extra"><br clear="none">
                    <div class="yiv6253727981gmail_quote">2018-04-06
                      13:01 GMT+03:00 Pasan Meemaduma <span dir="ltr"><<a
                          rel="nofollow" shape="rect"
                          ymailto="mailto:pasandev@ymail.com"
                          target="_blank"
                          href="mailto:pasandev@ymail.com"
                          moz-do-not-send="true">pasandev@ymail.com</a>></span>:<br
                        clear="none">
                      <div class="yiv6253727981yqt3674875504"
                        id="yiv6253727981yqt32611">
                        <blockquote class="yiv6253727981gmail_quote"
                          style="margin:0 0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex;">
                          <div>
                            <div style="font-family:Helvetica Neue,
                              Helvetica, Arial,
                              sans-serif;font-size:16px;">
                              <div>Hi Kirill,</div>
                              <div><br clear="none">
                              </div>
                              <div>did you try <span>opensipsctl fifo
                                  dr_number_routing <groupid>
                                  <number_pattern_to_search> </span></div>
                              <div><span><br clear="none">
                                </span></div>
                              <div><span>In my setup </span></div>
                              <div><span><br clear="none">
                                </span></div>
                              <div><span>Ex: <span>opensipsctl fifo
                                    dr_number_routing 1 0412345678</span></span></div>
                              <div><span><span><br clear="none">
                                  </span></span></div>
                              <div><span><span><span>Matched Prefix:: 04<br
                                        clear="none">
                                              CARRIER:: xx<br
                                        clear="none">
                                              CARRIER:: xx<br
                                        clear="none">
                                      <br clear="none">
                                    </span><br clear="none">
                                  </span><br clear="none">
                                </span><br clear="none">
                              </div>
                              <div><br clear="none">
                              </div>
                              <div><br clear="none">
                              </div>
                              <div
                                class="yiv6253727981m_-6338055141412534074yahoo_quoted"
id="yiv6253727981m_-6338055141412534074yahoo_quoted_3895421527">
                                <div style="font-family:'Helvetica
                                  Neue', Helvetica, Arial,
                                  sans-serif;font-size:13px;color:#26282a;"><span
                                    class="yiv6253727981"> </span>
                                  <div> On Friday, April 6, 2018,
                                    3:18:03 PM GMT+5:30, Kirill
                                    Galinurov <<a rel="nofollow"
                                      shape="rect"
                                      ymailto="mailto:k.galinurov@gmail.com"
                                      target="_blank"
                                      href="mailto:k.galinurov@gmail.com"
                                      moz-do-not-send="true">k.galinurov@gmail.com</a>>
                                    wrote: </div>
                                  <div><br clear="none">
                                  </div>
                                  <div><br clear="none">
                                  </div>
                                  <div><span class="yiv6253727981"></span>
                                    <div
                                      id="yiv6253727981m_-6338055141412534074yiv7721245452">
                                      <div dir="ltr">Hi all. How to use
                                        fifo command dr_number_routing 
                                        to search all partitions for
                                        matching?
                                        <div>Like <span
                                            style="font-family:monospace;"><span
style="color:rgb(0,0,0);background-color:rgb(255,255,255);">do_routing("*:1")
                                              in script.</span><br
                                              clear="none">
                                          </span><br clear="none">
                                          <div> </div>
                                        </div>
                                      </div>
                                    </div>
                                    ______________________________
                                    _________________<br clear="none">
                                    Users mailing list<br clear="none">
                                    <a rel="nofollow" shape="rect"
                                      ymailto="mailto:Users@lists.opensips.org"
                                      target="_blank"
                                      href="mailto:Users@lists.opensips.org"
                                      moz-do-not-send="true">Users@lists.opensips.org</a><br
                                      clear="none">
                                    <a rel="nofollow" shape="rect"
                                      target="_blank"
                                      href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                                      moz-do-not-send="true">http://lists.opensips.org/cgi-
                                      bin/mailman/listinfo/users</a><br
                                      clear="none">
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                    <br clear="none">
                  </div>
                </div>
              </div>
            </div>
          </div>
        </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>