Hello, I am using freeswitch as an IVR server. I would like to be able to put the call on hold and play music while performing some other tasks in the lua. when the task is complete , the music stop and the IVR continue but i cant find a way to do that, is there any function can do "music on hold" in dialplan ? Thank you
You can try to put in your dialplan <action application="set" data="hold_music=/path/to/your/music.mp3"/> On Fri, 2010-10-22 at 15:19 +0800, Chia-Yen Wu wrote:
Hello,
I am using freeswitch as an IVR server. I would like to be able to put the call on hold and play music while performing some other tasks in the lua. when the task is complete , the music stop and the IVR continue
but i cant find a way to do that, is there any function can do "music on hold" in dialplan ?
Thank you
_______________________________________________ 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 --
Un cordial saludo / Best regards, _________________________ António Silva E-mail:asilva@wirelessmundi.com
Just x-fer the call to dp ext 9664. When you are done with the Lua tasks use uuid_transfer (or uuid_bridge) to grab the call out of 9664 and send it wherever you need it to go. -MC On Fri, Oct 22, 2010 at 12:19 AM, Chia-Yen Wu <teddywu72@gmail.com> wrote:
Hello,
I am using freeswitch as an IVR server. I would like to be able to put the call on hold and play music while performing some other tasks in the lua. when the task is complete , the music stop and the IVR continue
but i cant find a way to do that, is there any function can do "music on hold" in dialplan ?
Thank you
_______________________________________________ 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
I too have this requirement. Lets say I have a script abc.lua In it, I session:transfer("9664", "XML", "default") session:setAutoHangup(false) -- prevent the script from ending lets say I even have the uuid saved in a local variable uuid_value After I do this, how do I bring the call back to the "context" of the script abc.lua. In other words, how do I "untransfer" mercutioviz wrote:
Just x-fer the call to dp ext 9664. When you are done with the Lua tasks use uuid_transfer (or uuid_bridge) to grab the call out of 9664 and send it wherever you need it to go.
-MC
On Fri, Oct 22, 2010 at 12:19 AM, Chia-Yen Wu <teddywu72@gmail.com> wrote:
Hello,
I am using freeswitch as an IVR server. I would like to be able to put the call on hold and play music while performing some other tasks in the lua. when the task is complete , the music stop and the IVR continue
but i cant find a way to do that, is there any function can do "music on hold" in dialplan ?
Thank you
_______________________________________________ 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
_______________________________________________ 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
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Music-On-Hold-tp5662660p648183... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
Antonio
-
Chia-Yen Wu
-
Michael Collins
-
sidharth_k