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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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