[Freeswitch-users] Want to play music on hold while executing a time consuming operation in Lua

David Ponzone david.ponzone at ipeva.fr
Thu Jun 16 14:41:00 MSD 2011


Sidharth,

Generally, if noone answers, it means noone has an interesting answer or noone had the time yet to answer.
It's quite like when you ask a girl out. If she doesn't answer, it's unlikely harassing her will improve the situation ... most of the times :)

You can also try to go on irc #freeswitch.
And also, you can read the wiki.

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 16/06/2011 à 06:53, Sidharth Kshatriya a écrit :

> I am implementing an IVR using Lua in Freeswitch. In my Lua script I use curl to a web service. Sometimes the response takes a long time to come back. During that time period I would like to play music on hold.
> 
> I have searched the freeswitch discussion archives a lot. There seem to be many suggested ways to implement music on hold from a Lua script but the answers are not very clear / not really applicable to my use case. I don't know what method I should use and which one is recommended.
> 
> Method 1: Transfer the call to 9664 (music on hold extension). However the implementation for this solution for this does not seem to be available in Lua. For example: How would I transfer the call back?
> Method 2: Using bgapi uuid_park park the call and using uuid_broadcast play an audio file. Again what do I do to unpark the call..?
> 
> Thanks,
> 
> Sidharth
> [P.S. This is a repost, I apologize but I never got any responses on my previous email. Need help! :-) ]
>  
> -- 
> Sidharth Kshatriya
> www.sidk.info
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110616/e3987b59/attachment.html 


More information about the FreeSWITCH-users mailing list