You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by "seba.wagner@gmail.com" <se...@gmail.com> on 2013/02/04 21:54:16 UTC

Exception in client regarding SIP integration, wrong reference to room attribute probably

There is a reference error in the client, you can see the very first time
when the exception is thrown it will produce a log like this:

baseConferenceRoom.lzx≈93: reference to undefined property 'sip_enabled'

The issue is that the variable sip_enabled does not exist or the path
specified is wrong:
canvas.thishib.sip_enabled

This attribute does not exist at all.
There is an attribute "sipEnabled" in the Rooms-Entity that is available in
the client.
So the path would be:
canvas.currentRoomObject.sipEnabled to check if that flag is set in the
Rooms Object of the current meeting. But
"canvas.thishib.sip_enabled" has no meaning.

Sebastian
-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Exception in client regarding SIP integration, wrong reference to room attribute probably

Posted by Maxim Solodovnik <so...@gmail.com>.
It was incomplete clean-up :(
not it is fixed: Committed revision 1442469.


On Tue, Feb 5, 2013 at 3:54 AM, seba.wagner@gmail.com <seba.wagner@gmail.com
> wrote:

> There is a reference error in the client, you can see the very first time
> when the exception is thrown it will produce a log like this:
>
> baseConferenceRoom.lzx≈93: reference to undefined property 'sip_enabled'
>
> The issue is that the variable sip_enabled does not exist or the path
> specified is wrong:
> canvas.thishib.sip_enabled
>
> This attribute does not exist at all.
> There is an attribute "sipEnabled" in the Rooms-Entity that is available
> in the client.
> So the path would be:
> canvas.currentRoomObject.sipEnabled to check if that flag is set in the
> Rooms Object of the current meeting. But
> "canvas.thishib.sip_enabled" has no meaning.
>
> Sebastian
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax