Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Getting Started With Plivo
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  22 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AC  
View profile  
 More options May 9 2012, 10:33 am
From: AC <antone...@carlomagno.net>
Date: Wed, 9 May 2012 07:33:33 -0700 (PDT)
Local: Wed, May 9 2012 10:33 am
Subject: Getting Started With Plivo

Hi all,

I have installed FS+PLIVO with clintberry.com instructions.

I have loaded the dialplan example from clintberry.com ...

But, when I dialed 1005 … not answered … I have changed the port in
“DEFAULT_ANSWER_URL” from 80 … 8084 … 8088 … in some case I hear a free
line …

where I wrong ?

regards
AC


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options May 9 2012, 3:49 pm
From: Mike <m...@plivo.com>
Date: Wed, 9 May 2012 21:49:46 +0200
Local: Wed, May 9 2012 3:49 pm
Subject: Re: Getting Started With Plivo
Hi,

do you have a webserver ready to serve your Plivo XML ?

Is DEFAULT_ANSWER_URL pointing to this webserver ?

On Wed, May 9, 2012 at 4:33 PM, AC <antone...@carlomagno.net> wrote:
> Hi all,

> I have installed FS+PLIVO with clintberry.com instructions.

> I have loaded the dialplan example from clintberry.com ...

> But, when I dialed 1005 … not answered … I have changed the port in
> “DEFAULT_ANSWER_URL” from 80 … 8084 … 8088 … in some case I hear a free line
> …

> where I wrong ?

> regards
> AC

--
--

Michael Ricordeau
Co-Founder Plivo

m...@plivo.com
http://www.plivo.com
twitter @mricordeau
linkedin http://fr.linkedin.com/in/michaelricordeau


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AC  
View profile  
 More options May 10 2012, 5:10 am
From: AC <antone...@carlomagno.net>
Date: Thu, 10 May 2012 02:10:16 -0700 (PDT)
Local: Thurs, May 10 2012 5:10 am
Subject: Re: Getting Started With Plivo
Hi,
I think yes ... the DEFAULT_ANSWER_URL point to http://127.0.0.1:8084/answered
...  and when I call 1005 ... I have "free line tone"

How to check if my webserver is ready to serve XML ?

regards
antonello

On 9 Mag, 21:49, Mike <m...@plivo.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Venky  
View profile  
 More options May 10 2012, 5:11 am
From: Venky <ve...@plivo.com>
Date: Thu, 10 May 2012 14:41:24 +0530
Local: Thurs, May 10 2012 5:11 am
Subject: Re: Getting Started With Plivo

http://127.0.0.1:8084/answered  should return the required xml for the
calls to work and should be reachable by plivo from a public ip.

Regards
Venky


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AC  
View profile  
 More options May 10 2012, 5:21 am
From: AC <antone...@carlomagno.net>
Date: Thu, 10 May 2012 02:21:44 -0700 (PDT)
Local: Thurs, May 10 2012 5:21 am
Subject: Re: Getting Started With Plivo
Hi Venky,

I had already tried but it always returns a blank page.

I have tried also in root command line with CURL .. but always blank
page

antonello

On 10 Mag, 11:11, Venky <ve...@plivo.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Venky  
View profile  
 More options May 10 2012, 5:25 am
From: Venky <ve...@plivo.com>
Date: Thu, 10 May 2012 14:55:54 +0530
Local: Thurs, May 10 2012 5:25 am
Subject: Re: Getting Started With Plivo

Try doing view source on that blank page and see if it shows some xml?

Regards
Venky


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AC  
View profile  
 More options May 10 2012, 5:42 am
From: AC <antone...@carlomagno.net>
Date: Thu, 10 May 2012 02:42:14 -0700 (PDT)
Local: Thurs, May 10 2012 5:42 am
Subject: Re: Getting Started With Plivo
Blank !

My ubuntu is configured with:

apache works on port 80
DEFAULT_ANSWER_URL = http://127.0.0.1:8084/answered/

I tried these url:

from another machine:

http://192.168.1.44    =  apache response with home page
http://192.168.1.44/answered    =  apache response with blank page
http://192.168.1.44:8084/answered/    =  apache response with error

I must configure apache with listening on another ports ?

On 10 Mag, 11:25, Venky <ve...@plivo.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antonello Carlomagno  
View profile  
 More options May 10 2012, 6:13 am
From: Antonello Carlomagno <a.carloma...@gmail.com>
Date: Thu, 10 May 2012 12:13:23 +0200
Local: Thurs, May 10 2012 6:13 am
Subject: Re: Getting Started With Plivo
Hi Venky,

if you have time you can connect to my virtual machine to see where wrong.

I am going crazy !!

Antonello

2012/5/10 AC <antone...@carlomagno.net>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AC  
View profile  
 More options May 10 2012, 12:15 pm
