[Freeswitch-users] question about outbound socket async

Peter Olsson peter.olsson at visionutveckling.se
Sat Jan 29 05:10:57 MSK 2011


I don't think it's possible to "auto break" playback. However, break should work ok here, I use it like this all the time in an ESL application. Are you using latest git? About a year ago I submitted a patch to fix some timing for this - but I guess you're not running a version old like that :)

/Peter

----- Reply message -----
Från: "Seven Du" <dujinfang at gmail.com>
Datum: lör, jan 29, 2011 07:36
Rubrik: [Freeswitch-users] question about outbound socket async
Till: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>

Thank you Peter. Yes I sendmsg break with event-lock, but the playback
is not using event-lock since I want to stop it at anytime, I need
more test to figure out. At the same time I still want to know if
there's an option to auto-break the running app on a channel.

Thanks.

On Fri, Jan 28, 2011 at 10:08 AM, Peter Olsson
<peter.olsson at visionutveckling.se> wrote:
> Are you using sendmsg break when issuing a break? That forces it to be queued in the execute queue the same way as playback, and it should be impossible to break the second file when not supposed to (since that should be the next one in queue).
>
> /Peter
>
>
> ----- Reply message -----
> Från: "Seven Du" <dujinfang at gmail.com>
> Datum: fre, jan 28, 2011 07:59
> Rubrik: [Freeswitch-users] question about outbound socket async
> Till: "freeswitch-users" <freeswitch-users at lists.freeswitch.org>
>
> Hi all,
>
> I'm using mod_erlang_event and I think it's equivalent to event_socket
> async full.
>
> When I run sendmsg playback wav1 and then playback wav2, wav2 will
> stop wav1 and when wav2 is done, wav1 continues by default. Is there a
> way to automatically break wav1 when play wav2 ?
>
> I could send break to wav1 but because everything is async, sometimes
> break also breaks wav2 even with event-lock = true which made async
> mode a sort of pain.
>
> It seems like there is a var can control this but I cannot recall. Any
> help is appreciated.
>
> Thanks.
>
> --
> About: http://about.me/dujinfang
> Blog: http://www.dujinfang.com
> Proj:  http://www.freeswitch.org.cn
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>



--
About: http://about.me/dujinfang
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn

_______________________________________________
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

!DSPAM:4d4360a432761546914186!



More information about the FreeSWITCH-users mailing list