Can you pastebin the dialplan and Lua script that you're using? The gang here will be happy to take a look.<div><br></div><div>-MC<br><br><div class="gmail_quote">On Fri, Dec 30, 2011 at 9:59 AM, Greg Buzzard <span dir="ltr"><<a href="mailto:greg.buzzard@yahoo.com">greg.buzzard@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:10pt"><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>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. </div>
<div><br></div><div>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.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-g</div><div><br></div><div><br></div></font></span></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>