You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Chris Botts <cb...@syndeonetwork.com> on 2020/04/06 18:36:45 UTC

Open Meetings 4.0.10 - Sip integration

Greetings,

I have installed Openmeetings 4.0.10 Setup sip integration, setup https and a certificate.  I am able to access the web log and all works there. I am able to call and join a conference with the room and pin.

The problem I am facing is the open meeting web and the asterisk conference are not connected.  If I call into the conference with 2 Sips clients I can hear audio just fine.  If I also join with the web url I cannot here the audio from the web to the bridge.  I also face a similar issue mentioned in the past.  If I don't call in with a [red5sip_user]  the users get stuck in the waiting for leader until I join.  Even though I login via the web url.  They are not synced for some reason.  I have followed many guides to try and isolate the issue. I am hoping someone can direct me on where to look to figure out why the 2 are not interfacing.


Maybe the issue is red5sip is not connecting right

06 Apr 18:35:06 - [NioProcessor-1702]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:06 - [NioProcessor-1597]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for VSUYHC54V7EP4
06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session
06 Apr 18:35:06 - [NioProcessor-1715]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:06 - [NioProcessor-1659]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for LHDV6E85GH706
06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session
06 Apr 18:35:07 - [NioProcessor-1716]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1665]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1603]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:07 - [NioProcessor-1728]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1666]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for IJAX2KFQHCQVH
06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session

Thanks for any help.



Re: Open Meetings 4.0.10 - Sip integration

Posted by Chris Botts <cb...@syndeonetwork.com>.
I fixed the issue so far.  The value om.context  in red5sip.settings I had set to rooms as the same in the om config.  Changing it back to open meetings to match the app fixed it.  Now I am trying to figure out why I have one way audio with the PC with mic and camera.  Sip phones to not play in PC speakers but the mic plays in the sip conference.

Sent from Outlook Mobile<https://aka.ms/blhgte>
________________________________
From: Maxim Solodovnik <so...@gmail.com>
Sent: Monday, April 6, 2020 8:59:53 PM
To: Openmeetings user-list <us...@openmeetings.apache.org>
Subject: Re: Open Meetings 4.0.10 - Sip integration

According to red5sip log it is unable to connect to OM

have you
1) set up correct `uid` here https://github.com/openmeetings/red5sip/blob/master/src/main/scripts/settings.properties
2) Uncomment this https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/WEB-INF/classes/applicationContext.xml#L135 block and fill with "real" values (including UID from #1)
3) Turn this sip.enable setting https://openmeetings.apache.org/GeneralConfiguration.html to "Enabled" in Admin -> Config
4) "Enable SIP transport in the room" for specific room in Admin->Conf Rooms
?

On Tue, 7 Apr 2020 at 05:28, Chris Botts <cb...@syndeonetwork.com>> wrote:
I am getting closer.

I can see the debug and I think the issue has to do with the connection to the rooms .  As you can see It can’t get the room info  Its registered to asterisk just fine and both rooms show up in asterisk.

/openmeetings/rooms/40011                         : 60175
/openmeetings/rooms/40013                         : 123456

/SIP/Registry/red5sip_user                        : 127.0.0.1:5070<http://127.0.0.1:5070>:3600:red5sip_user:sip:red5sip_user@127.0.1.1:5070<http://3600:red5sip_user:sip:red5sip_user@127.0.1.1:5070>


