<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="hps" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; ">I think it's</span><font class="Apple-style-span" color="#333333" face="arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px;"> </span></font><span class="hps" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; ">good.</span><br><span class="hps" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; ">I called and</span><font class="Apple-style-span" color="#333333" face="arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px;"> </span></font><span class="hps" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; ">the application</span><font class="Apple-style-span" color="#333333" face="arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px;"> </span></font><span class="hps" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; ">it is</span><font class="Apple-style-span" color="#333333" face="arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px;"> </span></font><span class="hps" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; ">launched.</span><br><br><br><div><div>2011-08-24 10:11:07.817150 [NOTICE] mod_dptools.c:1619 Enabling tone detection 'busy' '425'</div></div><div><br></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; "><span class="hps">As soon as</span></span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; "> </span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; "><span class="hps">I hung up</span></span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; "><span>, he</span></span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; "> </span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; "><span class="hps">did his job</span></span></div><div><br></div><div><div>2011-08-24 10:11:15.997151 [DEBUG] switch_ivr_async.c:2525 TONE busy HIT 1/3</div><div>2011-08-24 10:11:17.037144 [DEBUG] switch_ivr_async.c:2525 TONE busy HIT 2/3</div><div>2011-08-24 10:11:18.077144 [DEBUG] switch_ivr_async.c:2525 TONE busy HIT 3/3</div><div>2011-08-24 10:11:18.077144 [DEBUG] switch_ivr_async.c:2531 TONE busy DETECTED</div><div>2011-08-24 10:11:18.077144 [DEBUG] switch_core_session.c:994 Send signal FreeTDM/3:3/ [BREAK]</div><div>2011-08-24 10:11:18.077144 [DEBUG] switch_ivr.c:576 FreeTDM/3:3/ Command Execute hangup(normal_clearing)</div><div>EXECUTE FreeTDM/3:3/ hangup(normal_clearing)</div><div>2011-08-24 10:11:18.077144 [DEBUG] switch_channel.c:2767 (FreeTDM/3:3/) Callstate Change ACTIVE -> HANGUP</div><div>2011-08-24 10:11:18.077144 [NOTICE] mod_dptools.c:916 Hangup FreeTDM/3:3/ [CS_EXECUTE] [NORMAL_CLEARING]</div></div><div><div><div>Le 23 août 2011 à 21:37, Saugort Dario Garcia Tovar a écrit :</div><div><br></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; "><span class="hps">I left</span> <span class="hps">in the</span> <span class="hps">reverse polarity</span> <span class="hps">configuration</span><span>.</span><br><span class="hps">I do not know</span> <span class="hps">if this solution</span> <span class="hps">is unique</span><span>, but it</span> <span class="hps">has the merit of </span><span class="hps">work.</span><br><br><span class="hps">Thank you all</span></span></div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
You are trying to detect hangup or disconnect tone?<br>
<br>
If you trying to disconnect tone, I was playing around with this
just today,<br>
<br>
I have a custom xml to manage my digium card. The file is located in
/usr/local/freeswitch/conf/dialplan/public/01_freetdm_in.xml<br>
<br>
And it is what is has:<br>
<br>
<include><br>
<extension name="freetdm_in"><br>
<condition field="chan_name"
expression="FreeTDM/2:1/"><br>
<action application="tone_detect"
data="busy 425 r 0 hangup 'normal_clearing' 3"/><br>
<action application="set"
data="domain_name=$${domain}"/><br>
<action application="set"
data="transfer_ringback=$${fr-ring}"/><br>
<action application="answer"/><br>
<action application="transfer" data="6442
XML default"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
<br>
I think, you could play with data="busy 425 r 0 hangup
'normal_clearing' 3" to try to get what you need. Take a look to
this page:
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect</a><br>
<br>
About ANI 000000000 could be because you dont have caller id enable
or it is not supported by your pstn.<br>
<br>
<br>
On 8/23/2011 1:53 PM, Caez wrote:
<blockquote cite="mid:CAOu2boE+ZeWmFbJDZ=OB2e+giSeTFJhGWzJuUaDkxgMVVP+SrQ@mail.gmail.com" type="cite">
<pre wrap="">Hello,
I have to problems with freeswith and my digium card whith dahdi and freetdm.
I'm a french user.
- I have no signal when the user hangs up.
I have to wait for the timeout before the line is available.
If I call a specific phone, I have to wait for the timeout to 60s
before using the line
- I don't have the phone number for the incoming and outgoing calls.
For the incoming, i have 00000000000
For the outgoing, "Anonymous"
I'm trying to change my tones.conf files, to add some options on
freetdm.conf.xml, but the problem persists
Does anyone have a solution?
Thank you in advance
Sebastien
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
-----
No virus found in this message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com/">www.avg.com</a>
Version: 10.0.1392 / Virus Database: 1520/3852 - Release Date: 08/23/11
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Atentamente,
<br>
<b>Dario García</b>
<br>
Consultor.
<br>
<br>
CCCT, Nivel C2, Sector Yarey, Mz, <br>
Ofc. MZ03a. <br>
Caracas-Venezuela.
<br>
Teléfono: +58 212 9081842
<br>
Cel: +58 412 2221515
<br>
<a class="moz-txt-link-abbreviated" href="mailto:dgarcia@anew.com.ve">dgarcia@anew.com.ve</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.anew.com.ve/">http://www.anew.com.ve</a></div>
</div>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>