VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jflowers at ezo.net Guest
|
Posted: Thu Sep 25, 2008 11:08 am Post subject: [Freeswitch-users] IVR Questions |
|
|
I'm ready to tackle creating a multi-level IVR. From what I have seen in the
wiki, what I have to do is to create a separate wav file for each prompt in
some other software and then create an XML file to organize the logic around
pointers to the wav files and terminating in the requited actions.
Am I missing something or is there any software that would simplify this
effort that is worth investigating?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
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 |
|
Back to top |
|
|
jocke29 at gmail.com Guest
|
Posted: Thu Sep 25, 2008 12:07 pm Post subject: [Freeswitch-users] IVR Questions |
|
|
Well you could use Text To Speech , if you don't want to create prompts.
2008/9/25 Jim Flowers <jflowers@ezo.net (jflowers@ezo.net)>
|
|
Back to top |
|
|
mcollins at fcnetwork.com Guest
|
Posted: Thu Sep 25, 2008 12:41 pm Post subject: [Freeswitch-users] IVR Questions |
|
|
Quote: | I'm ready to tackle creating a multi-level IVR. From what I have seen
| in
Quote: | the
wiki, what I have to do is to create a separate wav file for each
| prompt
Quote: | in
some other software and then create an XML file to organize the logic
around
pointers to the wav files and terminating in the requited actions.
Am I missing something or is there any software that would simplify
| this
Quote: | effort that is worth investigating?
|
Right now there are two primary ways to build IVRs in FS: scripting
language or XML files. There isn't any way that I'm aware of (yet) to
simplify the process, such as a GUI-ish front-end software for building
IVRs.
Personally, I've just been using the combination of XML files. I know
that Brian West has done a lot with Lua. One advantage of Lua is that
when you change the Lua script, the very next call that gets sent to the
IVR will see any changes that have been made. With the XML files you
need to execute a 'reloadxml' command before the changes are seen. (I
don't know about xml_curl but I would wager that changes on the back-end
database that serve up xml_curl would show up with the very next
xml_curl request. If someone could confirm/deny that statement with
respect to IVRs that would be most welcome.)
Whether you chose XML or Lua/Perl/js/etc. I would recommend that you
study the demo IVR, especially the concept of phrase macros. Phrase
macros let you piece together lots of sound files and add TTS, pauses,
etc. so that you can build high-quality phrases. You can also use
channel variables in your phrase macros which makes them a bit more
dynamic.
Once you're familiar with the basics then it's a matter of preference
between scripting, XML, or xml_curl. Also, keep on the lookout for
GUI-ish stuff because you never know when someone is going to create a
front-end for this kind of stuff!
-MC
_______________________________________________
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 |
|
Back to top |
|
|
mctch at yahoo.com Guest
|
Posted: Thu Sep 25, 2008 12:41 pm Post subject: [Freeswitch-users] IVR Questions |
|
|
You seem to understand the basics around creating the IVR.
An easy way to make the recordings is to use FreeSWITCH. Add the following to your dialplan at /usr/local/freeswitch/conf/dialplan/default.xml. Then call extension 8335 or 8336 and say what you want for the recording and then end the call. There are two extensions so you can record more than one wav file without overwriting it. After you made a recording rename the wav file to something logical for your IVR. Then you are ready to use the wav file in the IVR.
<extension name="8335">
<condition field="destination_number" expression="8335">
<action application="answer"/>
<!--default terminator is *. Keyword 'none' disables on-key termination /-->
<action application="set" data="playback_terminators=#"/>
<action application="record" data="/usr/local/freeswitch/recordings/8335.wav 180 200"/>
</condition>
</extension>
<extension name="8336">
<condition field="destination_number" expression="8336">
<action application="answer"/>
<!--default terminator is *. Keyword 'none' disables on-key termination /-->
<action application="set" data="playback_terminators=#"/>
<action application="record" data="/usr/local/freeswitch/recordings/8336.wav 180 200"/>
</condition>
</extension>
--- On Thu, 9/25/08, Jim Flowers <jflowers@ezo.net> wrote:
Quote: | From: Jim Flowers <jflowers@ezo.net>
Subject: [Freeswitch-users] IVR Questions
To: "FreeSwitch ML" <freeswitch-users@lists.freeswitch.org>
Date: Thursday, September 25, 2008, 10:11 AM
I'm ready to tackle creating a multi-level IVR. From
what I have seen in the
wiki, what I have to do is to create a separate wav file
for each prompt in
some other software and then create an XML file to organize
the logic around
pointers to the wav files and terminating in the requited
actions.
Am I missing something or is there any software that would
simplify this
effort that is worth investigating?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
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
|
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|