[OpenSIPS-Users] opensipsctl fifo dr_number_routing command and partitions

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Apr 12 15:57:20 EDT 2018


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.galinurov at 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 <pasandev at ymail.com 
> <mailto:pasandev at 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.galinurov at gmail.com <mailto:k.galinurov at 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 at lists.opensips.org <mailto:Users at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180412/aa608e5d/attachment.html>


More information about the Users mailing list