FreeTDM tones.conf Disconnect Supervision
Hello all, Our telco recently changed their call progress tones: Dialtone: 450Hz continuous Ringback tone: 450Hz/1 sec ON 4 sec OFF Busy tone: 450Hz/360ms ON 360 OFF Attn: 950Hz/continuous (0db) The way I understand it, FXO listens for the dialtone then sends DTMF tones. After this, it expects either the Ringback or Busy tone. I read Michael Collin's post that FreeTDM doesn't detect (as of now) cadence. http://permalink.gmane.org/gmane.comp.telephony.freeswitch.user/36531 Questions: 1. What state will FreeTDM go when it detects 450Hz? Ringing or Busy? I presume it would be Ringing or it would hangup. 2. Can I use tone_detect to distinguish them? Can I use a series of tone_detects? Any suggestion where to go? If not ... My last recourse will be - wait for the Attn tone. But ... will FreeTDM jump to hangup the call upon detecting this? Thanks, /Nandy
Hi, I have this issue also, I use sangoma A400, use sip phone call pstn mobile, when mobile hangup, the sip phone can not hangup, i have add tone_detect app in dialplan, it seems sangoma A400 and freetdm can not detect busy tones or disconct srperversion from pstm. but asterisk & zaptel have this detect. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeTDM-tones-conf-Disconnect-... Sent from the freeswitch-users mailing list archive at Nabble.com.
[Solved] I also used tone_detect to hangup the PSTN line. FreeTDM can detect call progress tone (busy, disconnect) BUT ... as mentioned above it detects TONES ONLY NOT CADENCE. It works if 2 or more tones are used even w/o detecting the cadence. It's becomes a problem when only one tone is used. To detect cadence, mod_spandsp is recommended http://wiki.freeswitch.org/wiki/Mod_spandsp#Call_Progress It fires Events so a script is needed to catch them and fire the hangup signal. /Nandy On Tue, Oct 22, 2013 at 6:05 PM, xmppser <xmppser@gmail.com> wrote:
Hi, I have this issue also, I use sangoma A400, use sip phone call pstn mobile, when mobile hangup, the sip phone can not hangup, i have add tone_detect app in dialplan, it seems sangoma A400 and freetdm can not detect busy tones or disconct srperversion from pstm. but asterisk & zaptel have this detect.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeTDM-tones-conf-Disconnect-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Hi, thanks, so, how did you resolve this problem? can you give more detail? thanks. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeTDM-tones-conf-Disconnect-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi, I used tone_detect. I thought it was solved in your post. I inserted this before bridge or transfer app: <action application="tone_detect" data="busy 450 r 0 hangup 'normal_clearing' 3"/> 450 is the busy tone. 3 is the number of times required to execute "hangup". I increased 3 to 5 to prevent false hangup (under observation). See http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect /Nandy On Wed, Oct 23, 2013 at 12:17 PM, xmppser <xmppser@gmail.com> wrote:
Hi, thanks, so, how did you resolve this problem? can you give more detail? thanks.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeTDM-tones-conf-Disconnect-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Furthermore, you must record the progress tones and analyze the frequencies. I used vanilla feature code to record calls. I think it's *2. On Wed, Oct 23, 2013 at 10:26 PM, Nandy Dagondon <nandy1925@gmail.com>wrote:
Hi,
I used tone_detect. I thought it was solved in your post. I inserted this before bridge or transfer app:
<action application="tone_detect" data="busy 450 r 0 hangup 'normal_clearing' 3"/>
450 is the busy tone. 3 is the number of times required to execute "hangup". I increased 3 to 5 to prevent false hangup (under observation).
See http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect
/Nandy
On Wed, Oct 23, 2013 at 12:17 PM, xmppser <xmppser@gmail.com> wrote:
Hi, thanks, so, how did you resolve this problem? can you give more detail? thanks.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FreeTDM-tones-conf-Disconnect-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Nandy Dagondon
-
xmppser