[Freeswitch-users] Help needed in a Contact Center solution

Michael Collins msc at freeswitch.org
Fri Sep 28 19:55:55 MSD 2012


The XML IVR is for gathering information for call routing. However, if you
want to capture information from the user then you probably want this:

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits

If you have need to put the response into a database then I recommend you
look at dialplan scripting with Lua (or another language you're familiar
with). Personally I find that Lua is pretty easy to learn. Check out
chapter 7 of the bridge book for some nice information on getting started
with Lua. I believe the wiki also has some good information about using Lua
with a backend database.

If you use the valet_park dialplan application then you can use the
valet_info API to pull information:
freeswitch at internal> valet_info
<lots>
  <lot name="valet_parking_lot">
    <extension uuid="75ca90bc-0985-11e2-8cc2-fdcd4f39ecad">6001</extension>
  </lot>
</lots>

Again, that's the kind of thing that isn't so easy doing right from the
dialplan but if you have a script then it's pretty easy once you learn how
to parse the XML and extract the information you care about.

Happy hacking!

-MC

On Thu, Sep 27, 2012 at 11:28 PM, Nitin Tomer <ntomer at newgen.co.in> wrote:

>  Hi Michael,****
>
> ** **
>
> Thanks for your response. I have been able to configure IVR and it works
> great. But I am not able to understand how to ask caller to enter some
> identification number, followed by hash. And then enter that value in
> database.****
>
> ** **
>
> Any pointers?****
>
> ** **
>
> Regards****
>
> ** **
>
> Nitin****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael
> Collins
> *Sent:* Thursday, September 27, 2012 10:22 PM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Help needed in a Contact Center solution
> ****
>
> ** **
>
> Don't forget about our two books:
> http://link.packtpub.com/nuIOlX
>
> https://www.packtpub.com/freeswitch-1-0-6-build-robust-high-performance-telephony-systems/book
>
> They discuss items 1 and 2 in pretty good detail, especially chapter 6 of
> the "bridge" book (it has a bridge on the cover)
> -MC****
>
> On Thu, Sep 27, 2012 at 5:53 AM, Gabriel Gunderson <gabe at gundy.org> wrote:
> ****
>
> On Thu, Sep 27, 2012 at 6:32 AM, Nitin Tomer <ntomer at newgen.co.in> wrote:
> > 1. An end-customer calls, the call is handled by mod_ivr.
> > 2. Customer is presented with a menu, she makes selection and also enters
> > some identification. Her call is parked on a pre-decided extension and an
> > entry is made in a database for this call. This entry will hold the
> > selections made by the caller and the extension where call is parked.***
> *
>
> <SNIP>****
>
>
> > Please guide me on how can do points 1 & 2.****
>
> 1)
> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr#General_Concept
> 2) http://wiki.freeswitch.org/wiki/Mod_db#mod_db ?
>
>
> Gabe
>
> _________________________________________________________________________
> 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****
>
>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
> ****
>
> Disclaimer :- This e-mail and any attachment may contain confidential,
> proprietary or legally privileged information. If you are not the original
> intended recipient and have erroneously received this message, you are
> prohibited from using, copying, altering or disclosing the content of this
> message. Please delete it immediately and notify the sender. Newgen
> Software Technologies Ltd (NSTL) accepts no responsibilities for loss or
> damage arising from the use of the information transmitted by this email
> including damages from virus and further acknowledges that no binding
> nature of the message shall be implied or assumed unless the sender does so
> expressly with due authority of NSTL.
>
>
> _________________________________________________________________________
> 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
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120928/24620f64/attachment-0001.html 


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