[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 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] cmd dial timeout don't work in asterisk
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. So what do i have to use instead of | ? As i am not in office today, i can not test.. but it seem curios to write : exten = s,5,Dial(Zap/2${CALLERID},15) no ? I think i must use a separator ? 2) If you would like to have +101 bridging you need to use the j option to the dial command now. I didn't know that. Thank you. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] In France asterisk never detect hang up. Why ?
Hello. I am sorry my english is not good at all. When i have a call from a fxo port of a tdm400p, asterisk waits one minute before detecting that the caller has hang up his phone. I have in my extension conf : answer background (the prompt is 40 second long) dial (on fxs port) confgured for 30 seconds ringing. if the caller hang up at the begining of the background prompt, asterisk waits until he make ring the phone on the dial command for the all 30 secondes before detecting the hang up. Do you know if there is a way to repair that ? here is what i see on asterisk when the caller hang up IMMEDITALY after the test prompt begins : *CLI -- Starting simple switch on 'Zap/4-1' -- Executing Answer(Zap/4-1, ) in new stack -- Executing NoOp(Zap/4-1, 0675458745) in new stack -- Executing Set(Zap/4-1, TIMEOUT(response)=20) in new stack -- Response timeout set to 20 -- Executing BackGround(Zap/4-1, barge) in new stack -- Playing 'test' (language 'fr') -- Executing Dial(Zap/4-1, Zap/2|0675458745|30) 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 answered Zap/4-1 -- Attempting native bridge of Zap/4-1 and Zap/2-1 -- Hungup 'Zap/2-1' == Spawn extension (reseau, s, 5) exited non-zero on 'Zap/4-1' -- Executing Hangup(Zap/4-1, ) in new stack == Spawn extension (reseau, h, 1) exited non-zero on 'Zap/4-1' -- Hungup 'Zap/4-1' In my zapata.conf i have : language=fr default=fr relaxdtmf=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 cidsignalling=v23 usecallerid=yes group = 1 context=reseau signalling=fxs_ks callprogress=yes busydetect=yes callerid=asreceived busycount=5 pulse=yes In my zaptel.conf i have : loadzone=fr defaultzone=fr fxoks=1-3 fxsks=4 If anyone can see what is wrong he will really help me. thank you. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Re: Asterisk en france
Bonjour, J'ai changé en tel que ci dessous, et j'ai toujours le même probleme. Il detect toujours pas le raccroché. I have changed to this new file, and i still have the same problem. Still not detecting hang up. [channels] language=fr default=fr relaxdtmf=yes rxgain=0.0 txgain=0.0 usecallerid=yes cadence=250,1500,1500,3000,1500,3000 echocancel=yes echocancelwhenbridged=yes echotraining=800 group = 1 context=reseau signalling=fxs_ks callprogress=no busydetect=yes callerid=asreceived busycount=3 pulse=yes channel = 4 group = 2 callgroup=2 pickupgroup=2 context=local signalling=fxo_ks callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes useincomingcalleridonzaptransfer=yes 2005/11/18, Dave Cotton [EMAIL PROTECTED]: Chez moi j'ai [channels] language=en callwaiting=yes callwaitingcallerid=yes callprogress=no busydetect=yes ;changed 17.03.04 from no busycount=7 ; added as above immediate=no usecallerid=yes threewaycalling=yes transfer=yes cancallforward=yes echocancel=yes echocancelwhenbridged=yes echotraining=800 rxgain=0.0 txgain=0.0 musiconhold=default ;faxdetect=incoming cadence=250,1500,1500,3000,1500,3000 Chez toi je me demande pourquoi cidsignalling=v23 callprogress=yes pulse=yes mes penses. -- Dave Cotton [EMAIL PROTECTED] ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users