Re: [OpenSIPS-Users] opensipsctl fifo dr_number_routing command and partitions

2018-04-12 Thread Bogdan-Andrei Iancu
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 
 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 >:


Hi Kirill,

did you try opensipsctl fifo dr_number_routing 


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
> 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 
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


Re: [OpenSIPS-Users] opensipsctl fifo dr_number_routing command and partitions

2018-04-06 Thread Kirill Galinurov
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 :

> Hi Kirill,
>
> did you try opensipsctl fifo dr_number_routing 
> 
>
> 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> 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
> 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


Re: [OpenSIPS-Users] opensipsctl fifo dr_number_routing command and partitions

2018-04-06 Thread Pasan Meemaduma via Users
Hi Kirill,
did you try opensipsctl fifo dr_number_routing  
 
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 
 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
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