6 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: code
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: property: code
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.o.Deserializer: Datatype: String
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 30 limit: 127
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: NetConnection.Connect.Rejected
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: val: NetConnection.Connect.Rejected
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 11 limit: 127
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: description
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: property: description
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.o.Deserializer: Datatype: String
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 34 limit: 127
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: No scope 'room/13' on this server.
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: val: No scope 'room/13' on this server.
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: null with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$1.decode #69
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler: messageReceived
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: JARJEMMY5JTZG with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.RTMPMinaIoHandler.messageReceived #136
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.n.r.RTMPConnection: Executor is null on JARJEMMY5JTZG state: connected
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.BaseRTMPClientHandler: Service name: _error args[0]: {level=error, code=NetConnection.Connect.Rejected, description=No scope 'room/13' on this server.}
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.BaseRTMPClientHandler: Received result for pending call - Service: null Method: connect Num Params: 1 0: {uid=fd33a942-0af9-4df7-821b-6d07466ff63e, sid=0ea9a717-51f4-4c2e-9734-728e6f$
06 Apr 22:24:50 - [NioProcessor-12]:[INFO ] o.r.s.n.r.RTMPRoomClient: connect
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: JARJEMMY5JTZG with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$2.encode #83
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: Service: null Method: getSipNumber Num Params: 1 0: 13
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: encodeCommand - command: Invoke #2: Service: null Method: getSipNumber Num Params: 1 0: 13
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Get connection: JARJEMMY5JTZG on thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: Call: Service: null Method: getSipNumber Num Params: 1 0: 13 pending: true
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: This is a pending call, send request
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: Writing params
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Get connection: JARJEMMY5JTZG on thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: null with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$2.encode #102
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: null with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.RTMPMinaIoHandler.messageReceived #138
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler: messageSent
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler: Session closed
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.n.r.RTMPConnection: Connection calls pending: 1

From: Chris Botts [mailto:cbotts@syndeonetwork.com<ma...@syndeonetwork.com>]
Sent: Monday, April 6, 2020 1:37 PM
To: user@openmeetings.apache.org<ma...@openmeetings.apache.org>
Subject: Open Meetings 4.0.10 - Sip integration

Greetings,

I have installed Openmeetings 4.0.10 Setup sip integration, setup https and a certificate.  I am able to access the web log and all works there. I am able to call and join a conference with the room and pin.

The problem I am facing is the open meeting web and the asterisk conference are not connected.  If I call into the conference with 2 Sips clients I can hear audio just fine.  If I also join with the web url I cannot here the audio from the web to the bridge.  I also face a similar issue mentioned in the past.  If I don’t call in with a [red5sip_user]  the users get stuck in the waiting for leader until I join.  Even though I login via the web url.  They are not synced for some reason.  I have followed many guides to try and isolate the issue. I am hoping someone can direct me on where to look to figure out why the 2 are not interfacing.


Maybe the issue is red5sip is not connecting right

06 Apr 18:35:06 - [NioProcessor-1702]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:06 - [NioProcessor-1597]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate<http://127.0.0.1:1935/room/hibernate>
06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for VSUYHC54V7EP4
06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session
06 Apr 18:35:06 - [NioProcessor-1715]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:06 - [NioProcessor-1659]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate<http://127.0.0.1:1935/room/hibernate>
06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for LHDV6E85GH706
06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session
06 Apr 18:35:07 - [NioProcessor-1716]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1665]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate<http://127.0.0.1:1935/room/hibernate>
06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1603]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate<http://127.0.0.1:1935/room/hibernate>
06 Apr 18:35:07 - [NioProcessor-1728]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1666]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate<http://127.0.0.1:1935/room/hibernate>
06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for IJAX2KFQHCQVH
06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session

Thanks for any help.




--
Best regards,
Maxim

Re: Open Meetings 4.0.10 - Sip integration

Posted by Maxim Solodovnik <so...@gmail.com>.
According to red5sip log it is unable to connect to OM

have you
1) set up correct `uid` here
https://github.com/openmeetings/red5sip/blob/master/src/main/scripts/settings.properties
2) Uncomment this
https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/WEB-INF/classes/applicationContext.xml#L135
block
and fill with "real" values (including UID from #1)
3) Turn this sip.enable setting
https://openmeetings.apache.org/GeneralConfiguration.html to "Enabled" in
Admin -> Config
4) "Enable SIP transport in the room" for specific room in Admin->Conf Rooms
?

