[jitsi-dev] contact list from external source


#1

Hi,
I want to ask your help, I hope that this is the right mailing list.

My client wants to alter the jitsi code so that the contact list will be updated/download from a server file/service. The use case is that when the user log in, jitsi will be download an updated contact list that has already some contacts (ex. preaccepted 10 contacts).

Do you think that this functionality is possible? If so, can you point me some start up point in the code to look? Where to start?

I will try to fix some minor bugs to get familiar with the code first.

Thank you very much

···

--
/*Anastasios Bourazanis*/


#2

Hi,
I want to ask your help, I hope that this is the right mailing list.

My client wants to alter the jitsi code so that the contact list will be updated/download from a server file/service. The use case is that when the user log in, jitsi will be download an updated contact list that has already some contacts (ex. preaccepted 10 contacts).

Do you think that this functionality is possible? If so, can you point me some start up point in the code to look? Where to start?

I will try to fix some minor bugs to get familiar with the code first.

Thank you very much

···

--
*/Anastasios Bourazanis/*


#3

Hey Anastasios,

Hi,
I want to ask your help, I hope that this is the right mailing list.

My client wants to alter the jitsi code so that the contact list will be
updated/download from a server file/service. The use case is that when
the user log in, jitsi will be download an updated contact list that has
already some contacts (ex. preaccepted 10 contacts).

I suppose you need to do this with SIP?

Do you think that this functionality is possible? If so, can you point
me some start up point in the code to look? Where to start?

Sounds like all you need is an XCAP server. Why not simply using OpenXCAP?

I will try to fix some minor bugs to get familiar with the code first.

You would be most welcome to do so!

Cheers,
Emil

···

On 22.01.13, 10:48, a.bourazanis wrote:

--
https://jitsi.org


#4

Hi,

We would also love to see this feature, it doesn't have to be done over SIP, in fact it would be easier for us to do over a simple XML/JSON API format.

I did look at OpenXCAP but could not get running on CentOS, and it did seem to be a bit overkill for a simple contacts list.

It would be fine to be 'read only' for the clients, and can be used as part of provision script to provide some preset contacts.

Thanks
Tom

···

On 22/01/13 19:45, Emil Ivov wrote:

Hey Anastasios,

On 22.01.13, 10:48, a.bourazanis wrote:

Hi,
I want to ask your help, I hope that this is the right mailing list.

My client wants to alter the jitsi code so that the contact list will be
updated/download from a server file/service. The use case is that when
the user log in, jitsi will be download an updated contact list that has
already some contacts (ex. preaccepted 10 contacts).

I suppose you need to do this with SIP?

Do you think that this functionality is possible? If so, can you point
me some start up point in the code to look? Where to start?

Sounds like all you need is an XCAP server. Why not simply using OpenXCAP?

I will try to fix some minor bugs to get familiar with the code first.

You would be most welcome to do so!

Cheers,
Emil


#5

Hey Tom,

Hi,

We would also love to see this feature, it doesn't have to be done over
SIP, in fact it would be easier for us to do over a simple XML/JSON API
format.

Note that XCAP doesn't use SIP. XCAP contacts are downloaded over HTTP.
You just use it with SIP accounts in Jitsi.

I did look at OpenXCAP but could not get running on CentOS, and it did
seem to be a bit overkill for a simple contacts list.

Well I suppose it is... however, it's already implemented, so in that
sense it's a lot less of an overkill than designing and implementing
support for a new format.

You really should give OpenXCAP another try. It just works and it would
allow you to do exactly what you need.

It would be fine to be 'read only' for the clients, and can be used as
part of provision script to provide some preset contacts.

Well ... we also support a mechanism we call XiVO which retrieves
contacts over JSON ... but I'd advise you go for XCAP.

There's also LDAP support. That might also work for you.

I hope one of the above would work for you guys. I don't think we'll
have the time to do yet another (proprietary) contact storage method in
the foreseeable future.

Cheers,
Emil

···

On 22.01.13, 20:52, Tom Parrott wrote:

Thanks
Tom

On 22/01/13 19:45, Emil Ivov wrote:

Hey Anastasios,

On 22.01.13, 10:48, a.bourazanis wrote:

Hi,
I want to ask your help, I hope that this is the right mailing list.

My client wants to alter the jitsi code so that the contact list will be
updated/download from a server file/service. The use case is that when
the user log in, jitsi will be download an updated contact list that has
already some contacts (ex. preaccepted 10 contacts).

I suppose you need to do this with SIP?

Do you think that this functionality is possible? If so, can you point
me some start up point in the code to look? Where to start?

Sounds like all you need is an XCAP server. Why not simply using OpenXCAP?

I will try to fix some minor bugs to get familiar with the code first.

You would be most welcome to do so!

Cheers,
Emil

--
https://jitsi.org


#6

OK received and understood.

We are using LDAP for now internally (works well!) although not sure about how suitable it is for running over the untrusted Internet.

Are there any blogs/guides on setting up OpenXCAP on CentOS 5/6 as I fell at the first hurdle when trying to start it, all the docs seemed to be pretty focused on Debian,

Thanks
Tom

···

On 22/01/13 20:09, Emil Ivov wrote:

Hey Tom,

On 22.01.13, 20:52, Tom Parrott wrote:

Hi,

We would also love to see this feature, it doesn't have to be done over
SIP, in fact it would be easier for us to do over a simple XML/JSON API
format.

Note that XCAP doesn't use SIP. XCAP contacts are downloaded over HTTP.
  You just use it with SIP accounts in Jitsi.

I did look at OpenXCAP but could not get running on CentOS, and it did
seem to be a bit overkill for a simple contacts list.

Well I suppose it is... however, it's already implemented, so in that
sense it's a lot less of an overkill than designing and implementing
support for a new format.

You really should give OpenXCAP another try. It just works and it would
allow you to do exactly what you need.

It would be fine to be 'read only' for the clients, and can be used as
part of provision script to provide some preset contacts.

Well ... we also support a mechanism we call XiVO which retrieves
contacts over JSON ... but I'd advise you go for XCAP.

There's also LDAP support. That might also work for you.

I hope one of the above would work for you guys. I don't think we'll
have the time to do yet another (proprietary) contact storage method in
the foreseeable future.

Cheers,
Emil

Thanks
Tom

On 22/01/13 19:45, Emil Ivov wrote:

Hey Anastasios,

On 22.01.13, 10:48, a.bourazanis wrote:

Hi,
I want to ask your help, I hope that this is the right mailing list.

My client wants to alter the jitsi code so that the contact list will be
updated/download from a server file/service. The use case is that when
the user log in, jitsi will be download an updated contact list that has
already some contacts (ex. preaccepted 10 contacts).

I suppose you need to do this with SIP?

Do you think that this functionality is possible? If so, can you point
me some start up point in the code to look? Where to start?

Sounds like all you need is an XCAP server. Why not simply using OpenXCAP?

I will try to fix some minor bugs to get familiar with the code first.

You would be most welcome to do so!

Cheers,
Emil


#7

Does anyone have the format for Xivo btw?

Thanks

···

On 22/01/13 20:09, Emil Ivov wrote:

Hey Tom,

On 22.01.13, 20:52, Tom Parrott wrote:

Hi,

We would also love to see this feature, it doesn't have to be done over
SIP, in fact it would be easier for us to do over a simple XML/JSON API
format.

Note that XCAP doesn't use SIP. XCAP contacts are downloaded over HTTP.
  You just use it with SIP accounts in Jitsi.

I did look at OpenXCAP but could not get running on CentOS, and it did
seem to be a bit overkill for a simple contacts list.

Well I suppose it is... however, it's already implemented, so in that
sense it's a lot less of an overkill than designing and implementing
support for a new format.

You really should give OpenXCAP another try. It just works and it would
allow you to do exactly what you need.

It would be fine to be 'read only' for the clients, and can be used as
part of provision script to provide some preset contacts.

Well ... we also support a mechanism we call XiVO which retrieves
contacts over JSON ... but I'd advise you go for XCAP.

There's also LDAP support. That might also work for you.

I hope one of the above would work for you guys. I don't think we'll
have the time to do yet another (proprietary) contact storage method in
the foreseeable future.

Cheers,
Emil

Thanks
Tom

On 22/01/13 19:45, Emil Ivov wrote:

Hey Anastasios,

On 22.01.13, 10:48, a.bourazanis wrote:

Hi,
I want to ask your help, I hope that this is the right mailing list.

My client wants to alter the jitsi code so that the contact list will be
updated/download from a server file/service. The use case is that when
the user log in, jitsi will be download an updated contact list that has
already some contacts (ex. preaccepted 10 contacts).

I suppose you need to do this with SIP?

Do you think that this functionality is possible? If so, can you point
me some start up point in the code to look? Where to start?

Sounds like all you need is an XCAP server. Why not simply using OpenXCAP?

I will try to fix some minor bugs to get familiar with the code first.

You would be most welcome to do so!

Cheers,
Emil


#8

Hi,

I think many admins would like that feature too.
It could be something like the LDAP contact source already in Jitsi but with JSON requests to an HTTP server. That would open a whole lot of doors for admins to implement whatever contact list server logic they want (eg. server would send different contact list via JSON to Jitsi according to client username, IP address, MAC, etc.).

I was hoping to implement this but dropped the idea (lack of time).
I went for an easier route a while ago:
http://java.net/jira/browse/JITSI-1041
(Jitsi opens a URL crafted with user data, etc. The external web page can then have embedded hrefs such as sip: in order to actually interact back with Jitsi and, say, make a call. That's enough for now in my environment.)

However, as Emil rightfully suggested back then, it would be better to tightly integrate this as a standard "contact source".

Vieri

···

--- On Tue, 1/22/13, Tom Parrott <tomp@tomp.co.uk> wrote:

Hi,

We would also love to see this feature, it doesn't have to
be done over
SIP, in fact it would be easier for us to do over a simple
XML/JSON API
format.

I did look at OpenXCAP but could not get running on CentOS,
and it did
seem to be a bit overkill for a simple contacts list.

It would be fine to be 'read only' for the clients, and can
be used as
part of provision script to provide some preset contacts.

Thanks
Tom

On 22/01/13 19:45, Emil Ivov wrote:
> Hey Anastasios,
>
> On 22.01.13, 10:48, a.bourazanis wrote:
>> Hi,
>> I want to ask your help, I hope that this is the
right mailing list.
>>
>> My client wants to alter the jitsi code so that the
contact list will be
>> updated/download from a server file/service. The
use case is that when
>> the user log in, jitsi will be download an updated
contact list that has
>> already some contacts (ex. preaccepted 10
contacts).
> I suppose you need to do this with SIP?
>
>> Do you think that this functionality is possible?
If so, can you point
>> me some start up point in the code to look? Where
to start?
> Sounds like all you need is an XCAP server. Why not
simply using OpenXCAP?
>
>> I will try to fix some minor bugs to get familiar
with the code first.
> You would be most welcome to do so!
>
> Cheers,
> Emil
>


#9

Vieri could you please describe a little more the use case from the functionality that you have mention?
I am experiencing some problems due that my hosting provider doesnt support xcap and Im trying to find alternative methods. Your functionality propably it will feet in my needs.

Thank you very much

···

--
/*Anastasios Bourazanis*/

