Click Here To Visit Voxalot  
 

Go Back   Voxalot / SIP Broker Support Forums > Voxalot Forums > Voxalot General
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

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

   

Reply
 
LinkBack Thread Tools Display Modes
Old 05-30-2008, 08:46 AM   #1 (permalink)
ridouan
Junior Member
 
Join Date: May 2008
Location: Netherlands
Posts: 6
Thanked 2 Times in 1 Post
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



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


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8