[Asterisk-Users] Dial Application priorities
Senad Jordanovic
senad at boltblue.com
Wed Mar 31 08:03:01 MST 2004
Hi,
I am trying to get priority + 101 to work with Dial application.
My dial plan is like this:
[dial-mobile-peak]
exten => s,1,AbsoluteTimeout(${ABSOLUTETIMEOUT})
exten => s,2,Dial(${TRUNKONE}${CALLEDNO:1})
exten => s,103,AbsoluteTimeout(${ABSOLUTETIMEOUT})
exten => s,104,Dial(${TRUNKTWO}${CALLEDNO:1})
I have changed password for first trunk to simulate trunk failure. Trunk
one tries to dial, it gets rejected by remote peer and then it just
defaults to look for timeout (exten => t, Something).
CLI displays this after dial command for trunk one:
Mar 31 15:59:37 WARNING[196621]: chan_iax2.c:4901 socket_read: Call
rejected by 213.166.5.130: No authority found
-- Hungup 'IAX2[magout]/16384'
== No one is available to answer at this time
Mar 31 15:59:47 WARNING[344084]: pbx.c:1839 ast_pbx_run: Timeout, but no
rule 't' in context 'dial-mobile-peak'
I can make trunk two to dial out if I put timeout extension to (exten =>
t,Goto (Someother-context)), but that is not ideal solution.
Anyone has idea why above priority( s,103) in dial plan does not work?
Any suggestions, pointers etc. would be greatly appreciated.
SJ
More information about the asterisk-users
mailing list