[asterisk-users] TDM410E card, 1 FXO module - how to dial Out

Mojo with Horan & Company, LLC mojo at horanappraisals.com
Thu Apr 3 19:41:47 CDT 2008


sean darcy wrote:
> Kevin P. Fleming wrote:
>   
>> Mojo with Horan & Company, LLC wrote:
>>
>>     
>>> P.S.  If you can't dial seven digit numbers in your area, but you miss 
>>> it, you can restore that behavior if you feel like selecting a default 
>>> area code:
>>>
>>> exten => _NXXXXXX,1,Dial(Zap/1/907${EXTEN},,TWK)
>>>
>>> Here, if I dial a seven digit number, asterisk dials 907 followed by my 
>>> seven digits out the phone line.
>>>       
>> Well, sort of. This will also trigger if you dial the first 7 digits of
>> a 10-digit number from a device that doesn't dial 'en bloc', since there
>> is no longer any way to distinguish 7-vs-10 digit numbers by the number
>> pattern. In other words, this will work fine if you are dialing from a
>> SIP phone, but not if you are dialing from an analog phone.
>>
>>     
>
> With some trepidation, I can say my home system doesn't seem to work 
> that way. Using an analog phone, I can deal 3, 7, 10 or 11 numbers and 
> all goes as I expect.
>
> After seeing this post, I wondered why :). It seems * waits about 4 secs 
> to see if all the numbers are dialed. Or is it some fortuitous order of 
> the includes ( vaguely remembering posts about how extensions were 
> searched)?
>
> extensions.conf:
> [internal]
> include => outbound-local
> include => outbound-long-distance
> include => office-extensions
>
> [outbound-local]
> exten => _NXXXXXX,1,Answer()
> exten => _NXXXXXX,n,Dial(${faxline}/${EXTEN})
>
> [outbound-long-distance]
> exten =>_1NXXNXXXXXX,1,Answer()
> exten =>_1NXXNXXXXXX,n,Dial(iax2/office/${EXTEN})
>
> exten =>_NXXNXXXXXX,1,Answer()
> exten =>_NXXNXXXXXX,n,Dial(iax2/office/${EXTEN})
>
> [office-extensions]
> exten =>_1XX,1,Answer()
> exten =>_1XX,n,Dial(iax2/office/${EXTEN})
>
>
>
> _______________________________________________
> -- 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
>   

I was led to believe that it WOULD wait a few seconds, unless the '!' 
match character was on there in the dialplan.  Kevin led me to believe 
otherwise though.  Any further input, anyone?
Moj



More information about the asterisk-users mailing list