From: AC <antone...@carlomagno.net>
Date: Thu, 10 May 2012 09:15:35 -0700 (PDT)
Local: Thurs, May 10 2012 12:15 pm
Subject: Re: Getting Started With Plivo
I have checked the listen ports:

80 -> apache2
8084 -> python
8088 -> python
8089 -> python

but in DEFAULT_ANSWER_URL what port I must use ?

On 10 Mag, 12:13, Antonello Carlomagno <a.carloma...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike  
View profile  
 More options May 10 2012, 12:32 pm
From: Mike <m...@plivo.com>
Date: Thu, 10 May 2012 18:32:26 +0200
Local: Thurs, May 10 2012 12:32 pm
Subject: Re: Getting Started With Plivo
DEFAULT_ANSWER_URL points to the url you want .

The flow of an inbound call is like that :

Inbound Call => Freeswitch => Plivo => HTTP GET/POST to DEFAULT_ANSWER_URL

You can use apache, nginx, ... any server talking HTTP .
Plivo doesn't provide the XML flow, you need to host on a webserver
the XML call flow .

When a call comes to Plivo, Plivo is fetching HTTP DEFAULT_ANSWER_URL
and retrieve the XML
you have set/you are hosting and parse this XML to make the call flow
for the call .

So on your side, you can for example use apache2 + php :
if you have apache2 listening on port 80 and you have a php script in
/var/www/xml.php
so you can point DEFAULT_ANSWER_URL to http://127.0.0.1/xml.php

xml.php will be responsible for returning XML with right syntax
according to Plivo docs .

--
--

Michael Ricordeau
Co-Founder Plivo

m...@plivo.com
http://www.plivo.com
twitter @mricordeau
linkedin http://fr.linkedin.com/in/michaelricordeau


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AC  
View profile  
 More options May 11 2012, 4:00 am
From: AC <antone...@carlomagno.net>
Date: Fri, 11 May 2012 01:00:20 -0700 (PDT)
Local: Fri, May 11 2012 4:00 am
Subject: Re: Getting Started With Plivo
Hi Mike

thanks, I thought that Apache read the XML files natively.

therefore, for TTS I must install on server a TTS engine, correct ?

what do you recommend that is compatible with FS + PLIVO?

regards
Antonello

On 10 Mag, 18:32, Mike <m...@plivo.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stewart small  
View profile  
 More options Jan 9, 6:16 pm
From: stewart small <seven.spl...@gmail.com>
Date: Wed, 9 Jan 2013 15:16:18 -0800 (PST)
Local: Wed, Jan 9 2013 6:16 pm
Subject: Re: Getting Started With Plivo

I am having similar issues with my plivo+freeswitch installation after
following the tutorial on clintberry.com

I’m having trouble when dailing 1005 after creating the index.php file in
the answer directory under my webroot. When I dail I get “failed with
reason NORMAL_CLEARING”

I am using Clint's custom dailplan.xml and made all the configuration
changes he mentioned. I am using FSComm as the softphone from a windows
vista machine. I am running freeswitch and plivo in unbuntu 12.10 on a
separate physical machine than the one the softphone is installed on.

Any help would be much appreciated. Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Backes  
View profile  
 More options Jan 31, 12:06 am
From: Chris Backes <ch...@cbackes.com>
Date: Wed, 30 Jan 2013 21:06:36 -0800 (PST)
Local: Thurs, Jan 31 2013 12:06 am
Subject: Re: Getting Started With Plivo

