Issue description as reported in http://groups.drupal.org/node/175299#comment-619419 :

"I have installed latest release of voip drupal. I have configured plivo and freeswitch. But when I enter: Plivo Account SID and Plivo Auth Token and click on save it returns with a blank screen.

I have also done the below:

in your php.ini

enable the following:

error_reporting = E_ALL

Save your php.ini file and restart your web server

Repeat the error conditions and see if there is an error reported on that white screen.

Still not showing any error message, just a white screen. Please could some assist!"

Comments

leoburd’s picture

(As posted on http://groups.drupal.org/node/175299#comment-619544)

Can you check that you have enabled PHP Curl?

Maybe this PHP snippet might help you checking:

<?php
if(!extension_loaded("curl")){
  print 'Curl is not installed';
}
else {
  print 'Curl is installed';
}
?>
leoburd’s picture

In order to check if Plivo is working properly, you can do any (or all ) of the following:

  • Run [plivo directory]/plivo/bin/plivo status and see what shows up
  • Check the logs in [plivo directory]/plivo/tmp/

This bug is very likely to be related to a server configuration problem. In order to investigate further, we might have to have access to your server and try to reproduce the error from there. If you are willing to try this approach, please send us a direct email (users leoburd or tamerzg)

leoburd’s picture

Assigned: Unassigned » tamerzg
leoburd’s picture

Another thing:

In order to facilitate testing, please install and enable voipdrupal's dev version (http://drupal.org/node/1079264) and also the devel module (http://drupal.org/project/devel)

Thanks,

.L.

tamerzg’s picture

We just commited some changes reflecting curl issue, so please try it with latest dev snapshoot (should be available at drupal.org in next couple of hours, or use git directly).

macneib’s picture

It's important to isolate the issue away from Plivo or Drupal.

for demonstration purposes only and reduce the amount of servers in play to just one.
Install Plivo and FS using the install scripts and instructions provided at the plivo site.
Make sure you have a softphone(x-lite) fully registered to extension 1000

Test for pure Plivo-only connectivity.

cd /var/www/html
git clone http://github.com/plivo/plivohelper-php.git
cd plivohelper-php/examples
curl http://127.0.0.1/plivohelper-php/examples/example-call.php

If Plivo is functional then you should get a ring on the softphone.
If this fails your probem is on the plivo side. If it rings Voip-Plivo is misconfigured.

Let me know the results of this test.

Cheers
Blair

tamerzg’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)