The voice application failed to register with the sip server , The voice app is not registered with SIP server Audio might not be working correctly

2,864 views
Skip to first unread message

Kiss-Kálmán Dániel

unread,
Oct 23, 2011, 6:12:58 AM10/23/11
to BigBlueButton-dev
sudo bbb-conf --check:
The voice app is not registered with SIP server. Audio might not be
working correctly.
The voice application failed to register with the sip server.

Desription:
You cannot join to the audio conference even if you press microphone
button and allow microphone.
You got multiple (dual) nic so maybe Freeswitch is listening on
external nic (external_IP).

Check out:
/opt/freeswitch/log/freeswitch.xml.fsxml
Search and try find (about line 40): FreeSWICH will default to
"external_IP" unless changed

Solution:
First:
Let's change bigbluebutton-sip server local ip:
Open /usr/share/red5/webapps/sip/WEB_INF/bigbluebutton-sip.properties
Change the line sip.server.host=intenal_IP to
sip.server.host=127.0.0.1

Don't forget: if you leave more then one line including
sip.server.host, bbb work perfectly, but bbb-conf --check maybe echos
errors.
#sip.server.host=internap_IP <--- dont leave this line even it is just
a comment
sip.server.host=127.0.0.1

Second:
Let's change freeswitch local ip:
Open /opt/freeswitch/conf/vars.xml and insert a new line:
<X-PRE-PROCESS cmd="set" data="local_ip_v4=127.0.0.1"/> <--- new
line
<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>

Restart BigBlueButton:
sudo bbb-conf --clean

Daniel
ps: Don't take care about the lines "does not match the local IP
address" if you run bbb-conf --check

Fred Dixon

unread,
Oct 23, 2011, 7:42:40 AM10/23/11
to bigblueb...@googlegroups.com
Hi Kiss-Kálmán

Thanks for sharing this solution!


Regards,... Fred
--
http://code.google.com/p/bigbluebutton/wiki/FAQ#BigBlueButton_Committer

> --
> You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
> To post to this group, send email to bigblueb...@googlegroups.com.
> To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
>

Erick Almeida

unread,
Feb 3, 2012, 1:10:59 PM2/3/12
to bigblueb...@googlegroups.com
Hi all,
I'm with a same problema in my BBB Server (EC2)

Here my conf files e logs:

 /opt/freeswitch/conf/vars.xml
<X-PRE-PROCESS cmd="set" data="local_ip_v4=127.0.0.1"/>
<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
<X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
<X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
<X-PRE-PROCESS cmd="set" data="use_profile=internal"/>

/usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
sip.server.host=127.0.0.1
sip.server.port=5060
sip.server.username=bbbuser
sip.server.password=secret

cat /usr/share/red5/log/sip.log
[main] DEBUG ROOT - Starting up context sip
[Launcher:/sip] DEBUG o.b.voiceconf.red5.Application - VoiceConferenceApplication appStart[sip]
[Launcher:/sip] DEBUG o.b.voiceconf.sip.SipPeer - SIPUser register
[Launcher:/sip] DEBUG o.b.voiceconf.sip.SipPeer - SIPUser register : "bbbuser" <sip:bbb...@127.0.0.1>
[Launcher:/sip] DEBUG o.b.voiceconf.sip.SipPeer - SIPUser register : sip:bbb...@127.0.0.1
[pool-7-thread-1] INFO  o.b.voiceconf.sip.SipRegisterAgent - Registering contact <sip:bbb...@127.0.0.1> (it expires in 3600 secs)
[Thread-6] ERROR o.b.voiceconf.sip.SipPeer - Failed to register with Sip Server.
[NioProcessor-9] INFO  o.b.voiceconf.red5.Application - 1-Erick[uid=i8oc8glvz9pe] [clientid=4] has connected to the voice conf app.
[NioProcessor-9] INFO  o.b.voiceconf.red5.Application - [clientid=4] connected from 187.13.153.237:59541.
[NioProcessor-9] DEBUG o.b.voiceconf.red5.Service - 1-Erick[uid=i8oc8glvz9pe][clientid=4] is requesting to join into the conference 70568
[NioProcessor-9] WARN  o.b.voiceconf.sip.SipPeer - Call request for default but not registered.
[NioProcessor-9] INFO  o.b.voiceconf.red5.Application - [clientid=4] disconnnected from 187.13.153.237:59541.
[NioProcessor-9] DEBUG o.b.voiceconf.red5.Application - 1-Erick[uid=i8oc8glvz9pe] [clientid=4] is leaving the voice conf app. Removing from ConnectionManager.
[NioProcessor-9] DEBUG o.b.v.red5.ClientConnectionManager - Removed client 4 from ConnectionManager.
[NioProcessor-9] DEBUG o.b.voiceconf.red5.Application - Forcing hang up 1-Erick[uid=i8oc8glvz9pe] [clientid=4] in case the user is still in the conference.
[NioProcessor-9] DEBUG o.b.voiceconf.sip.SipPeer - SIPUser hangup


finally when i run CHECK, i got this:

** Potential problems described below **
# The following properties in /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties have no value.
#     bigbluebutton.web.logoutURL
# IP does not match:
#                           IP from ifconfig: 10.252.10.240
#   /etc/nginx/sites-available/bigbluebutton: 177.71.177.112
# API URL IPs do not match host:
#                                IP from ifconfig: 10.252.10.240
#  /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp: 177.71.177.112

# The voice application failed to register with the sip server.
#   Try running: sudo bbb-conf --clean

# The IP address (177.71.177.112) set for playback_host in
#    /usr/local/bigbluebutton/core/scripts/slides.yml
# does not match the local IP address (10.252.10.240).

Thanks for attention.

Erick Almeida

unread,
Feb 4, 2012, 9:39:29 AM2/4/12
to bigblueb...@googlegroups.com
I found a problem in this file:

/usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
sip.server.host=127.0.0.1
sip.server.port=5060 <--
sip.server.username=bbbuser
sip.server.password=secret

A correct port is 5070.

thnks.

Fu Jiantao

unread,
Feb 4, 2012, 11:45:45 AM2/4/12
to bigblueb...@googlegroups.com
Hi Eric, thanks for your sharing, however, I'm still confused about this port, seems freeswitch doesn't listen on this port.

2012/2/4 Erick Almeida <ephi...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/leacC2uTQgQJ.

Richard Alam

unread,
Feb 4, 2012, 11:53:21 AM2/4/12
to bigblueb...@googlegroups.com
On Sat, Feb 4, 2012 at 11:45 AM, Fu Jiantao <fuj...@gmail.com> wrote:
> Hi Eric, thanks for your sharing, however, I'm still confused about this
> port, seems freeswitch doesn't listen on this port.

bbb-sip uses 5070 to listen for messages from FS which listens on 5060.

--
-----
BigBlueButton Developer
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

Reply all
Reply to author
Forward
0 new messages