[Freeswitch-users] Music On Hold

sidharth_k sid.kshatriya at gmail.com
Thu Jun 16 09:41:06 MSD 2011


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 at 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 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
>>
>>
> 
> _______________________________________________
> 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
> 


--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Music-On-Hold-tp5662660p6481837.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



More information about the FreeSWITCH-users mailing list