[Asterisk-Users] Dialing Delay {Scanned}
Eric Wieling
eric at fnords.org
Mon Jan 24 12:47:14 MST 2005
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.
More information about the asterisk-users
mailing list