| Prophecy 9.0 Development Guide | Home | Frameset Home |
|
http://127.0.0.1:9998/SessionControl/VoiceXML.start?
numbertodial=8001112222&
tokenid=DesignerRouteName
DesignerRouteName with the route name of your Designer application that you setup in the Management Console.| Markup | URL |
| VoiceXML | http://127.0.0.1:9998/VoiceXML.start?tokenid=[route_id_here] |
| CCXML | http://127.0.0.1:9999/CCXML10.start?tokenid=[route_id_here] |
| CallXML | http://127.0.0.1:9999/CALLXML.start?tokenid=[route_id_here] |
| Markup | URL |
| VoiceXML | http://api.voxeo.net/SessionControl/VoiceXML.start?tokenid=[route_id_here] |
| CCXML | http://api.voxeo.net/SessionControl/CCXML10.start?tokenid=[route_id_here] |
| CallXML | http://api.voxeo.net/SessionControl/CallXML.start?tokenid=[route_id_here] |
<html>
<head>
<title>My first token app</title>
</head>
<body>
<form action="http://127.0.0.1:9998/SessionControl/VoiceXML.start"
method="get" target="_blank">
<input type="hidden" name="tokenid" value="DesignerRouteIDHere">
Phone Number:<input type="text" name="numbertodial"><br>
<input type="submit" value="submit">
</form>
</body>
</html>
| Variable | Description | Notes |
| tokenid | The token assigned to this application in the Management Console. | Required |
| numbertodial | The phone number to dial for this session initiation request | Required |
| callerid | Value to which the callerID will be set for the outbound call. This should be a 10 digit number | Defaults to the BN (billing number) for the telecommunications circuit. |
| calltimeout | Number of seconds to wait for an outbound call to be answered before the call is considered not answered. | Defaults to 35 seconds. Maximum value is 120. |
http://127.0.0.1:9998/SessionControl/VoiceXML.start?
numbertodial=8001112222&
tokenid=yourTokenIDhere&
param1=foo&
param2=bar&
param3=gronk
params in the GlobalVeriables.conf file, thus adding any number of custom values specific to your application. You will find this file at the following location: VOXEO_HOME/designer/config/GlobalVariables.conf. Modifying this file allows you to add custom values, such as myCustomParm, which you can then utilize in your token requests:
http://127.0.0.1:9998/SessionControl/VoiceXML.start?
numbertodial=8001112222&
tokenid=yourTokenIDhere&
myCustomParm=foo&
| Result Value | Description |
| No answer | The call was not answered |
| Busy | The line is busy |
| Call number is bad | The number provided was not a validly formatted number (stop that!) |
| Invalid token | The token provided was not a valid token. |
| Internal error | There was an error in the token initiation |
| Not specified | An error occurred with no specific reason given |
| ANNOTATIONS: EXISTING POSTS |
| login |
|