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

Auto schdeuling -outbound call

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
prasanth
Posts: 10
Joined: Tue Aug 17, 2004 12:49 am

Auto schdeuling -outbound call

Post by prasanth »

Hi Team,

I used fsockopen in php to post outbound calls to the plum server.
this file will be scheduled in linux CRON scheduler.

When i am trying to execute the code following error occures,
-------------------------------------
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/ssenior/public_html/ivr/callfunctions.php on line 23

Warning: fsockopen(): unable to connect to http://outbound.plumgroup.com:80 in /home/ssenior/public_html/ivr/callfunctions.php on line 23

-------------------------------------

Following is the code I used,

$fp = fsockopen("http://outbound.plumgroup.com", 80, $errno, $errstr, 60);
if (!$fp)
{
return "error1";
}
else
{
if ($method == 'GET') {
$path .= '?' . $data;
}

fputs($fp, $method /webservice/queuecall.php HTTP/1.1\r\n");
......
.......

I would like to know that the method i used is write or wrong?
And what is the reason for the error.

What url used for posting the request to plum? Now i am using the demo account? What url i should use when i purchase the orginal version?

Also please give me the links related to scheduling files in plum.

I expect your answer. Thanking you

Pt

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

Advice for PHP programming on IVR system

Post by support »

I would recommend visiting http://www.php.net for excellent advice on programming in PHP for outbound IVR systems.

Post Reply