Hey I am using Freeswitch ESL librarary & commands with help of IVR.pm(provided in perl esl module). When i trying "execute('playback','file.wav')" i am getting call properly but i want to play this file in background, so i am trying to use bgapi('playback','file.wav') but i am not getting call properly. I tried "api('playback','file.wav')" as well, but this also not working. Can you please guide me how can i resolve this ? Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below. Thanks & Regards, Chaitanya Bhatt Software Engineer. Viva Infomedia Pvt. Ltd. 242, Oshiwara Industrial Centre, New Link Road, Opp. Oshiwara Bus Depot, Goregaon West, Mumbai 400104. Direct: +91.22.40310356 Board: +91.22.40310310 Email : chaitanya@vivainfomedia.com Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009
You should use execute(), but make sure that the socket is in async mode. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Chaitanya Bhatt // Viva Skickat: den 11 augusti 2010 13:26 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] bgapi playback not working Hey I am using Freeswitch ESL librarary & commands with help of IVR.pm(provided in perl esl module). When i trying "execute('playback','file.wav')" i am getting call properly but i want to play this file in background, so i am trying to use bgapi('playback','file.wav') but i am not getting call properly. I tried "api('playback','file.wav')" as well, but this also not working. Can you please guide me how can i resolve this ? Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below. Thanks & Regards, Chaitanya Bhatt Software Engineer. Viva Infomedia Pvt. Ltd. 242, Oshiwara Industrial Centre, New Link Road, Opp. Oshiwara Bus Depot, Goregaon West, Mumbai 400104. Direct: +91.22.40310356 Board: +91.22.40310310 Email : chaitanya@vivainfomedia.com<mailto:chaitanya@vivainfomedia.com> Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009 !DSPAM:4c628ac532931275669086!
playback is an application , you cannot execute it using api or bgapi , U can try uuid_broadcast. -USAGE: <uuid> <path> [aleg|bleg|both] On Wed, Aug 11, 2010 at 4:55 PM, Chaitanya Bhatt // Viva < chaitanya@vivainfomedia.com> wrote:
Hey
I am using Freeswitch ESL librarary & commands with help of IVR.pm(provided in perl esl module). When i trying "execute('playback','file.wav')" i am getting call properly but i want to play this file in background, so i am trying to use bgapi('playback','file.wav') but i am not getting call properly. I tried "api('playback','file.wav')" as well, but this also not working. Can you please guide me how can i resolve this ?
Incase of any further queries, Please feel free to mail me or contact me on the numbers provided below.
Thanks & Regards, Chaitanya Bhatt Software Engineer.
Viva Infomedia Pvt. Ltd. 242, Oshiwara Industrial Centre, New Link Road, Opp. Oshiwara Bus Depot, Goregaon West, Mumbai 400104.
Direct: +91.22.40310356 Board: +91.22.40310310 Email : chaitanya@vivainfomedia.com
Viva Infomedia: Awarded as Best SME (E-Commerce) at CNBC Emerging India Awards 2009
_______________________________________________ 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
-- *Best Regards, **Abubacker systems engineer bk systems (p) ltd** *
participants (3)
-
Abubacker siddiq
-
Chaitanya Bhatt // Viva
-
Peter Olsson