Page 1 of 1
Based on DB Trigger, Plum should make a call and play msg
Posted: Fri Jul 02, 2010 8:13 am
by kishore.inline
hi
In my application, based on some event(insert) fired in DB, Plum should make out bound call and play the message which is configered in scratch pad, how to achieve this functionality.
with regards
Kishore
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Fri Jul 02, 2010 9:37 am
by support
Hi Kishore,
You cannot use scratchpads with our outbound system, so you would have to use a dynamic call script and set the URL to that script as your "start_url." Here's a link to our outbound API reference:
http://www.plumvoice.com/docs/dev/plumd ... nddevguide
Hopefully this helps you.
Regards,
Plum Support
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Wed Dec 29, 2010 9:43 am
by kishore.inline
Hi
At present my outbound call is enabled, using that, I can make a call to the configered number, so my number is static.
And it is plaing the message that is configered in XML file (Start URL).
How can i make a call to the number which are configered in my Database.
with regards
Kishore Geddada
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Wed Dec 29, 2010 9:54 am
by support
Hi Kishore,
To make an outbound call to a number you have stored in your database, you will have to write some code that pulls that number from your database, and then uses our outbound API to make the calls to that number using the start_url that you have.
Regards,
Plum Support
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Thu Dec 30, 2010 7:28 am
by kishore.inline
Hi
The below is my url
http://outbound.plumgroup.com/webservic ... lcome.aspx
The above is my URL and gives the error
<?xml version="1.0" ?>
<queuecall status="failed">Missing "login" POST variable.</queuecall>
Please help me on this
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Thu Dec 30, 2010 9:25 am
by support
Hi Kishore,
It looks like you are passing the variables to queuecall.php as GET variables rather than POST variables. In order to use our outbound API, you must POST those values to the queuecall.php file.
Regards,
Plum Support
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Fri Dec 31, 2010 7:22 am
by kishore.inline
http://outbound.plumgroup.com/webservice/queuecall.php?login=kishore.inline@gmail.com&pin=xxxx&phone_number=tel:+1804490xxxx&start_url=http://000.000.000.000:1000/OutBound_Welcome.aspx
can you help me where is the mistake in the above url
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Mon Jan 03, 2011 8:42 am
by support
Hi Kishore,
The issue with the URL above is that it is using GET variables (?login=
kishore.inline@gmail.com&pin=xxxx&phone_number=tel:+1804490xxxx&start_url=
http://000.000.000.000:1000/OutBound), instead of POST variables. In order to use our outbound API, you need to POST those variables and values to the URL:
http://outbound.plumgroup.com/webservice/queuecall.php or
http://outbound.plumgroup.com/webservice/queuecalls.php.
For more information on how to use our outbound API, you can take a look at the following documentation, and please let us know if you have more questions.
http://www.plumvoice.com/docs/dev/plumd ... nddevguide
http://www.plumvoice.com/docs/dev/plumd ... rreference
Regards,
Plum Support
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Tue Jan 04, 2011 6:26 am
by kishore.inline
Hi
In my URL as per the requirement I'm passing all the Post variables. which are mentioned below.
Should I need to pay any charges to work my URL. Let me know
Required POST Variables POST Variable Type Length Description
login string 128 sender login name
pin string 16 sender PIN code
phone_number string 128 phone number to be dialed -- be sure to include the 1 before the area code
start_url string 255 URL for the VoiceXML script to be used for the call
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Tue Jan 04, 2011 9:04 am
by support
Hi Kishore,
If you're including each of those variables in your POST to queuecall.php, you should be all set. Are you still have issues when POSTing these variables to queuecall.php? If so, could you please post some of your code here so we can take a look at it. It will help us to debug the problem.
Thanks,
Plum Support
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Thu Jan 06, 2011 5:02 am
by kishore.inline
Hi
I'm trying to execute below URL in the IE, if the url makes a call to the configered number, then I can go ahead and configer in my schedlar. which execute this url based on trigger event or schedular event.
http://outbound.plumgroup.com/webservic ... lcome.aspx
with regards
Kishore
Re: Based on DB Trigger, Plum should make a call and play ms
Posted: Thu Jan 06, 2011 9:48 am
by support
Hi Kishore,
You wouldn't be able to plug that URL into IE (or any browser) and have it make a call because it is using GET variables when accessing our outbound API. In order to queue calls programatically, you'd want to use a command line utility like curl. In order to test making outbound calls, you can use the form on the following page to queue your calls:
http://www.plumvoice.com/docs/dev/plumd ... rreference
Regards,
Plum Support