On 24/01/13 15:00, Vieri wrote:

Hi,

I think many admins would like that feature too.
It could be something like the LDAP contact source already in Jitsi but with JSON requests to an HTTP server. That would open a whole lot of doors for admins to implement whatever contact list server logic they want (eg. server would send different contact list via JSON to Jitsi according to client username, IP address, MAC, etc.).

I was hoping to implement this but dropped the idea (lack of time).
I went for an easier route a while ago:
http://java.net/jira/browse/JITSI-1041
(Jitsi opens a URL crafted with user data, etc. The external web page can then have embedded hrefs such as sip: in order to actually interact back with Jitsi and, say, make a call. That's enough for now in my environment.)

However, as Emil rightfully suggested back then, it would be better to tightly integrate this as a standard "contact source".

Vieri

--- On Tue, 1/22/13, Tom Parrott <tomp@tomp.co.uk> wrote:

Hi,

We would also love to see this feature, it doesn't have to
be done over
SIP, in fact it would be easier for us to do over a simple
XML/JSON API
format.

I did look at OpenXCAP but could not get running on CentOS,
and it did
seem to be a bit overkill for a simple contacts list.

It would be fine to be 'read only' for the clients, and can
be used as
part of provision script to provide some preset contacts.

Thanks
Tom

On 22/01/13 19:45, Emil Ivov wrote:

Hey Anastasios,

On 22.01.13, 10:48, a.bourazanis wrote:

Hi,
I want to ask your help, I hope that this is the

right mailing list.

My client wants to alter the jitsi code so that the

contact list will be

updated/download from a server file/service. The

use case is that when

the user log in, jitsi will be download an updated

contact list that has

already some contacts (ex. preaccepted 10

contacts).

I suppose you need to do this with SIP?

Do you think that this functionality is possible?

If so, can you point

me some start up point in the code to look? Where

to start?

Sounds like all you need is an XCAP server. Why not

simply using OpenXCAP?

I will try to fix some minor bugs to get familiar

with the code first.

You would be most welcome to do so!

Cheers,
Emil