start_url parameter for outbound calls
Posted: Tue May 12, 2015 3:31 pm
I am new to this interface and struggling to get my outbound call tests working. The parameter start_url (https://drive.google.com/file/d/0B1qoEC ... sp=sharing) in my tests is probably not set up properly, resulting in call failures, either through the queuecall web service or Google Postman. The issue might be that the script (outbound.php below) is hosted on my google drive, sharable.
Error: This XML file does not appear to have any style information associated with it. The document tree is shown below.
<queuecall status="queued" call_id="32411563">
<login>pat.laclef@lansa.com</login>
<pin>XXXXXXXX</pin>
<phone_number>1XXXXXXXXXXX</phone_number>
<start_url>
https://drive.google.com/file/d/0B1qoEC ... sp=sharing
</start_url>
<max_retries>2</max_retries>
<retry_interval>600</retry_interval>
</queuecall>
HTTP post via Google Postman:
http://outbound.plumvoice.com/webservic ... sp=sharing
Error:
<queuecalls status="failed">Missing "login" POST variable.</queuecalls>
outbound.php
<?xml version="1.0"?>
<vxml version="2.0">
<form id="mainmenu">
<field name="menuchoice">
<grammar type="application/srgs+xml" root="ROOT" mode="dtmf">
<rule id="ROOT">
<one-of>
<item>1</item>
<item>2</item>
<item>3</item>
</one-of>
</rule>
</grammar>
<prompt>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</prompt>
<filled>
<if cond="menuchoice==1">
Welcome to sales.
<elseif cond="menuchoice==2"/>
Welcome to tech support.
<elseif cond="menuchoice==3"/>
Welcome to the company directory.
</if>
</filled>
</field>
</form>
</vxml>
Error: This XML file does not appear to have any style information associated with it. The document tree is shown below.
<queuecall status="queued" call_id="32411563">
<login>pat.laclef@lansa.com</login>
<pin>XXXXXXXX</pin>
<phone_number>1XXXXXXXXXXX</phone_number>
<start_url>
https://drive.google.com/file/d/0B1qoEC ... sp=sharing
</start_url>
<max_retries>2</max_retries>
<retry_interval>600</retry_interval>
</queuecall>
HTTP post via Google Postman:
http://outbound.plumvoice.com/webservic ... sp=sharing
Error:
<queuecalls status="failed">Missing "login" POST variable.</queuecalls>
outbound.php
<?xml version="1.0"?>
<vxml version="2.0">
<form id="mainmenu">
<field name="menuchoice">
<grammar type="application/srgs+xml" root="ROOT" mode="dtmf">
<rule id="ROOT">
<one-of>
<item>1</item>
<item>2</item>
<item>3</item>
</one-of>
</rule>
</grammar>
<prompt>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</prompt>
<filled>
<if cond="menuchoice==1">
Welcome to sales.
<elseif cond="menuchoice==2"/>
Welcome to tech support.
<elseif cond="menuchoice==3"/>
Welcome to the company directory.
</if>
</filled>
</field>
</form>
</vxml>