Click Here To Visit SIP Broker  

Go Back   Voxalot / SIP Broker Support Forums > Voxalot Forums > Voxalot General

Voxalot General Voxalot discussion, tips, tricks and suggestions. Talk about them here.

 
 
Reply
Thread Tools Display Modes
Unread 05-30-2008, 08:46 AM   #1
ridouan
Junior Member
 
Join Date: May 2008
Location: Netherlands
Posts: 8
Thanks: 1
Thanked 2 Times in 1 Posts
ridouan is on a distinguished road
Default Smart call and rewrite only rules

Hi,

Is it possible to have rules in the dial plan that only perform rewriting and continue processing rules? Basically I have to duplicate every rule I have due to being unable to perform rewriting.
To clarify what I mean, consider this subset of my dial rules:

1: if _0[1-578]x. then rewrite to +31${EXTEN:1} via VSP1
2. if _0031[1-578]x. then rewrite to +${EXTEN:2} via VSP1
3. if _06x. then rewrite to +31${EXTEN:1} via VSP2
3. if _00316x. then rewrite to +31${EXTEN:2} via VSP2

---------------

It would be nice if could do the following:


1. IF _0Z. then rewrite to +31${EXTEN:1} and continue processing
2. IF _+319x. then DROP
3. IF _+316x. then via VSP1
4. IF _+31x. then via VSP2

and so on... The idea is to transform all numbers (regardless of how the user dialed the number) into a universal format of +<COUNTRYCODE><NUMBER>.
ridouan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:09 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.