DRouting and Range of numbers

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DRouting and Range of numbers

Ali Pey
Hello,

Is it possible to have a rule with a range of numbers in Dynamic routing?

For instance I want 8881231231 to 5 to be routed to a specific gw. Can I do this with one rule only?
I don't want 8881231236 to 9 to be routed to that gateway.

Thanks,
Ali Pey


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: DRouting and Range of numbers

Răzvan Crainea
Hi, Ali!

Unfortunately drouting works only prefix based, so unless you write specific rules for the 5 numbers (i.e. add rules for each number from 8881231231 to 8881231235 in the table), you cannot achieve this.

Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 03/26/2015 08:29 PM, Ali Pey wrote:
Hello,

Is it possible to have a rule with a range of numbers in Dynamic routing?

For instance I want 8881231231 to 5 to be routed to a specific gw. Can I do this with one rule only?
I don't want 8881231236 to 9 to be routed to that gateway.

Thanks,
Ali Pey



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: DRouting and Range of numbers

Ali Pey
Hi Razvan.

Thank you for the response.

Regards,
Ali Pey


On Fri, Mar 27, 2015 at 4:29 AM, Răzvan Crainea <[hidden email]> wrote:
Hi, Ali!

Unfortunately drouting works only prefix based, so unless you write specific rules for the 5 numbers (i.e. add rules for each number from 8881231231 to 8881231235 in the table), you cannot achieve this.

Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 03/26/2015 08:29 PM, Ali Pey wrote:
Hello,

Is it possible to have a rule with a range of numbers in Dynamic routing?

For instance I want 8881231231 to 5 to be routed to a specific gw. Can I do this with one rule only?
I don't want 8881231236 to 9 to be routed to that gateway.

Thanks,
Ali Pey



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users