[jitsi-users] "Add People" jibri configuration?


#1

Hi,
I've gotten Jibri to stream to youtube and now want to move on to enable the "Add People" button to be able to invite external SIP contacts.
I've set up pjsua and now want to test it out.

It looks like I have to build an ajax service to fetch the contacts. But I'm unsure how to configure this in Jitsi.

In the interfaceConfig there is this setting:

   * The name of the application connected to the "Add people" search service.
   ADD_PEOPLE_APP_NAME: ""

Does anyone know how I would go about to enable this? What kind of application, I've tried with a URL to my ajax service, but that does not seem to work.

Any help would be much appreciated.

Regards,
Anders


#2

Hi Anders,

I'm currently working on improving the sip calling. There are some
bugs that need polish in jibri, in the library and adding some more UI
notifications in meet.
But still, in the current form, you can still use it.

For a quick test you can execute from the js console:
var s = APP.conference._room.createVideoSIPGWSession('address@sip.domain.com',
'some room');
s.start();
This is what the UI does.

About the jitsi-meet UI, there is a way to configure it. I had to add
it a while ago as a document, but apparently, I missed to do it.
Later today I will describe the configuration steps and the format of
the request-response of the service so we can polish the document and
publish it for future adopters.
Thanks and sorry for not adding this earlier.

Regards
damencho

···

On Wed, Nov 15, 2017 at 7:20 AM, Anders Larsson <anders.larsson@workmail.com> wrote:

Hi,
I've gotten Jibri to stream to youtube and now want to move on to enable the "Add People" button to be able to invite external SIP contacts.
I've set up pjsua and now want to test it out.

It looks like I have to build an ajax service to fetch the contacts. But I'm unsure how to configure this in Jitsi.

In the interfaceConfig there is this setting:

   * The name of the application connected to the "Add people" search service.
   ADD_PEOPLE_APP_NAME: ""

Does anyone know how I would go about to enable this? What kind of application, I've tried with a URL to my ajax service, but that does not seem to work.

Any help would be much appreciated.

Regards,
Anders

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Hi again,

Can you take a look at
https://github.com/jitsi/jitsi-meet/blob/sipgw-updates/doc/sipgw-config.md.
I just pushed an initial version of the documentation, I'm open to any
suggestion for improving it.
I'm continuing on some updates in the UI part around that, mainly
notifications about the status of the invitation and availability of
the service.

Regards
damencho

···

On Wed, Nov 15, 2017 at 8:16 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi Anders,

I'm currently working on improving the sip calling. There are some
bugs that need polish in jibri, in the library and adding some more UI
notifications in meet.
But still, in the current form, you can still use it.

For a quick test you can execute from the js console:
var s = APP.conference._room.createVideoSIPGWSession('address@sip.domain.com',
'some room');
s.start();
This is what the UI does.

About the jitsi-meet UI, there is a way to configure it. I had to add
it a while ago as a document, but apparently, I missed to do it.
Later today I will describe the configuration steps and the format of
the request-response of the service so we can polish the document and
publish it for future adopters.
Thanks and sorry for not adding this earlier.

Regards
damencho

On Wed, Nov 15, 2017 at 7:20 AM, Anders Larsson > <anders.larsson@workmail.com> wrote:

Hi,
I've gotten Jibri to stream to youtube and now want to move on to enable the "Add People" button to be able to invite external SIP contacts.
I've set up pjsua and now want to test it out.

It looks like I have to build an ajax service to fetch the contacts. But I'm unsure how to configure this in Jitsi.

In the interfaceConfig there is this setting:

   * The name of the application connected to the "Add people" search service.
   ADD_PEOPLE_APP_NAME: ""

Does anyone know how I would go about to enable this? What kind of application, I've tried with a URL to my ajax service, but that does not seem to work.

Any help would be much appreciated.

Regards,
Anders

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

Hi,

The instructions are very clear and easy to understand.
I had to switch to another prosody (due to apt dependencies for jitsi-meet-tokens) and some lua tinkering with the crypto modules. But after creating a token login function and tweaking my peopleSearch function the AddPeopleDialog appears in the GUI and I can select conference rooms.
Very nice!

