[Freeswitch-users] how do I play music on hold for A-leg while IVRing with B-leg

Michael Collins msc at freeswitch.org
Wed Jan 4 01:04:40 MSK 2012


Can you pastebin the dialplan and Lua script that you're using? The gang
here will be happy to take a look.

-MC

On Fri, Dec 30, 2011 at 9:59 AM, Greg Buzzard <greg.buzzard at yahoo.com>wrote:

> Hi All, new to FreeSwitch, great software!  Read earlier posts, bought FS
> book and am about half-way through it and still have a question.
>
> Problem context:  I'm trying to do a form of call screening for home use
> using a Lua script.  I record a "self-intro" message from calling party
> (A-leg), would then like to play hold music for A-leg while creating new
> session and doing IVR dance with called party (B-leg).  IVR objective is to
> see if B-leg wishes to accept, add caller-ID to whitelist or blacklist,
> and/or send to voicemail, etc.  I have all of this working except the
> ability to play hold music to A-leg before either bridging them, sending
> them to voicemail or playing a message and dropping them.
>
> Specific problem:  I don't have my head wrapped around the "clean"
> approach to addressing this problem.  I.e., seems like I may want to "park"
> the A-leg (with music), while I do the IVR with B-leg.  Then either: (1)
> unpark A-leg and bridge to B-leg or (2) hang-up B-leg, unpark A-leg and
> send to VM or (3) other embellishments where I add caller-ID (if it exists)
> to either white or black lists and/or play recording to telemarketers to
> leave me alone (with no VM), etc.  If this is a good approach, getting a
> few pointers on key commands/apps to use would be great.
>
> FWIW, my first simple-minded approach to transfer caller (A-leg) to
> hold-music extension while connecting/IVRing with B-leg didn't work as
> execution of the transfer was held until the IVRing was done).  Similar to
> what I saw in some earlier postings.  If I get this figured out, I'm happy
> to summarize and post useful snippets to the email archive, wiki page or
> wherever, when done.
>
> -g
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20120103/1dd8e476/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list