asterisk user dupont
2005-Nov-18 05:32 UTC
[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.
f6hqz-m@hamwlan.net
2005-Nov-23 21:32 UTC
[Asterisk-Users] In France asterisk never detect hang up. Why ?
Hello everybody :-) This are my first line french zapata.conf settings. I have 3 like this, with only rx/tx gain a little bit different levels. Running well. Best Regards, Francois BERGERET, France. usecallerid=yes hidecallerid=no usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes echotraining=yes rxgain=2 txgain=6 group=1 callgroup=1 pickupgroup=1 immediate=no busydetect=yes busycount=3 busypattern=500,500 signalling = fxs_ks channel => 1 -----Message d'origine----- De : asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] De la part de asterisk user dupont Envoy? : vendredi 18 novembre 2005 13:33 ? : asterisk-users@lists.digium.com Objet : [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