<div>You can also try busydetect=yes, busycount=4 in zapata.conf.</div>
<div> </div>
<div><em>;<br>; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D<br>; etc, it can be useful to perform busy detection either in an effort to<br>; detect hangup or for detecting busies<br>;
<br>busydetect=yes<br>;<br>; On trunk interfaces (FXS) it can be useful to attempt to follow the progress<br>; of a call through RINGING, BUSY, and ANSWERING. If turned on, call<br>; progress attempts to determine answer, busy, and ringing on phone lines.
<br>; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers,<br>; so don't count on it being very accurate. Also, it is ONLY configured for<br>; standard U.S. tones<br>;<br>busycount=4</em></div>
<div> </div>
<div> </div>
<div>regards,</div>
<div> </div>
<div>Umair bari<br><br> </div>
<div><span class="gmail_quote">On 11/24/05, <b class="gmail_sendername">Faris Raouf</b> <<a href="mailto:asterisk@raouf.net">asterisk@raouf.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><a href="mailto:f6hqz-m@hamwlan.net">f6hqz-m@hamwlan.net</a> wrote:<br>> Hello everybody :-)<br>><br>
> This are my first line french zapata.conf settings.<br>> I have 3 like this, with only rx/tx gain a little bit different levels.<br>> Running well.<br>> Best Regards,<br>> Francois BERGERET,<br>> France.
<br>><br>> usecallerid=yes<br>> hidecallerid=no<br>> usecallingpres=yes<br>> callwaitingcallerid=yes<br>> threewaycalling=yes<br>> transfer=yes<br>> canpark=yes<br>> cancallforward=yes<br>> callreturn=yes
<br>> echocancel=yes<br>> echocancelwhenbridged=yes<br>> echotraining=yes<br>> rxgain=2<br>> txgain=6<br>> group=1<br>> callgroup=1<br>> pickupgroup=1<br>> immediate=no<br>> busydetect=yes<br>
> busycount=3<br>> busypattern=500,500<br>> signalling = fxs_ks<br>> channel => 1<br>><br>> -----Message d'origine-----<br>> De : <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com
</a><br>> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] De la part de asterisk user<br>> dupont<br>> Envoyé : vendredi 18 novembre 2005 13:33<br>> À :
<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>> Objet : [Asterisk-Users] In France asterisk never detect hang up. Why ?<br>><br>><br>> Hello.<br>><br>> I am sorry my english is not good at all.
<br>><br>> When i have a call from a fxo port of a tdm400p, asterisk waits one minute<br>> before detecting that the caller has hang up his phone.<br>><br>> I have in my extension conf :<br>> answer<br>> background (the prompt is 40 second long)
<br>> dial (on fxs port) confgured for 30 seconds ringing.<br>><br>> if the caller hang up at the begining of the background prompt, asterisk<br>> waits until he make ring the phone on the dial command for the all 30
<br>> secondes before detecting the hang up.<br>><br>> Do you know if there is a way to repair that ?<br>><br>> here is what i see on asterisk when the caller hang up IMMEDITALY after the<br>> test prompt begins :
<br>><br>> *CLI> -- Starting simple switch on 'Zap/4-1'<br>> -- Executing Answer("Zap/4-1", "") in new stack<br>> -- Executing NoOp("Zap/4-1", "0675458745") in new stack
<br>> -- Executing Set("Zap/4-1", "TIMEOUT(response)=20") in new stack<br>> -- Response timeout set to 20<br>> -- Executing BackGround("Zap/4-1", "barge") in new stack
<br>> -- Playing 'test' (language 'fr')<br>> -- Executing Dial("Zap/4-1", "Zap/2|0675458745|30") in new stack<br>> -- Called 2<br>> -- Zap/2-1 is ringing<br>> -- Zap/2-1 is ringing
<br>> -- Zap/2-1 is ringing<br>> -- Zap/2-1 is ringing<br>> -- Zap/2-1 answered Zap/4-1<br>> -- Attempting native bridge of Zap/4-1 and Zap/2-1<br>> -- Hungup 'Zap/2-1'<br>> == Spawn extension (reseau, s, 5) exited non-zero on 'Zap/4-1'
<br>> -- Executing Hangup("Zap/4-1", "") in new stack<br>> == Spawn extension (reseau, h, 1) exited non-zero on 'Zap/4-1'<br>> -- Hungup 'Zap/4-1'<br>><br>><br>> In my zapata.conf
i have :<br>><br>> language=fr<br>> default=fr<br>> relaxdtmf=yes<br>> echocancelwhenbridged=yes<br>> rxgain=0.0<br>> txgain=0.0<br>> cidsignalling=v23<br>> usecallerid=yes<br>> group => 1
<br>> context=reseau<br>> signalling=fxs_ks<br>> callprogress=yes<br>> busydetect=yes<br>> callerid=asreceived<br>> busycount=5<br>> pulse=yes<br>><br>> In my zaptel.conf i have :<br>><br>> loadzone=fr
<br>> defaultzone=fr<br>> fxoks=1-3<br>> fxsks=4<br>><br>><br>> If anyone can see what is wrong he will really help me.<br>><br>> thank you.<br><br>Your English is better than my French :-)<br><br>
Making the TDM400p detect hangups can be hard. I had it working OK with<br>pre-1.2 versions, but now in 1.2 stable I'm also having some problems<br>again. I'll investigate in more details eventually.<br><br>For now, the only thing I can suggest is that you add:
<br><br>hanguponpolarityswitch=yes<br><br>in your zapata.conf<br><br>In the UK, hangups are signaled by a polarity switch, and since<br>sometimes the UK and Europe do the same thing, I'm hoping this will be<br>the case for you too.
<br><br>However, even with this option enabled, like I say, I'm having some<br>small problems with 1.2 stable. I hope to have time this weekend to<br>investigate and see what is going on.<br><br>Faris.<br><br><br><br>_______________________________________________
<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>