Share This Post:

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.

Share This Post:

This entry was posted in Developer, Gateway. Bookmark the permalink.