Modem audio streams

To check whether your voice modem driver is correctly installed, you can check the modem voice streams are correctly recognized by Windows. If either one is not installed correctly, Voicent program might failed to start, or failed to play audi files.

Go to Windows Control Panel > Sounds and Audio Devices, select the Audio tab. Please make sure “Modem #x Line Playback” is listed under the Sound playback box, AND “modem #x line recording” is listed under Sound Recording box.

Please don’t change the settings. Click Cancel when done.

If either of the audio stream is not listed, you need to reinstall the modem driver.

Posted in FAQ, Gateway, Installation, Voice Modem |

Gateway call interface: PHP timeout

Question:

I am testing the Voicent gateway with the standard Voicent Gateway PHP Interface. I am constantly getting this error and the sending message cuts off without warning.

“Fatal error: Maximum execution time of 30 seconds exceeded in ….\voicent.php on line 73″

Answer:

I have discovered the problem. The link to the Voicent server was working fine. It was ringing the number and delivering the message and then timed out cutting off the message.

The problem is in PHP. There is a default setting in the PHP.INI file setting the maximum time a php file waits for a response from a server is set to 30 seconds. I increased that and the problem went away. You may want to add this to your FAQ.

Best regards,

Chris

Posted in Developer, Gateway |

Voicent gateway: startvxml and startexec

Question:

I am trying to get the system to record a key in from a user. Which one do I need to use the startvxml or the exitvxml? It doesn’t seem to work for me.

======
poststr += “&phoneno=1111111″
poststr += “&firstocc=10″
poststr += “&startvxml=” + “C:\List\Test1.vxml”
poststr += “&exitvxml=” + “C:\List\Test2.vxml”
poststr += “&schedule=t”
poststr += “&calltime=” + delay
poststr += “&selfdelete=”
poststr += “&startexec=” + vcastexe
=======

If I understand correctly it should call the startvxml initially and then the exitvxml right before it’s done. I am having problems with the startvxml and exitvxml.

Answer:

Your understanding of startvxml and exitvxml are correct.

The problem you are experiencing is caused by using startexec and startvxml together. These two are exclusive. Actually, it will always use startexec if it is specified. The application launched by startexec has no idea of what is specified in startvxml.

Posted in Developer, Gateway |