Wrong SDP informations sent when dialing FS

154 views
Skip to first unread message

Matteo

unread,
Nov 5, 2012, 10:56:49 AM11/5/12
to bigblueb...@googlegroups.com
Hi,

I've noticed that local SDP (red5 sip client) is built using the server (freeswitch IP) via informations.
When FS is local (127.0.0.1) everything works because red5 sip client IP is == FS sip IP,
but if you use a remote FS you end up in having no audio, because red5 sip client
puts in his own SDP the FS ip address, instead of it's local ip.

Can you confirm this behaviour?

I think I can open an issue in the tracker, or I'm wrong :) ?

regards,
Matteo

Matteo

unread,
Nov 5, 2012, 11:04:01 AM11/5/12
to bigblueb...@googlegroups.com
Just for additional informations:

in my setup a FS has been setup on remote machine, with IP 192.168.1.32.
I've changed relevant bbb conf files, and I see that bbb correctly registers 
to my FS and connect to esl.

but when I join a conference, I can see that BBB got the join event
(so esl is working ok), but I cannot hear anything.

Looking to red5 sip.log :

2012-11-05 12:14:43,899 [NioProcessor-4] DEBUG o.b.voiceconf.sip.CallAgent - localSession Descriptor = v=0
o=31-accipicchia 0 0 IN IP4 192.168.1.32
s=Session SIP/SDP
c=IN IP4 192.168.1.32
t=0 0
m=audio 15004 RTP/AVP 100 8 18 0 111
a=rtpmap:100 SPEEX/16000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:18 G729/8000/1
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000/1
a=rtpmap:111 ILBC/8000/1
a=fmtp:111 mode=30
a=ptime:20

With this setup FS is trying to send media to itself... so call will fail after some
minutes with a media timeout error.

regards, Matteo

Richard Alam

unread,
Nov 5, 2012, 2:32:27 PM11/5/12
to BigBlueButton-dev
On Mon, Nov 5, 2012 at 10:56 AM, Matteo <mbranc...@gmail.com> wrote:
Hi,

I've noticed that local SDP (red5 sip client) is built using the server (freeswitch IP) via informations.
When FS is local (127.0.0.1) everything works because red5 sip client IP is == FS sip IP,
but if you use a remote FS you end up in having no audio, because red5 sip client
puts in his own SDP the FS ip address, instead of it's local ip.

I have used freeswitch externally by just changing the IP address in bigbluebutton-sip.properties.

I'll see if I can reproduce the problem when I get time.

Richard
 

Can you confirm this behaviour?

I think I can open an issue in the tracker, or I'm wrong :) ?

regards,
Matteo

--
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/-/8lwNO5tYlfEJ.
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.



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

matteo brancaleoni

unread,
Nov 5, 2012, 5:35:20 PM11/5/12
to bigblueb...@googlegroups.com
Hi,


On Mon, Nov 5, 2012 at 8:32 PM, Richard Alam <ritz...@gmail.com> wrote:

I have used freeswitch externally by just changing the IP address in bigbluebutton-sip.properties.


yes, I've done the same thing, and everything works, except media.
 
I'll see if I can reproduce the problem when I get time.

thanks!

matteo 

HostBBB.com

unread,
Nov 5, 2012, 6:58:44 PM11/5/12
to BigBlueButton-dev
Matteo, What is the IP address of the BBB server, are you on a single
lan with no routing.. want to make sure the RTP ports are open for
media on the 2 boxes and they are on the same segment.

I've ran seperate freeswitch servers with BBB before not had problems,
you have to open the ESL port on new freeswitch and make sure the bbb
servers ip is allowed to connect to it.

The only other thing i have had to do before, when involved with
connection thru routers, it setting up the STUN, and NAT traversal to
be agreement. This was need so any sip client could connect thru
there router.

regards,
Stephen




On Nov 5, 5:35 pm, matteo brancaleoni <mbrancale...@gmail.com> wrote:
> Hi,
>

matteo brancaleoni

unread,
Nov 6, 2012, 1:48:23 AM11/6/12
to bigblueb...@googlegroups.com
Hi,

On Tue, Nov 6, 2012 at 12:58 AM, HostBBB.com <207...@gmail.com> wrote:
Matteo, What is the IP address of the BBB server, are you on a single
lan with no routing..
sure they're on same lan.
 
want to make sure the RTP ports are open for
media on the 2 boxes and they are on the same segment.
yes everything open.

But the issue is the wrong sdp description... is pretty clear why
it does not work, the question is why BBB is putting FS IP in it's own SDP.
 
I've ran seperate freeswitch servers with BBB before not had problems,
you have to open the ESL port on new freeswitch and make sure the bbb
servers ip is allowed to connect to it.

esl is ok, I can see BBB connected and on flash gui everything works.
 
The only other thing i have had to do before, when involved with
connection thru routers, it setting up the STUN, and NAT traversal to
be agreement.   This was need so any sip client could connect thru
there router.

yup, I know the matte arond that, but now I'm on same physical lan.

tnanks and regards,
matteo.

Alex Gotev

unread,
Nov 7, 2012, 11:46:50 AM11/7/12
to bigblueb...@googlegroups.com
I've opened an issue too and provided detailed information about the problem and its solution here http://code.google.com/p/bigbluebutton/issues/detail?id=1355

Alex Gotev

unread,
Nov 8, 2012, 11:56:09 AM11/8/12
to bigblueb...@googlegroups.com
I've forked the bigbluebutton project on github and resolved the issue on the external_freeswitch branch here: https://github.com/alexbbb/bigbluebutton/tree/external_freeswitch
Reply all
Reply to author
Forward
0 new messages