PHP cURL model

PHP cURL model 

Mon Mar 08, 2010 1:56 pm

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.

$mysession = curl_init( [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]


[or we do something here with $out]




1 comment
  • Official comment

    using cURL for IVR outbound calls

    Mon Mar 08, 2010 2:41 pm

    Hi Wayne,

    The following link describes how to use php cURL for invoking the queuecall and queuecalls webservices for outbound: ... queuecalls

    Hope this helps.
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post