[asterisk-users] freepbx dial plan, add and remove at the same time

Mat Stace mps at colewood.net
Fri Sep 22 05:36:54 MST 2006


Hi Mike,

It's a while since I did this one myself, but I was doing the exact same
thing when using voipbuster (or whichever of it's sisters services I was
using at the time).

I'm thinking that in the dial command you want

+44{EXTEN:1}

HTH,

Mat


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Mike Williams
> Sent: 22 September 2006 10:32
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] freepbx dial plan, add and remove 
> at the same time
> 
> 
> Hi,
> 
> I'm try to setup a dial plan in freepbx to work properly with 
> ENUM lookups. However, the only example I can find that works 
> in the UK is somewhat complex. 
> (http://www.voipuser.org/forum_topic_6651.html)
> Basically, it has 3 outbound routes (local, national, 
> internation) to strip 
> certain leading digits in a specific order, before a trunk 
> does some more 
> work.
> 
> I got very close to doing it with a single outbound route 
> (the default, strip 
> the 9, pass the rest) and a single trunk.
> Where I got stuck was changing 01234567890 into 441234567890.
> I did see this example:
> 61+0|NXXXXXXX
> Which to me suggests it will add 61 and strip a leading 0, 
> but either way 
> round it didn't work (even with the correct 10 digits).
> 
> Can a dial plan infact add and remove numbers at the same 
> time? If so, how?
> 
> Asterisk 1.2.11, FreePBX 2.1.2.
> 
> Thanks
> 
> -- 
> Mike Williams
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.7/454 - Release 
> Date: 21/09/2006
>  
> 



More information about the asterisk-users mailing list