Re: [OpenSIPS-Users] DRouting and Range of numbers

2015-03-27 Thread 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
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] DRouting and Range of numbers

2015-03-27 Thread Ali Pey
Hi Razvan.

Thank you for the response.

Regards,
Ali Pey


On Fri, Mar 27, 2015 at 4:29 AM, Răzvan Crainea raz...@opensips.org 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 
 https://contactmonkey.com/api/v1/tracker?cm_session=40f28dbf-89e8-4f38-a459-74a6eda3ccebcm_type=linkcm_link=03e3d0aa-2062-4b6e-8fdd-39912818fef5cm_destination=http://www.opensips-solutions.comwww.opensips-solutions.com
  
 https://contactmonkey.com/api/v1/tracker?cm_session=40f28dbf-89e8-4f38-a459-74a6eda3ccebcm_type=linkcm_link=639b844a-b05b-4c11-a1de-ce2953ee3d5ccm_destination=http://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 
 listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
  
 https://contactmonkey.com/api/v1/tracker?cm_session=40f28dbf-89e8-4f38-a459-74a6eda3ccebcm_type=linkcm_link=78632d7c-23df-4813-89c7-51ef94e4e0c7cm_destination=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
 https://contactmonkey.com/api/v1/tracker?cm_session=40f28dbf-89e8-4f38-a459-74a6eda3ccebcm_type=linkcm_link=696c17d8-6ba1-461d-aa32-6b8b4f7fd15ecm_destination=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