Indeed, the dr_number_routing MI command does not accept wildcards in the partition definition, as the docs state.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 04/06/2018 01:36 PM, Pasan Meemaduma via Users wrote:
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 ?


On Friday, April 6, 2018, 3:56:04 PM GMT+5:30, Kirill Galinurov <k.galinu...@gmail.com> wrote:


Yes of course.
opensipsctl fifo dr_number_routing mts 1 91956858923 where mts is partition name -

Matched Prefix:: 91956
       CARRIER:: D4701
withouth partition name

opensipsctl fifo dr_number_routing  1 91956858923
 400 Bad parameter

And with * as partition name

opensipsctl fifo dr_number_routing * 1 91956858923
400 Bad parameter




2018-04-06 13:01 GMT+03:00 Pasan Meemaduma <pasan...@ymail.com <mailto:pasan...@ymail.com>>:

    Hi Kirill,

    did you try opensipsctl fifo dr_number_routing <groupid>
    <number_pattern_to_search>

    In my setup

    Ex: opensipsctl fifo dr_number_routing 1 0412345678

    Matched Prefix:: 04
            CARRIER:: xx
            CARRIER:: xx






    On Friday, April 6, 2018, 3:18:03 PM GMT+5:30, Kirill Galinurov
    <k.galinu...@gmail.com <mailto:k.galinu...@gmail.com>> wrote:


    Hi all. How to use fifo command dr_number_routing to search all
    partitions for matching?
    Like do_routing("*:1") in script.

    ______________________________ _________________
    Users mailing list
    Users@lists.opensips.org <mailto:Users@lists.opensips.org>
    http://lists.opensips.org/cgi- bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>




_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to