<div dir="ltr">openzap does not have tone based hangup detection support coded into it.<br>That's why it only works when you use FreeSWITCH to do it in the general dialplan.<br><br>It's simply a feature we have not had demand for yet in OpenZAP. I'm sure we could add it if we can find the time/resources.<br>
<br><br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 7:47 PM, Luis F Urrea <span dir="ltr"><<a href="mailto:lfurrea@gmail.com">lfurrea@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi All,<br><br>I have been working for quite a while in trying to get Openzap to recognize my country specific busy tone in order to hang up an analog FXO channel.<br><br>Basically, I am having FXO disconnect supervision issues and I wanted to know if it's possible to hang up the FXO by monitoring call progress tones so that when there is a busy tone the FXO goes on hook.<br>
<br>I have been tweaking the /etc/openzap/tones.conf based on the ITU.T recommendation E.180 for my country, but so far it doesn't even seem that the changes I make to the tones.conf file are considered when dealing with disconnects from the PSTN side.<br>
<br>I restart FS after every change I make to /etc/openzap/tones.conf with no positive results.<br><br>The Openzap Wiki states that the "loadzone" parameter in /etc/zaptel.conf is not considered when dealing with tones, which makes sense since Openzap seems to use libteletone for tone detection and generation.<br>
<br>Here is what I use for busy tone on /etc/openzap/tones.conf:<br><br>[us]<br><br>generate-busy => v=-7;%(330,330,450)<br>detect-busy => 450<br><br>Therefore I set openzap.conf.xml as follows:<br><br> <param name="tonegroup" value="us"/><br>
<br>I was able to check that the busy tone can be detected using the following dial plan rule:<br><br> 1. <extension name="Inbound"><br> 2. <condition field="destination_number" expression="^1$"><br>
3. <action application="answer"/><br> 4. <action application"sleep" data="1000"/><br> 5. <action application="tone_detect" data="busy 450,0 r +100 hangup normal_clearing"/><br>
6. </condition><br> 7. </extension><br><br>So that I answer the FXO and hang up when the busy tone is detected. It works fine and the FXO port does not get stuck.<br><br>Here's the output from the log for the rule above:<br>
<br><a href="http://pastebin.com/f43500bd3" target="_blank">http://pastebin.com/f43500bd3</a><br><br>I do not see a reason why settings on tones.conf may not be working?<br><br>Is disconnect on busy-detect the default for Openzap? Is it power denial or battery reversal?<br>
<br>Does it matter if I select fxsks in /etc/zaptel.conf instead of fxsls?<br><br>Your help will be greatly appreciated.<br><br>Regards,<br><br>Luis <br></div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>