asterisk user dupont
2005-Nov-19 03:38 UTC
[Asterisk-Users] cmd dial timeout don't work in asterisk 1.2 ?
Hello.
My dial timeout worked perfectly on the last asterisk but not on the new.
Here is my extension.conf :
exten => s,1,Answer()
exten => s,2,noop(${CALLERID})
exten => s,3,Set(TIMEOUT(response)=20)
exten => s,4,Background(test)
exten => s,5,Dial(Zap/2|${CALLERID},15)
exten => s,6,GoTo(personnedispo,s,1)
exten => s,106,GoTo(tousoccupe,s,1)
When it start to dial, it nevers stops.... and never go to 6 or 106.
Do you know why ?
Thank you for your help.
here is the output :
*CLI> -- Starting simple switch on 'Zap/4-1'
-- Executing Answer("Zap/4-1", "") in new stack
-- Executing NoOp("Zap/4-1", "0675123456") in new stack
-- Executing Set("Zap/4-1", "TIMEOUT(response)=20") in new
stack
-- Response timeout set to 20
-- Executing BackGround("Zap/4-1", "test") in new stack
-- Playing 'test' (language 'fr')
-- Executing Dial("Zap/4-1", "Zap/2|0675123456|15") in new
stack
-- Called 2
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
-- Zap/2-1 is ringing
Matt Riddell
2005-Nov-19 07:18 UTC
[Asterisk-Users] cmd dial timeout don't work in asterisk 1.2 ?
asterisk user dupont wrote:> Hello. > > My dial timeout worked perfectly on the last asterisk but not on the new. > > Here is my extension.conf : > > exten => s,1,Answer() > exten => s,2,noop(${CALLERID}) > exten => s,3,Set(TIMEOUT(response)=20) > exten => s,4,Background(test) > exten => s,5,Dial(Zap/2|${CALLERID},15) > exten => s,6,GoTo(personnedispo,s,1) > exten => s,106,GoTo(tousoccupe,s,1)Ok problems with the above: 1) exten => s,5,Dial(Zap/2|${CALLERID},15) should not contain the | - that is a separator for parameters, so you are setting a timeout of callerid and options of 15. 2) If you would like to have +101 bridging you need to use the j option to the dial command now. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)