[Freeswitch-users] question about outbound socket async

Seven Du dujinfang at gmail.com
Sat Jan 29 03:30:18 MSK 2011


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
>
> !DSPAM:4d42149232767334012844!
>
> _______________________________________________
> 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



More information about the FreeSWITCH-users mailing list