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

php cURL model

Questions and answers about Plum Fuse development

Moderators: admin, support

Locked
wrothman@dealermagic.net
Posts: 69
Joined: Wed Feb 24, 2010 5:59 pm
Location: Chagrin Falls, OH
Contact:

php cURL model

Post by wrothman@dealermagic.net »

As we understand it, to initiate an outbound call we do an HTTP POST to queuecall.php.

We want to make that POST programmatically rather than from a web page form, using php curl, we think. Can you send us a model of how that would go? I think the main outline would be as follows.

<?php
$mysession = curl_init(http://outbound.plumgroup.com/webservice/quecall.php...) [for a POST, I think the rest of the data doesn't go in this URL but in one of the curl_setopt settings?]

curl_setopt($mysession, CURLOPT_...)

curl_setopt(.... [probably a series of these, including in one or some of them the POST data itself?]

$out = curl_exec($mysession);

[we do something with $out]

curl_close($mysession);

[or we do something here with $out]

?>

Thanks
DMIVS

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

using cURL for IVR outbound calls

Post by support »

Hi Wayne,

The following link describes how to use php cURL for invoking the queuecall and queuecalls webservices for outbound: http://support.plumvoice.com/viewtopic. ... queuecalls

Hope this helps.

Regards,
Plum Support

Locked