[Freeswitch-users] question about outbound socket async

Peter Olsson peter.olsson at visionutveckling.se
Fri Jan 28 05:08:50 MSK 2011


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!



More information about the FreeSWITCH-users mailing list