[Asterisk-Users] Prepending for 9NxxNxxx - adding the area code
for 7 digit dialing
Charlie Hedlin
charlie at hedlin.com
Mon Jun 14 07:31:10 MST 2004
Wouldn't this keep the 9 since you didn't use {EXTEN}:1 to include the
StripMSD portion?
I found this thread interesting, as it apears simpler than the dialplan
I used:
exten => _9NXXXXXX,1,StripMSD,1
exten => _NXXXXXX,2,Prefix,1512
exten => _1512NXXXXXX,3,Dial(${TRUNK1}/${EXTEN})
exten => _1512NXXXXXX,4,Dial(${TRUNK2}/${EXTEN})
exten => _1512NXXXXXX,5,Congestion
usedcanon wrote:
>looks fine to me
>
>Umar
>
>-----Original Message-----
>From: asterisk-users-admin at lists.digium.com
>[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Jacob Hunter
>Sent: 12 June 2004 12:48
>To: asterisk-users at lists.digium.com
>Subject: Re: [Asterisk-Users] Prepending for 9NxxNxxx - adding the area
>code for 7 digit dialing
>
>
>Does this look right
>
>exten => _9NXXXXXX,1,SetCallerID(831-XXX-XXXX)
>exten => _9NXXXXXX,2,Dial(IAX2/username at NuFone/1831${EXTEN})
>exten => _9NXXXXXX,3,Congestion
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
More information about the asterisk-users
mailing list