ESL socket outbound: fail to stop tone detect
In an originated outbound session that is in progressing phase, I do, via esl socket outbound, a "tone_detect". When I receive the event "DETECTED_TONE" I do the "stop_tone_detect" but sometimes the stop has no effect and I see in the log the warning: "switch_core_session.c:1955 Cannot execute app 'stop_tone_detect' media required on an outbound channel that does not have media established" But the media is present (the tone is correctly detected!). The event I receive on this channel are (in sequence) CHANNEL_UUID CHANNEL_OUTGOING CHANNEL_ORIGINATE CHANNEL_STATE - CS_INIT CHANNEL_STATE - CS_ROUTING CHANNEL_STATE - CS_CONSUME_MEDIA CHANNEL_PROGRESS CHANNEL_PROGRESS_MEDIA CHANNEL_STATE - CS_EXECUTE CHANNEL_EXECUTE CHANNEL_PARK then I do the "tone_detect" and I receive: CHANNEL_EXECUTE MEDIA_BUG_START CHANNEL_EXECUTE_COMPLETE DETECTED_TONE so I do the "stop_tone_detect" that fails in the log Please, can anyone address me to solve this issue?
yes minor patch. try latest git. you are on record pace to find these strange edge cases. On Mon, Feb 28, 2011 at 4:57 PM, Stephen Wilde <wstephen80@gmail.com> wrote:
In an originated outbound session that is in progressing phase, I do, via esl socket outbound, a "tone_detect". When I receive the event "DETECTED_TONE" I do the "stop_tone_detect" but sometimes the stop has no effect and I see in the log the warning: "switch_core_session.c:1955 Cannot execute app 'stop_tone_detect' media required on an outbound channel that does not have media established" But the media is present (the tone is correctly detected!). The event I receive on this channel are (in sequence) CHANNEL_UUID CHANNEL_OUTGOING CHANNEL_ORIGINATE CHANNEL_STATE - CS_INIT CHANNEL_STATE - CS_ROUTING CHANNEL_STATE - CS_CONSUME_MEDIA CHANNEL_PROGRESS CHANNEL_PROGRESS_MEDIA CHANNEL_STATE - CS_EXECUTE CHANNEL_EXECUTE CHANNEL_PARK then I do the "tone_detect" and I receive: CHANNEL_EXECUTE MEDIA_BUG_START CHANNEL_EXECUTE_COMPLETE DETECTED_TONE so I do the "stop_tone_detect" that fails in the log Please, can anyone address me to solve this issue?
_______________________________________________ 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
Ok, thank you Anthony! On Tue, Mar 1, 2011 at 12:12 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
yes minor patch. try latest git. you are on record pace to find these strange edge cases.
On Mon, Feb 28, 2011 at 4:57 PM, Stephen Wilde <wstephen80@gmail.com> wrote:
In an originated outbound session that is in progressing phase, I do, via esl socket outbound, a "tone_detect". When I receive the event "DETECTED_TONE" I do the "stop_tone_detect" but sometimes the stop has no effect and I see in the log the warning: "switch_core_session.c:1955 Cannot execute app 'stop_tone_detect' media required on an outbound channel that does not have media established" But the media is present (the tone is correctly detected!). The event I receive on this channel are (in sequence) CHANNEL_UUID CHANNEL_OUTGOING CHANNEL_ORIGINATE CHANNEL_STATE - CS_INIT CHANNEL_STATE - CS_ROUTING CHANNEL_STATE - CS_CONSUME_MEDIA CHANNEL_PROGRESS CHANNEL_PROGRESS_MEDIA CHANNEL_STATE - CS_EXECUTE CHANNEL_EXECUTE CHANNEL_PARK then I do the "tone_detect" and I receive: CHANNEL_EXECUTE MEDIA_BUG_START CHANNEL_EXECUTE_COMPLETE DETECTED_TONE so I do the "stop_tone_detect" that fails in the log Please, can anyone address me to solve this issue?
_______________________________________________ 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
_______________________________________________ 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)
-
Anthony Minessale
-
Stephen Wilde