Unable to detect beep with mod_avmd
Hi, I am using avmd to detect beep over a channel. Beep is generated by below script. <extension name="10014"> <condition field="destination_number" expression="^1001$"> <action application="playback" data="tone_stream://L=5;%(500,6850,850)"/> <action application="hangup"/> </condition> </extension> and starts avmd on fs_cli as. freeswitch@debian>avmd 30d99731-4ff3-4f02-ad4b-85a3a8b9d600 start I could proper hear beeps over the phone but does not see avmd detecting this. Does not see anything like "beep detected" in logs. I am made several attempts but unable to detect beep even a single time. Is there something wrong that i am doing? Thanks in advance.
It definitely works, I just don't think it works on a one-legged call. From fs_cli try this: originate loopback/1001 &playback(silence_stream://60000) You'll have two uuids. Try the avmd app on each one. It will detect it on the "outbound" leg but not the "inbound" leg. -MSC On Tue, Feb 23, 2016 at 5:34 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Hi, I am using avmd to detect beep over a channel. Beep is generated by below script.
<extension name="10014"> <condition field="destination_number" expression="^1001$"> <action application="playback" data="tone_stream://L=5;%(500,6850,850)"/> <action application="hangup"/> </condition> </extension>
and starts avmd on fs_cli as.
freeswitch@debian>avmd 30d99731-4ff3-4f02-ad4b-85a3a8b9d600 start
I could proper hear beeps over the phone but does not see avmd detecting this. Does not see anything like "beep detected" in logs.
I am made several attempts but unable to detect beep even a single time.
Is there something wrong that i am doing?
Thanks in advance.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Thank You Much. I was testing it on single leg call. Starting avmd on outbound leg(of two leg call) perfectly detected the beep. This email has been sent from a virus-free computer protected by Avast. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On 24 February 2016 at 06:27, Michael Collins <msc@freeswitch.org> wrote:
It definitely works, I just don't think it works on a one-legged call. From fs_cli try this:
originate loopback/1001 &playback(silence_stream://60000)
You'll have two uuids. Try the avmd app on each one. It will detect it on the "outbound" leg but not the "inbound" leg.
-MSC
On Tue, Feb 23, 2016 at 5:34 AM, Aqs Younas <aqsyounas@gmail.com> wrote:
Hi, I am using avmd to detect beep over a channel. Beep is generated by below script.
<extension name="10014"> <condition field="destination_number" expression="^1001$"> <action application="playback" data="tone_stream://L=5;%(500,6850,850)"/> <action application="hangup"/> </condition> </extension>
and starts avmd on fs_cli as.
freeswitch@debian>avmd 30d99731-4ff3-4f02-ad4b-85a3a8b9d600 start
I could proper hear beeps over the phone but does not see avmd detecting this. Does not see anything like "beep detected" in logs.
I am made several attempts but unable to detect beep even a single time.
Is there something wrong that i am doing?
Thanks in advance.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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)
-
Aqs Younas
-
Michael Collins