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