Page 1 of 1

creating outbound call first attempt

Posted: Thu Sep 30, 2010 1:36 pm
by haroldva
Hi,

I created a java program for outbound call. When my program runs i got this error:

<?xml version="1.0"?>
<queuecall status="failed">
Missing "login" POST variable.
</queuecall>

this is my url:

Code: Select all

http://outbound.plumgroup.com/webservice/queuecall.php?login=xxxx&pin=xxxxx&phone_number=tel:+1617712xxxx;postd=1327&start_url=http://www.site.com/voicexml/test.php
the content of test.php:
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>

<vxml version="2.0">
<form>
<block>
<prompt>
Test outbound call
</prompt>
</block>
</form>
</vxml>

When i tried this using Plum Web Service it works, though i wasn't included the extension number. What am i missing here?

Thanks,
harold

Re: creating outbound call first attempt

Posted: Thu Sep 30, 2010 3:28 pm
by support
Hi Harold,

We're mainly a PHP shop here, but if you could post a snippet of your Java code, we could try to help diagnose what might be going wrong.

Regards,
Plum Support

Re: creating outbound call first attempt

Posted: Fri Oct 01, 2010 2:25 am
by haroldva
Hi, thanks for the reply however i got this working now. The problem i encountered was because i concatenated the parameters to plum outbound url and it seems queuecall.php was not able to get the parameter values. Now, i add the parameters to the post object and it works.