[OpenSIPS-Users] DRouting and Range of numbers

Ali Pey alipey at gmail.com
Fri Mar 27 16:55:15 CET 2015


Hi Razvan.

Thank you for the response.

Regards,
Ali Pey


On Fri, Mar 27, 2015 at 4:29 AM, Răzvan Crainea <razvan at 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-74a6eda3cceb&cm_type=link&cm_link=03e3d0aa-2062-4b6e-8fdd-39912818fef5&cm_destination=http://www.opensips-solutions.com>www.opensips-solutions.com <https://contactmonkey.com/api/v1/tracker?cm_session=40f28dbf-89e8-4f38-a459-74a6eda3cceb&cm_type=link&cm_link=639b844a-b05b-4c11-a1de-ce2953ee3d5c&cm_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 at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users <https://contactmonkey.com/api/v1/tracker?cm_session=40f28dbf-89e8-4f38-a459-74a6eda3cceb&cm_type=link&cm_link=78632d7c-23df-4813-89c7-51ef94e4e0c7&cm_destination=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
> <https://contactmonkey.com/api/v1/tracker?cm_session=40f28dbf-89e8-4f38-a459-74a6eda3cceb&cm_type=link&cm_link=696c17d8-6ba1-461d-aa32-6b8b4f7fd15e&cm_destination=http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150327/ab648939/attachment.htm>


More information about the Users mailing list