Conference attributes not working

138 views
Skip to first unread message

Jonathan Sadowski

unread,
Aug 14, 2011, 9:16:49 PM8/14/11
to Plivo Users
Hey everyone... I seem to be having some issues with the conference
element... I'm trying to use the following XML:

<?xml version="1.0" encoding="UTF-8"?>
<Response><Conference muted="true" startConferenceOnEnter="false"
endConferenceOnExit="true" waitSound="/usr/local/freeswitch/sounds/
music/8000/suite-espanola-op-47-leyenda.wav">waitingroom</Conference></
Response>

However... not a single one of the attributes I list gets applied to
the conference. The conference starts when I enter it, and is unmuted
(there is no wait sound, however, this may be due to the fact that the
conference starts when I enter it)... when I leave the conference it
does not end.

Here's a list of the attributes that I've tested and know to be
working: enterSound, callbackUrl, digitsMatch

Here's a list of the attributes that I've tested and know to be
malfunctioning: exitSound, muted, startConferenceOnEnter,
endConferenceOnExit

Here are the attributes I haven't tested: maxMembers, timeLimit,
hangupOnStar, recordFilePath, recordFileFormat, recordFileName,
action, method, callbackMethod

And finally... I'm not sure if waitSound works or not, because I'm
unable to create a conference that isn't started.

Does anyone know if this is a known issue? Is anyone able to get
correct behavior using the XML above?

Thanks!

mi...@plivo.com

unread,
Aug 16, 2011, 12:57:09 PM8/16/11
to plivo...@googlegroups.com
Hi,

get the last plivo revision and retry .

For exitSound, the sound is played in conference, so you don't hear it
but other members will hear it .

For muted, it was a bug, fixed now, thanks for the report =)

For waitSound, the url you provides must return a RESTXML with Play or Wait Elements only.

endConferenceOnExit and tartConferenceOnEnter must work as described here : http://www.plivo.org/docs/restxml/voice-elements/conference/

For the last two attributes, I will test more in depth and reply here .


Thanks

Michael

Le Sun, 14 Aug 2011 18:16:49 -0700 (PDT),
Jonathan Sadowski <jonathan...@gmail.com> a écrit :

mi...@plivo.com

unread,
Aug 17, 2011, 2:45:22 PM8/17/11
to plivo...@googlegroups.com
Hi,

seems a bug when setting endConferenceOnExit="true" maybe in Freeswitch.
(conference is always up with others members)

I will check that.


Le Sun, 14 Aug 2011 18:16:49 -0700 (PDT),
Jonathan Sadowski <jonathan...@gmail.com> a écrit :

> Hey everyone... I seem to be having some issues with the conference

mi...@plivo.com

unread,
Aug 18, 2011, 9:52:30 AM8/18/11
to plivo...@googlegroups.com
Ok checked in depth Conference element and fixed some features (muted, exitSound)
but I have again some problems to fix related to the way freeswitch implemented conference module :

- endConferenceOnExit : if we set to "true" for more than one member,
the conference will be destroyed only when all members with this attribute set to "true" have exited conf room.

