What is Event MEDIA_BUG_STOP
Hey Guys, I am trying to get event information from the event DETECTED_SPEECH however when I telnet into the event console and type "event plain ALL" I see a lot of events but no DETECTED_SPEECH event. My speech is detected though, this is a sample of the put from the fs_cli: --------------------------------------------------------------------------------------------------- 2011-09-08 14:27:50.512150 [DEBUG] mod_pocketsphinx.c:383 Recognized: YES, Confidence: 100 EXECUTE sofia/sipinterface_1/2001@10.3.5.77 detect_speech(stop) 2011-09-08 14:27:57.578391 [INFO] mod_pocketsphinx.c:221 Port Closed. However in the event system there is no DETECTED_SPEECH and I see another event called MEDIA_BUG_STOP and MEDIA_BUG_STOP these look they they have something To do with speech but this isn't what im after doesn't give me all the information. Can anybody explain what my issue may be? Thanks.
A media bug is where an application attaches a callback to the audio channel so it can listen to the audio data, that's what the detect_speech app is doing. That event just means that detect_speech having finished removed the bug from the channel. -Steve On 8 September 2011 06:18, Glen Ganderton <Glen.Ganderton@premier.com.au>wrote:
Hey Guys,**** I am trying to get event information from the event DETECTED_SPEECH however when I telnet into the event console and type “event plain ALL” I see a lot of events but no**** DETECTED_SPEECH event. My speech is detected though, this is a sample of the put from the fs_cli:**** --------------------------------------------------------------------------------------------------- **** 2011-09-08 14:27:50.512150 [DEBUG] mod_pocketsphinx.c:383 Recognized: YES, Confidence: 100****EXECUTE sofia/sipinterface_1/2001@10.3.5.77detect_speech(stop) **** 2011-09-08 14:27:57.578391 [INFO] mod_pocketsphinx.c:221 Port Closed.**** ** **However in the event system there is no DETECTED_SPEECH and I see another event called MEDIA_BUG_STOP and MEDIA_BUG_STOP these look they they have something**** To do with speech but this isn’t what im after doesn’t give me all the information. Can anybody explain what my issue may be?**** ** ** Thanks.****** **
** **
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
Thanks Steve, But where is the DETECTED_SPEECH event. This is the event I really need but I cant see it. Any idea's? Ive tested with both mod_pocketsphinx and mod_unimrcp and could not see that event. -Glen On Thu, Sep 8, 2011 at 8:24 PM, Steven Ayre <steveayre@gmail.com> wrote:
A media bug is where an application attaches a callback to the audio channel so it can listen to the audio data, that's what the detect_speech app is doing.
That event just means that detect_speech having finished removed the bug from the channel.
-Steve
On 8 September 2011 06:18, Glen Ganderton <Glen.Ganderton@premier.com.au>wrote:
Hey Guys,**** I am trying to get event information from the event DETECTED_SPEECH however when I telnet into the event console and type “event plain ALL” I see a lot of events but no**** DETECTED_SPEECH event. My speech is detected though, this is a sample of the put from the fs_cli:**** --------------------------------------------------------------------------------------------------- **** 2011-09-08 14:27:50.512150 [DEBUG] mod_pocketsphinx.c:383 Recognized: YES, Confidence: 100****EXECUTE sofia/sipinterface_1/ 2001@10.3.5.77 detect_speech(stop)**** 2011-09-08 14:27:57.578391 [INFO] mod_pocketsphinx.c:221 Port Closed.**** ** **However in the event system there is no DETECTED_SPEECH and I see another event called MEDIA_BUG_STOP and MEDIA_BUG_STOP these look they they have something**** To do with speech but this isn’t what im after doesn’t give me all the information. Can anybody explain what my issue may be?*** *** ** Thanks.****** **
** **
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
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
Do you have the channel variable "fire_asr_events" set? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/What-is-Event-MEDIA-BUG-STOP-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
also if you use outbound socket you can send the "divert_events" command to get the asr events over that socket connection. On Thu, Sep 8, 2011 at 11:03 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
Do you have the channel variable "fire_asr_events" set?
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/What-is-Event-MEDIA-BUG-STOP-t... Sent from the freeswitch-users mailing list archive at Nabble.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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Could you give me an example of how to set this variable from the dialplan. Thanks -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff Lenk Sent: Friday, 9 September 2011 2:03 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] What is Event MEDIA_BUG_STOP Do you have the channel variable "fire_asr_events" set? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/What-is-Event-MEDIA-BUG-STOP-t... Sent from the freeswitch-users mailing list archive at Nabble.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
<action application="set" data="fire_asr_events=1"/> -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/What-is-Event-MEDIA-BUG-STOP-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (5)
-
Anthony Minessale
-
Glen Ganderton
-
Glen Ganderton
-
Jeff Lenk
-
Steven Ayre