When I click "Add" I get "Failed to add members" though. The javascript console shows this:

[modules/xmpp/recording.js] <Recording.handleJibriPresence>: Handle Jibri presence : off null
Logger.js:125 [conference.js] <EventEmitter.<anonymous>>: Received recorder status change: off undefined
Logger.js:125 [modules/videosipgw/VideoSIPGW.js] <new VideoSIPGW>: creating VideoSIPGW
Logger.js:125 [JitsiConference.js] <JitsiConference._getVideoSIPGWHandle>: Created VideoSIPGW
Logger.js:125 [modules/videosipgw/JitsiVideoSIPGWSession.js] <JitsiVideoSIPGWSession._sendJibriIQ>: Stop video SIP GW session <iq to=​"siptest@conference.mydomain.com/​focus" type=​"set" xmlns=​"jabber:​client" id=​"ae40b44a-3c28-467c-a9c2-7de34268a6c1:​sendIQ">​<jibri xmlns=​"http:​/​/​jitsi.org/​protocol/​jibri" action=​"start" sipaddress=​"2199@localhost" displayname=​"ConfRoom1">​</jibri>​</iq>​
jquery.min.js:4 POST https://mydomain.com/undefined?token=eyJ0eXlh...etc 405 () - (I've abbreviated the token for clarity)
Logger.js:125 [modules/videosipgw/JitsiVideoSIPGWSession.js] <>: Failed to start video SIP GW session, error: <iq xmlns=​"jabber:​client" type=​"error" to=​"fb5e10ec-8e85-4e0a-ba0a-a4ebf780c9fc@mydomain.com/​930e792c-4dcb-4326-af81-ea156260b189" from=​"siptest@conference.mydomain.com/​focus" id=​"ae40b44a-3c28-467c-a9c2-7de34268a6c1:​sendIQ">​<error type=​"cancel">​<item-not-found xmlns=​"urn:​ietf:​params:​xml:​ns:​xmpp-stanzas">​</item-not-found>​</error>​</iq>​

The line: "POST https://mydomain.com/undefined?token=eyJ0eXlh...etc 405 ()" - with "undefined" instead of a room name looks wrong.
(The 405 is from Nginx not accepting POSTs to / ).

If I create a JitsiVideoSIPGWSession manually and start it, I get the same answer: ​<item-not-found xmlns=​"urn:​ietf:​params:​xml:​ns:​xmpp-stanzas">​</item-not-found>​</error>​<

If I start jibriselenium from the command line I now get an error that I've not seen before:
"WebDriverException("unknown error: Cannot read property 'room' of undefined"
I do not know if this is related though.

Any obvious ideas?

