Play Two files one for caller and other for callee
Hello to alls, Im need to play two files, one for caller side and other for callee side, when the call is answered. But I need to play this files simultaneously. Does anyone have an idea how to do this? Thanks in advance R.Medeiros
here is my idea but i never tried: when a call is received in the dialplan, originate a call from fs to the callee instead of a simple bridging, then you can play 2 files to the caller and callee (try bgapi playback in 1 of the 2 legs), then after the play ends use uuid_bridge to bridge the 2 legs. 2014-04-18 4:57 GMT+08:00 Romeu Medeiros <medeiros@medeiros.eng.br>:
Hello to alls,
Im need to play two files, one for caller side and other for callee side, when the call is answered. But I need to play this files simultaneously.
Does anyone have an idea how to do this?
Thanks in advance
R.Medeiros
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Hello Vincent, Thank for the idea, I Will try and return if works correctly. Thanks :) R.Medeiros 2014-04-17 21:48 GMT-03:00 Vincent Xia <gmangudai@gmail.com>:
here is my idea but i never tried: when a call is received in the dialplan, originate a call from fs to the callee instead of a simple bridging, then you can play 2 files to the caller and callee (try bgapi playback in 1 of the 2 legs), then after the play ends use uuid_bridge to bridge the 2 legs.
2014-04-18 4:57 GMT+08:00 Romeu Medeiros <medeiros@medeiros.eng.br>:
Hello to alls,
Im need to play two files, one for caller side and other for callee side, when the call is answered. But I need to play this files simultaneously.
Does anyone have an idea how to do this?
Thanks in advance
R.Medeiros
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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)
-
Romeu Medeiros
-
Vincent Xia