Page 1 of 1
Starting an outbound call with java
Posted: Mon Aug 13, 2007 12:14 am
by mkerzner@electronicdataco
Hi,
sorry that it may be an obvious question, but I can not find an example of how to create an outbound call with java code, could someone please help?
Thank you.
Starting an IVR outbound call with java
Posted: Mon Aug 13, 2007 12:49 pm
by support
Hi,
We do not have any IVR examples of how to create an IVR outbound call with Java code.
However, you might find some useful information in our IVR documentation:
http://www.plumvoice.com/docs/dev/plumd ... nddevguide
Regards,
Plum Support
Posted: Wed Aug 15, 2007 12:27 am
by mkerzner@electronicdataco
Hi,
I did the POST (with java) and got this back, could you please tell me what I should do? Thank you. Mark
<br />
<b>Warning</b>: mysql_query(): 4 is not a valid MySQL-Link resource in <b>/usr/local/apache/htdocs/outbound.plumgroup.com/outboundlib/outboundlib.php</b> on line <b>595</b><br />
<br />
<b>Warning</b>: mysql_error(): 4 is not a valid MySQL-Link resource in <b>/usr/local/apache/htdocs/outbound.plumgroup.com/outboundlib/outboundlib.php</b> on line <b>686</b><br />
<?xml version="1.0"?>
<queuecall status="failed">
Internal system error. DB QUERY ERROR: SELECT campaign_id FROM campaign WHERE FK_sender_id='190' AND name='default' -
</queuecall>
Starting an IVR outbound call with java
Posted: Wed Aug 15, 2007 9:03 am
by support
Hi,
We are trying to reproduce this IVR error and have not been able to do so. Can you provide us with further information to replicate this IVR error? In particular, the POST parameters that you used would be helpful.
Regards,
Plum Support
Posted: Wed Aug 15, 2007 10:20 am
by mkerzner@electronicdataco
Today a got a better reply
<?xml version="1.0"?>
<queuecall status="queued" call_id="628197">
<login>
mkerzner@electronicdatacontrol.com</login>
<pin>37103792</pin>
<phone_number>17137242534</phone_number>
<start_url>
http://edcfoundation.dyndns.org/foundat ... /start_url>
</queuecall>
My start_url is not valid for this use, so it gives an error, but I would expect a phone call regardless, am I right?
Thank you.
Mark
Starting an IVR outbound call with java
Posted: Wed Aug 15, 2007 11:12 am
by support
Hi,
No, if the start_url is not valid, the phone call will not execute the IVR application.
Regards,
Plum Support
Posted: Wed Aug 15, 2007 12:21 pm
by mkerzner@electronicdataco
I got a valid file at
http://shmsoft.com/mark/AcceptCall.xml
and this was the reply
<?xml version="1.0"?>
<queuecall status="queued" call_id="628281">
<login>
mkerzner@electronicdatacontrol.com</login>
<pin>37103792</pin>
<phone_number>17137242534</phone_number>
<start_url>
http://shmsoft.com/mark/AcceptCall.xml</start_url>
</queuecall>
But still no call on my phone.
Thank you for all your help.
Mark
Starting an IVR outbound call
Posted: Wed Aug 15, 2007 1:25 pm
by support
Hi,
On your IVR Outbound Tools page, you would want to hit the "Start" button under Status in order to make IVR outbound calls. Once the Status changes to "running", you should be able to receive an IVR call.
You also might want to change your IVR script to a .vxml file since when we tested the IVR call on our side, we received an "error.badfetch".
Regards,
Plum Support
Posted: Wed Aug 15, 2007 1:51 pm
by mkerzner@electronicdataco
OK, thank you, I get calls now.
Changing to vxml did not help though. I am using your first "Hello" example, and I get an error. Is there any special way to put things on the web? I just placed the file on a web server...
Thank you,
Mark
Starting an IVR outbound call
Posted: Wed Aug 15, 2007 2:20 pm
by support
Hi,
Sorry for the suggestion to changing it to a .vxml file earlier.
The start_url has to refer to an IVR script that can receive POST variables (.asp, .jsp, .php, etc.) as opposed to an IVR file. A static XML file or VXML file would trigger a 405 error.
Again, sorry for suggesting the change to a .vxml file.
Regards,
Plum Support
Posted: Wed Aug 15, 2007 2:46 pm
by mkerzner@electronicdataco
Thank you, with your help I made the first calls.
Can I change the "caller id" when I call?
I know that I can get back all parameters that I pass to Plum, right?
Thanks again.
Posted: Wed Aug 15, 2007 2:47 pm
by mkerzner@electronicdataco
Oh, and what is the concept of a campaign, do I need to use it? One campaign should be enough?
IVR Call Queuing Reference Implementations documentation
Posted: Wed Aug 15, 2007 4:07 pm
by support
Hi,
You cannot change the "call id" when you make an IVR call since that is assigned to you by us.
You can get back all parameters that you pass to us. These are what you see when you sent those POST parameters for us to check.
One IVR campaign should be enough. If you want to read more about IVR campaigns and their use, you can check our IVR Call Queuing Reference Implementations documentation here:
http://www.plumvoice.com/docs/dev/plumd ... rreference
Regards,
Plum Support
Posted: Wed Aug 15, 2007 4:15 pm
by mkerzner@electronicdataco
Does is mean that I will be assigned a unique number which will always show as caller id, and when people call back on this number, then my application answers?
IVR customer ID needed to change caller id
Posted: Wed Aug 15, 2007 4:22 pm
by support
Hi,
Sorry once again, I mistook "caller id" for "call id".
Yes, you can change your "caller id" changed. To do this, you would have to send an e-mail to
support@plumvoice.com with your IVR customer id in the subject line. If you do not have a customer id, you can contact your account manager or
sales@plumvoice.com.
Regards,
Plum Support