On Tue, 7 Apr 2020 at 05:28, Chris Botts <cb...@syndeonetwork.com> wrote:

> I am getting closer.
>
>
>
> I can see the debug and I think the issue has to do with the connection to
> the rooms .  As you can see It can’t get the room info  Its registered to
> asterisk just fine and both rooms show up in asterisk.
>
>
>
> /openmeetings/rooms/40011                         : 60175
>
> /openmeetings/rooms/40013                         : 123456
>
>
>
> /SIP/Registry/red5sip_user                        : 127.0.0.1:5070:
> 3600:red5sip_user:sip:red5sip_user@127.0.1.1:5070
>
>
>
>
>
> 6 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: code
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: property: code
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.o.Deserializer:
> Datatype: String
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 30
> limit: 127
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String:
> NetConnection.Connect.Rejected
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: val:
> NetConnection.Connect.Rejected
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 11
> limit: 127
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String:
> description
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: property:
> description
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.o.Deserializer:
> Datatype: String
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 34
> limit: 127
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: No
> scope 'room/13' on this server.
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: val: No scope
> 'room/13' on this server.
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection:
> null with thread: NioProcessor-12
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller:
> org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$1.decode #69
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler:
> messageReceived
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager:
> Getting connection by session id: JARJEMMY5JTZG
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection:
> JARJEMMY5JTZG with thread: NioProcessor-12
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller:
> org.red5.client.net.rtmp.RTMPMinaIoHandler.messageReceived #136
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.n.r.RTMPConnection:
> Executor is null on JARJEMMY5JTZG state: connected
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG]
> o.r.c.n.r.BaseRTMPClientHandler: Service name: _error args[0]:
> {level=error, code=NetConnection.Connect.Rejected, description=No scope
> 'room/13' on this server.}
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG]
> o.r.c.n.r.BaseRTMPClientHandler: Received result for pending call -
> Service: null Method: connect Num Params: 1 0:
> {uid=fd33a942-0af9-4df7-821b-6d07466ff63e,
> sid=0ea9a717-51f4-4c2e-9734-728e6f$
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[INFO ] o.r.s.n.r.RTMPRoomClient:
> connect
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager:
> Getting connection by session id: JARJEMMY5JTZG
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection:
> JARJEMMY5JTZG with thread: NioProcessor-12
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller:
> org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$2.encode #83
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG]
> o.r.c.n.r.c.RTMPClientProtocolEncoder: Service: null Method: getSipNumber
> Num Params: 1 0: 13
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG]
> o.r.c.n.r.c.RTMPClientProtocolEncoder: encodeCommand - command: Invoke #2:
> Service: null Method: getSipNumber Num Params: 1 0: 13
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Get connection:
> JARJEMMY5JTZG on thread: NioProcessor-12
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG]
> o.r.c.n.r.c.RTMPClientProtocolEncoder: Call: Service: null Method:
> getSipNumber Num Params: 1 0: 13 pending: true
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG]
> o.r.c.n.r.c.RTMPClientProtocolEncoder: This is a pending call, send request
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG]
> o.r.c.n.r.c.RTMPClientProtocolEncoder: Writing params
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Get connection:
> JARJEMMY5JTZG on thread: NioProcessor-12
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection:
> null with thread: NioProcessor-12
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller:
> org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$2.encode #102
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager:
> Getting connection by session id: JARJEMMY5JTZG
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager:
> Getting connection by session id: JARJEMMY5JTZG
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection:
> null with thread: NioProcessor-12
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller:
> org.red5.client.net.rtmp.RTMPMinaIoHandler.messageReceived #138
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler:
> messageSent
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager:
> Getting connection by session id: JARJEMMY5JTZG
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler:
> Session closed
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager:
> Getting connection by session id: JARJEMMY5JTZG
>
> 06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.n.r.RTMPConnection:
> Connection calls pending: 1
>
>
>
> *From:* Chris Botts [mailto:cbotts@syndeonetwork.com]
> *Sent:* Monday, April 6, 2020 1:37 PM
> *To:* user@openmeetings.apache.org
> *Subject:* Open Meetings 4.0.10 - Sip integration
>
>
>
> Greetings,
>
>
>
> I have installed Openmeetings 4.0.10 Setup sip integration, setup https
> and a certificate.  I am able to access the web log and all works there. I
> am able to call and join a conference with the room and pin.
>
>
>
> The problem I am facing is the open meeting web and the asterisk
> conference are not connected.  If I call into the conference with 2 Sips
> clients I can hear audio just fine.  If I also join with the web url I
> cannot here the audio from the web to the bridge.  I also face a similar
> issue mentioned in the past.  If I don’t call in with a [red5sip_user]  the
> users get stuck in the waiting for leader until I join.  Even though I
> login via the web url.  They are not synced for some reason.  I have
> followed many guides to try and isolate the issue. I am hoping someone can
> direct me on where to look to figure out why the 2 are not interfacing.
>
>
>
>
>
> Maybe the issue is red5sip is not connecting right
>
>
>
> 06 Apr 18:35:06 - [NioProcessor-1702]:[INFO ] o.r.s.n.r.RTMPControlClient:
> connect
>
> 06 Apr 18:35:06 - [NioProcessor-1597]:[INFO ]
> o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
>
> 06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPConnManager:
> Connection not found for VSUYHC54V7EP4
>
> 06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler:
> Connection was null in session
>
> 06 Apr 18:35:06 - [NioProcessor-1715]:[INFO ] o.r.s.n.r.RTMPControlClient:
> connect
>
> 06 Apr 18:35:06 - [NioProcessor-1659]:[INFO ]
> o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
>
> 06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPConnManager:
> Connection not found for LHDV6E85GH706
>
> 06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler:
> Connection was null in session
>
> 06 Apr 18:35:07 - [NioProcessor-1716]:[INFO ] o.r.s.n.r.RTMPControlClient:
> connect
>
> 06 Apr 18:35:07 - [NioProcessor-1665]:[INFO ]
> o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
>
> 06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient:
> connect
>
> 06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient:
> connect
>
> 06 Apr 18:35:07 - [NioProcessor-1603]:[INFO ]
> o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
>
> 06 Apr 18:35:07 - [NioProcessor-1728]:[INFO ] o.r.s.n.r.RTMPControlClient:
> connect
>
> 06 Apr 18:35:07 - [NioProcessor-1666]:[INFO ]
> o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
>
> 06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPConnManager:
> Connection not found for IJAX2KFQHCQVH
>
> 06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler:
> Connection was null in session
>
>
>
> Thanks for any help.
>
>
>
>
>


