Skip to content
abaart edited this page May 3, 2016 · 18 revisions

What happens when I call [email protected] OR How do I get my VXML file working on (Virtual) Kasadaka ?

XXX is the name of the extension you call. This is found in /etc/asterisk/extensions.conf as

exten => XXX,1,Answer

exten => XXX,n,Vxml(http://127.0.0.1/yourfile.vxml)

To call your own VXML. Put that file somewhere in kasadaka and change the location above. Restart Asterisk to make it so.

How do I do text-to-speech on VXI?

Voxeo has built-in TTS, VXI (the one that is built-in on the Kasadaka) does nog have this so you will need to record audio. See also the issues below.

My wave files are silent!/Sound problems...

Asterisk and VXI are very picky about wav files. The following settings (as produced by the flite TTS program) work: Sample rate 8KHz, 16 bit, mono, Codec: PCM 16 LE (s16l)

When copy pasting the links in vxml files in my browser, it does not work.

Replace & with &.

After some testing, calls don't get picked up anymore.

This is caused by the VoiceXML interpreter. To fix it, restart it: sudo /etc/init.d/openvxi restart and sudo /etc/init.d/asterisk restart.

My dongle is not recognised by Asterisk

Make sure that usb-modeswitch is installed!

I get a: Getting IMSI number failed error

Make sure to remove the PIN from your SIM card!

How do I record voice?

We are finding out! When the pre-recording message keeps looping, make sure to use the latest changes in the vxml.conf file! Then also, make sure you MANUALLY RELOAD the vxml config:
sudo /etc/init.d/asterisk restart
After that, if it still does not work, sometimes asterisk does not have rights to write in the tmp folder (/tmp/cacheContent)where the recording is stored. To fix this, allow everything to write there: sudo chmod -R 777 /tmp.

Mail your questions to both of these addresses (to prevent answering the same question twice):
[email protected] AND [email protected]