- startConferenceOnEnter : not working :( Seems conf room "auto starts" when two members are in conference.

Le Sun, 14 Aug 2011 18:16:49 -0700 (PDT),
Jonathan Sadowski <jonathan...@gmail.com> a écrit :

> Hey everyone... I seem to be having some issues with the conference

Jonathan Sadowski

unread,
Aug 16, 2011, 1:42:12 PM8/16/11
to plivo...@googlegroups.com
I tried upgrading plivo by moving my existing install to a new location and then running the install script using the old location:
mv /usr/local/plivo /usr/local/plivo-old
wget --no-check-certificate https://github.com/plivo/plivo/raw/master/scripts/plivo_install_beta.sh
chmod +x plivo_install_beta.sh
./plivo_install_beta.sh /usr/local/plivo

But after running the install script, /usr/local/plivo/bin/plivo does not exist....
root@Server:~# ls /usr/local/plivo/bin/
activate  activate.csh  activate.fish  activate_this.py  easy_install  easy_install-2.6  pip  pip-2.6  python

Here's the output from the install script.... any suggestions?

root@Server:~# ./plivo_install_beta.sh /usr/local/plivo

Plivo Framework will be installed at "/usr/local/plivo"
Press any key to continue or CTRL-C to exit

Setting up Prerequisites and Dependencies
Hit http://us.archive.ubuntu.com lucid Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Hit http://security.ubuntu.com lucid-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid Release
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com lucid-security Release
Hit http://us.archive.ubuntu.com lucid-updates Release
Hit http://security.ubuntu.com lucid-security/main Packages          
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Hit http://us.archive.ubuntu.com lucid-updates/main Packages
Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git-core is already the newest version.
python-setuptools is already the newest version.
python-dev is already the newest version.
build-essential is already the newest version.
libevent-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
Searching for virtualenv
Best match: virtualenv 1.6.4
Processing virtualenv-1.6.4-py2.6.egg
virtualenv 1.6.4 is already the active version in easy-install.pth
Installing virtualenv script to /usr/local/bin
Using /usr/local/lib/python2.6/dist-packages/virtualenv-1.6.4-py2.6.egg
Processing dependencies for virtualenv
Finished processing dependencies for virtualenv
Searching for pip
Best match: pip 1.0.2
Processing pip-1.0.2-py2.6.egg
pip 1.0.2 is already the active version in easy-install.pth
Installing pip script to /usr/local/bin
Installing pip-2.6 script to /usr/local/bin
Using /usr/local/lib/python2.6/dist-packages/pip-1.0.2-py2.6.egg
Processing dependencies for pip
Finished processing dependencies for pip
New python executable in /usr/local/plivo/bin/python
Installing setuptools............done.
Installing pip...............done.
Obtaining plivo from git+git://github.com/plivo/plivo.git#egg=plivo
  Cloning git://github.com/plivo/plivo.git to /usr/local/plivo/src/plivo
github.com[0: 207.97.227.239]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
  Complete output from command /usr/bin/git clone -q git://github.com/plivo/plivo.git /usr/local/plivo/src/plivo:
  
----------------------------------------
Command /usr/bin/git clone -q git://github.com/plivo/plivo.git /usr/local/plivo/src/plivo failed with error code 128
Storing complete log in /root/.pip/pip.log
--2011-08-16 12:40:18--  https://github.com/plivo/plivo/raw/master/src/config/default.conf
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.github.com/plivo/plivo/master/src/config/default.conf [following]
--2011-08-16 12:40:18--  https://raw.github.com/plivo/plivo/master/src/config/default.conf
Resolving raw.github.com... 207.97.227.243
Connecting to raw.github.com|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2743 (2.7K) [text/plain]
Saving to: `/usr/local/plivo/etc/plivo/default.conf'
100%[==========================================================================================================================================================================>] 2,743       --.-K/s   in 0s      
2011-08-16 12:40:18 (612 MB/s) - `/usr/local/plivo/etc/plivo/default.conf' saved [2743/2743]



**************************************************************
Congratulations, Plivo Framework is now installed in /usr/local/plivo
**************************************************************
* Configure plivo :
    The default config is /usr/local/plivo/etc/plivo/default.conf
    Here you can add/remove/modify config files to run mutiple plivo instances
* To Start Plivo :
    /usr/local/plivo/bin/plivo start
**************************************************************

Visit http://www.plivo.org for documentation and examples

Venky

unread,
Aug 18, 2011, 8:49:16 PM8/18/11
to plivo...@googlegroups.com
Cloning git://github.com/plivo/plivo.git to /usr/local/plivo/src/plivo
github.com[0: 207.97.227.239]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Command /usr/bin/git clone -q git://github.com/plivo/plivo.git /usr/local/plivo/src/plivo failed with error code 128


Clearly there is an issue here. Check and try again.


Regards
Venky

Jonathan Sadowski

unread,
Aug 19, 2011, 1:39:04 AM8/19/11
to plivo...@googlegroups.com
Thanks!  Works great now... I missed that error in the output :)

Github was sure having its share of issues this week

mi...@plivo.com

unread,
Aug 19, 2011, 4:54:55 AM8/19/11
to plivo...@googlegroups.com
Hi John,

I added stayAlone attribute to Conference element so now you can choose
if one user can stay alone or not in conference.
I have updated the doc here : http://www.plivo.org/docs/restxml/voice-elements/conference/

You also need to configure conference module in Freeswitch :
Download https://github.com/plivo/plivo/blob/master/freeswitch/conf/conference.conf.xml
Copy to /usr/local/freeswitch/conf/autoload_configs/
And restart Freeswitch .

Note :
If you reinstall Freeswitch with script install.sh,
it will configure conference module for you.


Regards

Michael

Le Fri, 19 Aug 2011 00:39:04 -0500,


Jonathan Sadowski <jonathan...@gmail.com> a écrit :

> Thanks! Works great now... I missed that error in the output :)

> >> Command /usr/bin/git clone -q git://github.com/plivo/plivo.git/usr/local/plivo/src/plivo failed with error code 128

Clarence Coggins

unread,
Dec 2, 2013, 1:28:45 PM12/2/13
to plivo...@googlegroups.com, jonathan...@gmail.com

How did you resolve the github issues?

Thanks

Samir Naik

unread,
Jan 15, 2014, 12:32:12 PM1/15/14
to plivo...@googlegroups.com, jonathan...@gmail.com
Reply all
Reply to author
Forward
0 new messages