-- 
Best regards,
Maxim

RE: Open Meetings 4.0.10 - Sip integration

Posted by Chris Botts <cb...@syndeonetwork.com>.
I am getting closer.

I can see the debug and I think the issue has to do with the connection to the rooms .  As you can see It can't get the room info  Its registered to asterisk just fine and both rooms show up in asterisk.

/openmeetings/rooms/40011                         : 60175
/openmeetings/rooms/40013                         : 123456

/SIP/Registry/red5sip_user                        : 127.0.0.1:5070:3600:red5sip_user:sip:red5sip_user@127.0.1.1:5070


6 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: code
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: property: code
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.o.Deserializer: Datatype: String
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 30 limit: 127
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: NetConnection.Connect.Rejected
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: val: NetConnection.Connect.Rejected
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 11 limit: 127
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: description
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: property: description
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.o.Deserializer: Datatype: String
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: Length: 34 limit: 127
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: String: No scope 'room/13' on this server.
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.i.a.Input: val: No scope 'room/13' on this server.
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: null with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$1.decode #69
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler: messageReceived
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: JARJEMMY5JTZG with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.RTMPMinaIoHandler.messageReceived #136
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.n.r.RTMPConnection: Executor is null on JARJEMMY5JTZG state: connected
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.BaseRTMPClientHandler: Service name: _error args[0]: {level=error, code=NetConnection.Connect.Rejected, description=No scope 'room/13' on this server.}
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.BaseRTMPClientHandler: Received result for pending call - Service: null Method: connect Num Params: 1 0: {uid=fd33a942-0af9-4df7-821b-6d07466ff63e, sid=0ea9a717-51f4-4c2e-9734-728e6f$
06 Apr 22:24:50 - [NioProcessor-12]:[INFO ] o.r.s.n.r.RTMPRoomClient: connect
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: JARJEMMY5JTZG with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$2.encode #83
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: Service: null Method: getSipNumber Num Params: 1 0: 13
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: encodeCommand - command: Invoke #2: Service: null Method: getSipNumber Num Params: 1 0: 13
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Get connection: JARJEMMY5JTZG on thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: Call: Service: null Method: getSipNumber Num Params: 1 0: 13 pending: true
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: This is a pending call, send request
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.c.RTMPClientProtocolEncoder: Writing params
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Get connection: JARJEMMY5JTZG on thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: null with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.codec.RTMPMinaCodecFactory$2.encode #102
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Set connection: null with thread: NioProcessor-12
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.a.Red5: Caller: org.red5.client.net.rtmp.RTMPMinaIoHandler.messageReceived #138
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler: messageSent
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPMinaIoHandler: Session closed
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.c.n.r.RTMPConnManager: Getting connection by session id: JARJEMMY5JTZG
06 Apr 22:24:50 - [NioProcessor-12]:[DEBUG] o.r.s.n.r.RTMPConnection: Connection calls pending: 1

From: Chris Botts [mailto:cbotts@syndeonetwork.com]
Sent: Monday, April 6, 2020 1:37 PM
To: user@openmeetings.apache.org
Subject: Open Meetings 4.0.10 - Sip integration

Greetings,

I have installed Openmeetings 4.0.10 Setup sip integration, setup https and a certificate.  I am able to access the web log and all works there. I am able to call and join a conference with the room and pin.

The problem I am facing is the open meeting web and the asterisk conference are not connected.  If I call into the conference with 2 Sips clients I can hear audio just fine.  If I also join with the web url I cannot here the audio from the web to the bridge.  I also face a similar issue mentioned in the past.  If I don't call in with a [red5sip_user]  the users get stuck in the waiting for leader until I join.  Even though I login via the web url.  They are not synced for some reason.  I have followed many guides to try and isolate the issue. I am hoping someone can direct me on where to look to figure out why the 2 are not interfacing.


Maybe the issue is red5sip is not connecting right

06 Apr 18:35:06 - [NioProcessor-1702]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:06 - [NioProcessor-1597]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for VSUYHC54V7EP4
06 Apr 18:35:06 - [NioProcessor-1709]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session
06 Apr 18:35:06 - [NioProcessor-1715]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:06 - [NioProcessor-1659]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for LHDV6E85GH706
06 Apr 18:35:06 - [NioProcessor-1715]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session
06 Apr 18:35:07 - [NioProcessor-1716]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1665]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1722]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1603]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:07 - [NioProcessor-1728]:[INFO ] o.r.s.n.r.RTMPControlClient: connect
06 Apr 18:35:07 - [NioProcessor-1666]:[INFO ] o.r.c.n.r.BaseRTMPClientHandler: rtmp://127.0.0.1:1935/room/hibernate
06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPConnManager: Connection not found for IJAX2KFQHCQVH
06 Apr 18:35:07 - [NioProcessor-1728]:[WARN ] o.r.c.n.r.RTMPMinaIoHandler: Connection was null in session

Thanks for any help.