stewart - can you provide your index.php contents? when you navigate to
that file with your browser (http://x.x.x.x/index.php) do you receive any
errors?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stewart small  
View profile  
 More options Feb 1, 10:19 pm
From: stewart small <seven.spl...@gmail.com>
Date: Fri, 1 Feb 2013 22:19:17 -0500
Local: Fri, Feb 1 2013 10:19 pm
Subject: Re: Getting Started With Plivo

Hi Clint,

When I navigate to the index.php I see no errors actually all I see is a
blank page.

The contents of my index.php are below:

<?xml version="1.0" encoding="UTF-8" ?><Response>
     <Speak>Hello World</Speak></Response>

Thanks for taking the time to help with this


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Rhoads  
View profile  
 More options May 3, 3:56 pm
From: Brad Rhoads <bdr...@gmail.com>
Date: Fri, 3 May 2013 12:56:03 -0700 (PDT)
Local: Fri, May 3 2013 3:56 pm
Subject: Re: Getting Started With Plivo

I'm trying to get this exact example working too. If I dial 1005, I get
tones, beep beep beep, beep beep beep, and then hang up. The fs_cli log is
shown at:

http://pastebin.com/4FUhktzg

If I hit the index.php I see this in the error log:

PHP Parse error:  syntax error, unexpected T_STRING in
/var/www/drupal7/answer/index.php on line 1

Any ideas?

I wonder of the instructions might not be complete? There no reference to
php at all or plivo.php in particular.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Wildman  
View profile   Translate to Translated (View Original)
 More options May 3, 4:05 pm
From: Derek Wildman <derek.wi...@gmail.com>
Date: Fri, 3 May 2013 21:05:35 +0100
Local: Fri, May 3 2013 4:05 pm
Subject: Re: Getting Started With Plivo

Would you be able to paste bin the index.php please and I will take a look.

Have you tried using the freeswitch examples from their website. I have
been following them and learned far much more on how freeswitch likes to
run.
On 3 May 2013 20:56, "Brad Rhoads" <bdr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Rhoads  
View profile  
 More options May 3, 4:32 pm
From: Brad Rhoads <bdr...@gmail.com>
Date: Fri, 3 May 2013 14:32:23 -0600
Local: Fri, May 3 2013 4:32 pm
Subject: Re: Getting Started With Plivo

We're trying to follow this tutorial:
http://clintberry.com/2011/getting-started-with-plivo/#more-233

index.php has precisely the following code. It seems that the idea is that
should just be echoed as the response. Should this work?

<?xml version="1.0" encoding="UTF-8" ?><Response>
     <Speak>Hello World</Speak></Response>

I found the php examples git hub here:

https://github.com/plivo/plivo-examples-php

But I'm not sure what's what. I'm trying to get started with a simple
example. Which example there would be a good starting point?

Thanks!
---------------------------
www.maf.org/rhoads
www.ontherhoads.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Wildman  
View profile   Translate to Translated (View Original)
 More options May 3, 4:46 pm
From: Derek Wildman <derek.wi...@gmail.com>
Date: Fri, 3 May 2013 21:46:57 +0100
Local: Fri, May 3 2013 4:46 pm
Subject: Re: Getting Started With Plivo

Ah okay. To keep it simple change index.php to index.xml basically in a php
document it is meant to start with <?php which at the moment its starting
with <?xml that will clear your syntax errors. Now go to your browser and
load the index.xml file and you should see the output with your response.

Try and make a call to your extension and see if you get the correct
response.

Cheers,

Derek
On 3 May 2013 21:32, "Brad Rhoads" <bdr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Miller  
View profile  
 More options May 3, 5:48 pm
From: Tony Miller <jusanotheran...@gmail.com>
Date: Fri, 3 May 2013 14:48:45 -0700 (PDT)
Local: Fri, May 3 2013 5:48 pm
Subject: Re: Getting Started With Plivo

Brad,

You can do what Derek said to resolve the immediate problem. Do not forget
to also change the answer url in Plivo config to say index.xml instead of
index.php.

Alternatively, you can use this code in your index.php to resolve the
syntax errors and make things work:

<?php
/* Render RESTXML */
header("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
?>
<Response>
<Speak>Hello World</Speak>
</Response>

You did the right thing by looking at Plivo PHP examples on github.
Download that entire repository and put it in your webroot (/var/www). Look
at /examples/phonemenu/phonemenu.php for an excellent start at
understanding how you can use Plivo for setting up an IVR/answering
machine. In fact, I have a modified version of phonemenu.php set as my
DEFAULT_ANSWER_URL in Plivo config.

*Clint:* If you happen to read this, given how high-ranked your blog is on
Plivo setup searches, please update your blog article so other Plivo
newbies do not face the same issue :)

Tony


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Rhoads  
View profile  
 More options May 3, 6:15 pm
From: Brad Rhoads <bdr...@gmail.com>
Date: Fri, 3 May 2013 16:15:16 -0600
Local: Fri, May 3 2013 6:15 pm
Subject: Re: Getting Started With Plivo

Thanks! If works now.

---------------------------
www.maf.org/rhoads
www.ontherhoads.org

On Fri, May 3, 2013 at 3:48 PM, Tony Miller <jusanotheran...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Miller  
View profile  
 More options May 3, 7:07 pm
From: Tony Miller <jusanotheran...@gmail.com>
Date: Fri, 3 May 2013 16:07:34 -0700 (PDT)
Local: Fri, May 3 2013 7:07 pm
Subject: Re: Getting Started With Plivo

Yay! Dig into the Plivo PHP examples and have fun :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stewart small  
View profile  
 More options Jun 3, 10:45 pm
From: stewart small <seven.spl...@gmail.com>
Date: Mon, 3 Jun 2013 21:45:16 -0500
Local: Mon, Jun 3 2013 10:45 pm
Subject: Re: Getting Started With Plivo

Hi Brad,

Sorry I'm  responding to this soooooo, late. I gave up on Plivo. I found it
very difficult to work with and the documentation sparse. Unfortunately It
no longer falls in my plans of things to learn. I may be open to it again
down the road.

Regards,
Stewart


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »