We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

creating outbound call first attempt

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
haroldva
Posts: 6
Joined: Thu Sep 30, 2010 1:28 pm

creating outbound call first attempt

Post 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

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: creating outbound call first attempt

Post 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

haroldva
Posts: 6
Joined: Thu Sep 30, 2010 1:28 pm

Re: creating outbound call first attempt

Post 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.

Post Reply