Way make it complicated. Make shore Asterisk match internal numbers first. Else external number. Trixbox works like that by default. No nead for 9 to call external numbers. //Mattias
On Fri, Jan 9, 2009 at 12:07 AM, Thczv F. Thczv <[email protected]>wrote: > When I set up my Asterisk box at home I didn't want to have to dial 9 > to dial off premises, so I gave all my local phones three digit > extensions with this format: 1[1,0]*. My thought is that there are no > area codes that start with 0 or 1, so if I use those numbers, I can > create 20 local extensions that can be dialed with 3 digits, and not > have to use a timeout when dialing long distance. If I dial 1, then > anything other than 0 or 1, Asterisk knows I am dialing long distance. > If I start with any number other than 1, Asterisk knows I am dialing > a local or local toll call. > > This has worked fine for me (as far as I know). Is there some flaw I > am not seeing? I see a lot of small businesses that require a 9 to > dial out, even though they don't have very many extensions. Couldn't > they do what I did and not have to dial 9? > > I ask because we are having a problem where I work with our Cisco 7940 > phones adding an extra 1 sometimes, which gets the local Sheriff upset > (too many 911 calls). > > Thanks, > Dave > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Mattias Andersson -------------------------------- Storskiftesvägen 6 145 60 Norsborg m. +46-70-799 44 41 h. +46-8-641 38 97 Email: [email protected]
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
