[Freeswitch-users] ESL socket outbound: fail to stop tone detect
Anthony Minessale
anthony.minessale at gmail.com
Tue Mar 1 02:12:47 MSK 2011
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 at 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 at 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
More information about the FreeSWITCH-users
mailing list