Voip_plivo module added

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
macneib's picture

I attempted to create a quick and dirty voip_plivo module for a project I'm working on.

http://drupal.org/sandbox/macneib/1277398

git clone http://git.drupal.org/sandbox/macneib/1277398.git voip_plivo

It's still new and very much non-functional.
I was hoping someone in the community would be interested in lending a hand to help me finish it.

TIA
macneib

Comments

I'm very much interested in this modules

mdesir's picture

Is there anyway I can use this module

ok

mdesir's picture

I tried to install the modules all i see is an blank screen

Can't work on voip-plivo right now.

macneib's picture

Hi everyone,

I'm still committed to the voip_plivo project and can begin work on it again in the next couple of days.

I've been dealing with a lot of work/life issues over the past couple of weeks and that has impacted my work on drupal development.

Things should settle down in the next couple of days and I can get back to work.

The blank screen issues may be because your php error reporting settings are not turned on properly.

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.

The new voipplivo module should become available soon...

leoburd's picture

Hello all,

So that you know, the VoIP Drupal team has partnered with macneib and we should be releasing the new voipplivo module in the next couple of weeks. Stay tuned!

-- the VoIP Drupal team

Release date for voipplivo module?

prinasen's picture

Hi Leoburd

Any news yet on the release date for voipplivo module?

Regards
Prinasen

Voip Plivo is availible and is functional.

macneib's picture

Hi Prinasen,

I pushed 'more functional' version of the Voip Plivo module to git a little while ago.

You view the code here:

http://drupalcode.org/sandbox/macneib/1277398.git/tree

The module will let you make calls. I'll focus on the $vars array in my next push.
I'm working on another project at the moment so I would welcome code from anyone else willing to work on this.

I also think it would be a good idea to organize a chat with anyone interested in using this module so that we can all agree on how it should come together.

Great

prinasen's picture

Hi Macneib,

Thanks, i will update now, and give feedback shortly!

Regards
Prinasen

Re: Voip Plivo is availible and is functional.

leoburd's picture

Hello macneib and all,

Sorry for the miscommunication, but the VoIP Drupal team was also working on a module to support Plivo connectivity. We started with some of the code provided by macneib, and then built the rest following the same structure of the other VoIP Drupal modules.

Our code is currently available here: https://github.com/leoburd/voipplivo

Believe it or not, our original plan was to insert our voipplivo.module as part of VoIP Drupal today (!?). :)

However, we'd be more than happy to leave the code somewhere else for the community to decide what to do with it. Our interest is to make it easy for people to create hybrid systems integrating Internet telephony with Drupal. We'll be more than happy support other groups in their efforts toward the same goals.

What would you like to do?

Best,

Leo and the rest of the VoIP Drupal team

Voip Plivo on github.com and sandbox

prinasen's picture

Hi Macneib,

Quick question

There is Voip Plivo module on Github: https://github.com/leoburd/voipplivo as well as your push on sandbox: http://drupalcode.org/sandbox/macneib/1277398.git/tree

Are both different releases of the Voip Plivo module?

Regards
Prinasen

Clarification on Github and Drupal Sandbox repos

macneib's picture

Hi Prinasen,

The repo at Github is not mine. It belongs to Leo and the Voip-Drupal team.
That's awesome that Voip Drupal is adsorbing the Plivo module. I just posted my code as a starting point. I'm not the best code maintainer. ;)
I recommend using the link that Leo provided since it will be the mainline module going forward.

Hi Leo, to avoid future misunderstandings, could you take possession of the Plivo sandbox on the Drupal site?
That way you can sync the github and drupal site into one code base.

Cheers,
Blair MacNeil

just a few more notes.

macneib's picture

Just looking at the code up on Github now. Looks pretty good so far.

as per the Plivo Documentation regarding the HangupUrl and RingUrl in includes/voipplivoserver.inc
The comment in the $params array caught my eye.

//TODO: Whats the purpose of hangup and ringing URLs? Is it optional?
//'HangupUrl' => "http://127.0.0.1:5000/hangup/",
//'RingUrl' => "http://127.0.0.1:5000/ringing/"

HangupUrl The URL that will be notified by Plivo when the call hangs up. HangupCause will be sent to the URL as a POST parameter along with other parameters.

RingUrl The URL that Plivo will notify when the call starts ringing. RequestUUID corresponding to the API request sent earlier and CallUUID will be sent along with the other parameters.

I'm using the RingUrl and HangupUrl to display call flow in realtime as well as generate CDRs. They're not necessary in the $params array but they are a nice feature if one is looking to have 'real-timeness' to their application.

Plivo support added to VoIP Drupal

leoburd's picture

Hello there,

We've just added the voipplivo.module to the VoIP Drupal development branch (6.x-1.x).

git clone --branch 6.x-1.x http://git.drupal.org/project/voipdrupal.git

We still need to do a bunch of testing and improve the documentation before assuming that the module is ready to go, but it already implements most of the VoIP Drupal API.

Let us know what you think, ok?

Best,

Leo and the rest of the VoIP Drupal team

PS. Please disregard the code from github.com/leoburd/voipplivo

Plivo module

prinasen's picture

Hello All

Thanks again! for another great voip drupal module.

Will give feedback soon after playing around with it!

Regards
Prinasen

Plivo returns White screen

prinasen's picture

Hello All,

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!

Regards
Prinasen

Plivo returns White screen

smrdoshi's picture

Hi All,

I am facing same issue when trying to add sid and token in voip drupal for plivo. Also its not showing any error message in error logs.

Please help me to figure out issue.

Thanks in advance

Thanks,
Samir Doshi

Re: Plivo returns White screen

leoburd's picture

Hello Prinasen and Samir,

Are you sure that Plivo is working well in your server?

Independently of anything, would any of you mind filing a bug report on this issue? This way we can properly take care of it.

Best,

Leo

Can you check that you have

tamerzg's picture

Can you check that you have enabled PHP Curl?

Maybe this PHP snippet will help you checking:

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

?>

Plivo returns White screen

smrdoshi's picture

Hi,

Curl is installed.
Can you please let me know how we can confirm if the plivo is installed properly or not. I am checking plivo service on server and its showing running status, But I am not sure how to check if plivo is in actual working or not.

Thanks again.

Thanks,
Samir Doshi

Plivo returns White screen

prinasen's picture

Hello all,

Same here!

Regards
Prinasen

Re: Plivo returns White screen

leoburd's picture

Hello all,

I've just created a bug report for this issue and added a few comments regarding how to check if Plivo is working: http://drupal.org/node/1330542

From now on, let's move this discussion to the issue queue so that others might also be able to follow it.

Best,

.L.

VoIP Drupal

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: