[Asterisk-Users] Dialing Delay {Scanned}

Steven Critchfield critch at basesys.com
Mon Jan 24 13:26:13 MST 2005


On Mon, 2005-01-24 at 13:47 -0600, Eric Wieling wrote:
> David Shaw wrote:
> 
> > exten => 510,1,Dial(SIP/510,20)
> > exten => 510,2,Voicemail,510
> > 
> > exten => 8500,1,VoicemailMain
> > 
> > exten => _NXXXXXX,1,Dial(${TRUNKL4}/${EXTEN})
> > exten => _NXXXXXX,2,Dial(${TRUNKL2}/${EXTEN})
> > exten => _1NXXNXXXXXX,1,Dial(${TRUNKL4}/${EXTEN})
> > exten => _1NXXNXXXXXX,2,Dial(${TRUNKL2}/${EXTEN})
> > exten => _01144XXXXXXXXXX,1,Dial(${TRUNKL3}/${EXTEN})
> 
> You have overlapping patterns.  How does Asterisk know that you are 
> dialing "510" and not "510-1234"?  It doesn't.  That's why people use 
> "dial 9" and never start their extensions with "9".
> 
> Try:
> exten => _9NXXXXXX,1,Dial(${TRUNKL4}/${EXTEN:1})
> exten => _9NXXXXXX,2,Dial(${TRUNKL2}/${EXTEN:1})
> exten => _91NXXNXXXXXX,1,Dial(${TRUNKL4}/${EXTEN:1})
> exten => _91NXXNXXXXXX,2,Dial(${TRUNKL2}/${EXTEN:1})
> exten => _901144XXXXXXXXXX,1,Dial(${TRUNKL3}/${EXTEN:1})
> 
> Also you do not want to just blindly dial the call again in priority 
> 2.  You want to find out what the status was of the previous Dial (See 
> "show application dial", README.variables, and the stdexen macro in 
> the extensions.conf.sample.

You also missed what appears to be another set of problems.

> IAXINFO=guest                                   ; IAXtel username/password
> TRUNKL1=Zap/1                                   ; Vonage line 1
> TRUNKL2=Zap/2                                   ; Vonage line 2
> TRUNKL3=Zap/3                                   ; Lingo line 1
> TRUNKL4=Zap/4                                   ; Verizon home line

Specifically, it appears that he is using a TDM card to dial an external
adapter for Vonage. So that means you enter the digits yourself, then
asterisk enters them on the analog line to the adapter, then it has to
signal it out to the far side. So there is a possibility that there is
also a pattern match problem on the vonage SIP device
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list