On Fri, Nov 14, 2008 at 11:32 AM, Gonzalo Servat <span dir="ltr"><<a href="mailto:gservat@gmail.com">gservat@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I've got a single port FXO card which works really well with FS. I even got Zaptel patched with OSLEC which eliminted the little echo I had. The only trouble I'm left with is that when I call my house and let it ring twice then hangup, FS would never detect that the remote side hanged up. I figured my telco doesn't vary the signal levels on hangup so my only choice is detecting hangup by tones. I decided to try the tone_detect app as follows:<br>
<br> <action application="tone_detect" data="busy 425 r +2000 hangup user_busy"/><br><br>Here is the tones data from the ITU document:<br><br>Argentine Republic<br>Busy tone - 425 0.3 on 0.2 off<br>
Congestion tone - 425 0.3 on 0.4 off<br>Dial tone - 425 continuous<br>End of three party service tone - 950/1400/1800 1x(3x0.33 on)<br>Ringing tone - 425 1.0 on 4.0 off<br>
Service activated tone - 425 1.0 on 0.25 off<br>Warning tone - operator intervening 1400 5x0.1 on 1.9 off<br>Waiting tone - 425 0.4 on 0.2 off 0.4 on 4.0 off<br>
Call waiting tone - 425 0.3 on 10.0 off<br></blockquote><div><br>[..snip..]<br><br></div></div>I've come up with the following data for tones.conf for Argentina. I thought it might help others:<br>
<br>[ar]<br>generate-busy => v=-7;%(300,200,425)<br>generate-dial => v=-7;%(1000,0,425)<br>generate-ring => v=-7;%(1000,4000,425)<br>generate-callwaiting-sas => v=0;%(300,10000,425)<br><br>detect-busy => 425<br>
detect-dial => 425<br>detect-ring => 425<br>detect-callwaiting-sas => 425<br><br>I'm not sure how to test if this works or not (simply because, with the "us" tonegroup, I was able to dialout and receive calls just fine, as well as detect busy tones).<br>
<br>The problem remains that *sometimes* in the middle of phone calls, the call drops as FS "detects" a busy tone (which, of course, never happened)<br><br>- Gonzalo<br>