(BTW: If any documentation could be improved a little bit, it's https://github.com/jitsi/jibri/blob/master/README.md - An example of a pjsua.config would be of great help).

Regards,
Anders

···

Sent: Wednesday, November 15, 2017 at 6:57 PM
From: "Damian Minkov" <damencho@jitsi.org>
To: "Jitsi Users" <users@jitsi.org>
Subject: Re: [jitsi-users] "Add People" jibri configuration?

Hi again,

Can you take a look at
https://github.com/jitsi/jitsi-meet/blob/sipgw-updates/doc/sipgw-config.md.
I just pushed an initial version of the documentation, I'm open to any
suggestion for improving it.
I'm continuing on some updates in the UI part around that, mainly
notifications about the status of the invitation and availability of
the service.

Regards
damencho

On Wed, Nov 15, 2017 at 8:16 AM, Damian Minkov <damencho@jitsi.org> wrote:
> Hi Anders,
>
> I'm currently working on improving the sip calling. There are some
> bugs that need polish in jibri, in the library and adding some more UI
> notifications in meet.
> But still, in the current form, you can still use it.
>
> For a quick test you can execute from the js console:
> var s = APP.conference._room.createVideoSIPGWSession('address@sip.domain.com',
> 'some room');
> s.start();
> This is what the UI does.
>
> About the jitsi-meet UI, there is a way to configure it. I had to add
> it a while ago as a document, but apparently, I missed to do it.
> Later today I will describe the configuration steps and the format of
> the request-response of the service so we can polish the document and
> publish it for future adopters.
> Thanks and sorry for not adding this earlier.
>
> Regards
> damencho
>
>
> On Wed, Nov 15, 2017 at 7:20 AM, Anders Larsson > > <anders.larsson@workmail.com> wrote:
>> Hi,
>> I've gotten Jibri to stream to youtube and now want to move on to enable the "Add People" button to be able to invite external SIP contacts.
>> I've set up pjsua and now want to test it out.
>>
>> It looks like I have to build an ajax service to fetch the contacts. But I'm unsure how to configure this in Jitsi.
>>
>> In the interfaceConfig there is this setting:
>>
>> * The name of the application connected to the "Add people" search service.
>> ADD_PEOPLE_APP_NAME: ""
>>
>> Does anyone know how I would go about to enable this? What kind of application, I've tried with a URL to my ajax service, but that does not seem to work.
>>
>>
>> Any help would be much appreciated.
>>
>>
>> Regards,
>> Anders
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

Hi,

Hi,

The instructions are very clear and easy to understand.
I had to switch to another prosody (due to apt dependencies for jitsi-meet-tokens) and some lua tinkering with the crypto modules. But after creating a token login function and tweaking my peopleSearch function the AddPeopleDialog appears in the GUI and I can select conference rooms.
Very nice!

When I click "Add" I get "Failed to add members" though. The javascript console shows this:

[modules/xmpp/recording.js] <Recording.handleJibriPresence>: Handle Jibri presence : off null
Logger.js:125 [conference.js] <EventEmitter.<anonymous>>: Received recorder status change: off undefined
Logger.js:125 [modules/videosipgw/VideoSIPGW.js] <new VideoSIPGW>: creating VideoSIPGW
Logger.js:125 [JitsiConference.js] <JitsiConference._getVideoSIPGWHandle>: Created VideoSIPGW
Logger.js:125 [modules/videosipgw/JitsiVideoSIPGWSession.js] <JitsiVideoSIPGWSession._sendJibriIQ>: Stop video SIP GW session <iq to="siptest@conference.mydomain.com/focus" type="set" xmlns="jabber:client" id="ae40b44a-3c28-467c-a9c2-7de34268a6c1:sendIQ"><jibri xmlns="http://jitsi.org/protocol/jibri" action="start" sipaddress="2199@localhost" displayname="ConfRoom1"></jibri></iq>
jquery.min.js:4 POST https://mydomain.com/undefined?token=eyJ0eXlh...etc 405 () - (I've abbreviated the token for clarity)
Logger.js:125 [modules/videosipgw/JitsiVideoSIPGWSession.js] <>: Failed to start video SIP GW session, error: <iq xmlns="jabber:client" type="error" to="fb5e10ec-8e85-4e0a-ba0a-a4ebf780c9fc@mydomain.com/930e792c-4dcb-4326-af81-ea156260b189" from="siptest@conference.mydomain.com/focus" id="ae40b44a-3c28-467c-a9c2-7de34268a6c1:sendIQ"><error type="cancel"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></item-not-found></error></iq>

The line: "POST https://mydomain.com/undefined?token=eyJ0eXlh...etc 405 ()" - with "undefined" instead of a room name looks wrong.
(The 405 is from Nginx not accepting POSTs to / ).

This is a wrong request and I already have it fixed locally, but I
will push all my changes in one PR.

If I create a JitsiVideoSIPGWSession manually and start it, I get the same answer: <item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></item-not-found></error><

If I start jibriselenium from the command line I now get an error that I've not seen before:
"WebDriverException("unknown error: Cannot read property 'room' of undefined"
I do not know if this is related though.

I'm not sure but maybe your jibri is not connecting to the prosody ...
and then jicofo cannot find it.
Check for this message in the js console 'Sip gateway enabled: true'.

Any obvious ideas?

(BTW: If any documentation could be improved a little bit, it's https://github.com/jitsi/jibri/blob/master/README.md - An example of a pjsua.config would be of great help).

Its even better to have it packed so it can be easily
configured/installed but this is in our todolist for quite a while,
but we will get there.

Regards
damencho

···

On Fri, Nov 17, 2017 at 8:45 AM, Anders Larsson <anders.larsson@workmail.com> wrote:

Regards,
Anders

Sent: Wednesday, November 15, 2017 at 6:57 PM
From: "Damian Minkov" <damencho@jitsi.org>
To: "Jitsi Users" <users@jitsi.org>
Subject: Re: [jitsi-users] "Add People" jibri configuration?

Hi again,

Can you take a look at
https://github.com/jitsi/jitsi-meet/blob/sipgw-updates/doc/sipgw-config.md.
I just pushed an initial version of the documentation, I'm open to any
suggestion for improving it.
I'm continuing on some updates in the UI part around that, mainly
notifications about the status of the invitation and availability of
the service.

Regards
damencho

On Wed, Nov 15, 2017 at 8:16 AM, Damian Minkov <damencho@jitsi.org> wrote:
> Hi Anders,
>
> I'm currently working on improving the sip calling. There are some
> bugs that need polish in jibri, in the library and adding some more UI
> notifications in meet.
> But still, in the current form, you can still use it.
>
> For a quick test you can execute from the js console:
> var s = APP.conference._room.createVideoSIPGWSession('address@sip.domain.com',
> 'some room');
> s.start();
> This is what the UI does.
>
> About the jitsi-meet UI, there is a way to configure it. I had to add
> it a while ago as a document, but apparently, I missed to do it.
> Later today I will describe the configuration steps and the format of
> the request-response of the service so we can polish the document and
> publish it for future adopters.
> Thanks and sorry for not adding this earlier.
>
> Regards
> damencho
>
>
> On Wed, Nov 15, 2017 at 7:20 AM, Anders Larsson >> > <anders.larsson@workmail.com> wrote:
>> Hi,
>> I've gotten Jibri to stream to youtube and now want to move on to enable the "Add People" button to be able to invite external SIP contacts.
>> I've set up pjsua and now want to test it out.
>>
>> It looks like I have to build an ajax service to fetch the contacts. But I'm unsure how to configure this in Jitsi.
>>
>> In the interfaceConfig there is this setting:
>>
>> * The name of the application connected to the "Add people" search service.
>> ADD_PEOPLE_APP_NAME: ""
>>
>> Does anyone know how I would go about to enable this? What kind of application, I've tried with a URL to my ajax service, but that does not seem to work.
>>
>>
>> Any help would be much appreciated.
>>
>>
>> Regards,
>> Anders
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#6

Ups, 'Sip gateway enabled: true'. is for jigasi, my fault.

···

On Fri, Nov 17, 2017 at 9:26 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

On Fri, Nov 17, 2017 at 8:45 AM, Anders Larsson > <anders.larsson@workmail.com> wrote:

Hi,

The instructions are very clear and easy to understand.
I had to switch to another prosody (due to apt dependencies for jitsi-meet-tokens) and some lua tinkering with the crypto modules. But after creating a token login function and tweaking my peopleSearch function the AddPeopleDialog appears in the GUI and I can select conference rooms.
Very nice!

When I click "Add" I get "Failed to add members" though. The javascript console shows this:

[modules/xmpp/recording.js] <Recording.handleJibriPresence>: Handle Jibri presence : off null
Logger.js:125 [conference.js] <EventEmitter.<anonymous>>: Received recorder status change: off undefined
Logger.js:125 [modules/videosipgw/VideoSIPGW.js] <new VideoSIPGW>: creating VideoSIPGW
Logger.js:125 [JitsiConference.js] <JitsiConference._getVideoSIPGWHandle>: Created VideoSIPGW
Logger.js:125 [modules/videosipgw/JitsiVideoSIPGWSession.js] <JitsiVideoSIPGWSession._sendJibriIQ>: Stop video SIP GW session <iq to="siptest@conference.mydomain.com/focus" type="set" xmlns="jabber:client" id="ae40b44a-3c28-467c-a9c2-7de34268a6c1:sendIQ"><jibri xmlns="http://jitsi.org/protocol/jibri" action="start" sipaddress="2199@localhost" displayname="ConfRoom1"></jibri></iq>
jquery.min.js:4 POST https://mydomain.com/undefined?token=eyJ0eXlh...etc 405 () - (I've abbreviated the token for clarity)
Logger.js:125 [modules/videosipgw/JitsiVideoSIPGWSession.js] <>: Failed to start video SIP GW session, error: <iq xmlns="jabber:client" type="error" to="fb5e10ec-8e85-4e0a-ba0a-a4ebf780c9fc@mydomain.com/930e792c-4dcb-4326-af81-ea156260b189" from="siptest@conference.mydomain.com/focus" id="ae40b44a-3c28-467c-a9c2-7de34268a6c1:sendIQ"><error type="cancel"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></item-not-found></error></iq>

The line: "POST https://mydomain.com/undefined?token=eyJ0eXlh...etc 405 ()" - with "undefined" instead of a room name looks wrong.
(The 405 is from Nginx not accepting POSTs to / ).

This is a wrong request and I already have it fixed locally, but I
will push all my changes in one PR.

If I create a JitsiVideoSIPGWSession manually and start it, I get the same answer: <item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></item-not-found></error><

If I start jibriselenium from the command line I now get an error that I've not seen before:
"WebDriverException("unknown error: Cannot read property 'room' of undefined"
I do not know if this is related though.

I'm not sure but maybe your jibri is not connecting to the prosody ...
and then jicofo cannot find it.
Check for this message in the js console 'Sip gateway enabled: true'.

Any obvious ideas?

(BTW: If any documentation could be improved a little bit, it's https://github.com/jitsi/jibri/blob/master/README.md - An example of a pjsua.config would be of great help).

Its even better to have it packed so it can be easily
configured/installed but this is in our todolist for quite a while,
but we will get there.

Regards
damencho

Regards,
Anders

Sent: Wednesday, November 15, 2017 at 6:57 PM
From: "Damian Minkov" <damencho@jitsi.org>
To: "Jitsi Users" <users@jitsi.org>
Subject: Re: [jitsi-users] "Add People" jibri configuration?

Hi again,

Can you take a look at
https://github.com/jitsi/jitsi-meet/blob/sipgw-updates/doc/sipgw-config.md.
I just pushed an initial version of the documentation, I'm open to any
suggestion for improving it.
I'm continuing on some updates in the UI part around that, mainly
notifications about the status of the invitation and availability of
the service.

Regards
damencho

On Wed, Nov 15, 2017 at 8:16 AM, Damian Minkov <damencho@jitsi.org> wrote:
> Hi Anders,
>
> I'm currently working on improving the sip calling. There are some
> bugs that need polish in jibri, in the library and adding some more UI
> notifications in meet.
> But still, in the current form, you can still use it.
>
> For a quick test you can execute from the js console:
> var s = APP.conference._room.createVideoSIPGWSession('address@sip.domain.com',
> 'some room');
> s.start();
> This is what the UI does.
>
> About the jitsi-meet UI, there is a way to configure it. I had to add
> it a while ago as a document, but apparently, I missed to do it.
> Later today I will describe the configuration steps and the format of
> the request-response of the service so we can polish the document and
> publish it for future adopters.
> Thanks and sorry for not adding this earlier.
>
> Regards
> damencho
>
>
> On Wed, Nov 15, 2017 at 7:20 AM, Anders Larsson >>> > <anders.larsson@workmail.com> wrote:
>> Hi,
>> I've gotten Jibri to stream to youtube and now want to move on to enable the "Add People" button to be able to invite external SIP contacts.
>> I've set up pjsua and now want to test it out.
>>
>> It looks like I have to build an ajax service to fetch the contacts. But I'm unsure how to configure this in Jitsi.
>>
>> In the interfaceConfig there is this setting:
>>
>> * The name of the application connected to the "Add people" search service.
>> ADD_PEOPLE_APP_NAME: ""
>>
>> Does anyone know how I would go about to enable this? What kind of application, I've tried with a URL to my ajax service, but that does not seem to work.
>>
>>
>> Any help would be much appreciated.
>>
>>
>> Regards,
>> Anders
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#7

Hi Damencho

can you share this document again?


#8

@globalcorp Which one?


#9

https://github.com/jitsi/jitsi-meet/blob/sipgw-updates/doc/sipgw-config.md.


#10