![]() |
|
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Voxalot General Voxalot discussion, tips, tricks and suggestions. Talk about them here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
![]() Join Date: May 2008
Location: Netherlands
Posts: 6
Thanked 2 Times in 1 Post ![]() |
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>. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|