I think it's good.
I called and the application it is launched.


2011-08-24 10:11:07.817150 [NOTICE] mod_dptools.c:1619 Enabling tone detection 'busy' '425'

As soon as I hung up, he did his job

2011-08-24 10:11:15.997151 [DEBUG] switch_ivr_async.c:2525 TONE busy HIT 1/3
2011-08-24 10:11:17.037144 [DEBUG] switch_ivr_async.c:2525 TONE busy HIT 2/3
2011-08-24 10:11:18.077144 [DEBUG] switch_ivr_async.c:2525 TONE busy HIT 3/3
2011-08-24 10:11:18.077144 [DEBUG] switch_ivr_async.c:2531 TONE busy DETECTED
2011-08-24 10:11:18.077144 [DEBUG] switch_core_session.c:994 Send signal FreeTDM/3:3/ [BREAK]
2011-08-24 10:11:18.077144 [DEBUG] switch_ivr.c:576 FreeTDM/3:3/ Command Execute hangup(normal_clearing)
EXECUTE FreeTDM/3:3/ hangup(normal_clearing)
2011-08-24 10:11:18.077144 [DEBUG] switch_channel.c:2767 (FreeTDM/3:3/) Callstate Change ACTIVE -> HANGUP
2011-08-24 10:11:18.077144 [NOTICE] mod_dptools.c:916 Hangup FreeTDM/3:3/ [CS_EXECUTE] [NORMAL_CLEARING]
Le 23 août 2011 à 21:37, Saugort Dario Garcia Tovar a écrit :

I left in the reverse polarity configuration.
I do not know if this solution is unique, but it has the merit of work.

Thank you all

You are trying to detect hangup or disconnect tone?

If you trying to disconnect tone, I was playing around with this just today,

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

And it is what is has:

<include>
        <extension name="freetdm_in">
                <condition field="chan_name" expression="FreeTDM/2:1/">
                        <action application="tone_detect" data="busy 425 r 0 hangup 'normal_clearing' 3"/>
                        <action application="set" data="domain_name=$${domain}"/>
                        <action application="set" data="transfer_ringback=$${fr-ring}"/>
                        <action application="answer"/>
                        <action application="transfer" data="6442 XML default"/>
                </condition>
        </extension>
</include>


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: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect

About ANI 000000000 could be because you dont have caller id enable or it is not supported by your pstn.


On 8/23/2011 1:53 PM, Caez wrote:
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
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / Virus Database: 1520/3852 - Release Date: 08/23/11




--
Atentamente,
Dario García
Consultor.

CCCT, Nivel C2, Sector Yarey, Mz,
Ofc. MZ03a.
Caracas-Venezuela.
Teléfono: +58 212 9081842
Cel: +58 412 2221515
dgarcia@anew.com.ve
http://www.anew.com.ve

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org