Skip to main content

Buddy list

6 replies [Last post]
sanisimov
Offline
Joined: 2005-08-10

Hello,

Could you please help me with understanding of some basics of mobicents?

I have some questions that will help me to understand the key points.

1. In this forum i have found a question about buddy list and the answer was that is could be implemented using SLEE Profile. Can point me to the source of information about this? I'd like to implement this feature.

2. How to retrieve connected user agents to send them a notification message (for example when client1 connecting - client2 and client3 should be notified that their friend is online)

Thanks,

Sasha

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
eduardomartins
Offline
Joined: 2005-10-10

Hello Ranga, why not extend OC Sip Proxy that comes in Mobicents to deal with presence events?

Regards,
Eduardo Martins

mranga
Offline
Joined: 2003-06-06

Sounds like a good plan. Better yet, it would be good to define an architecture for an IP PBX where each of these functions is a component (sbb) / service that a user can dynamically configure. Then using B2BUA as a basic building block, one can build such features.

Ranga

mranga
Offline
Joined: 2003-06-06

In fact if you can do a presence and IM server as a SLEE service, that would be a nice contribution that we can include in our mobicents-examples subproject.

Ranga

ivelin
Offline
Joined: 2003-07-13

Sacha,

I would suggest downloading the full 1.0b1 package - server, IDE and examples. Study the examples in detail and try to see where you can extend with buddy list functionality.

To give you a hint (which Ranga gave to me :), the buddy list could be a SLEE service listening to the SIP RA presence events and working with the SIP Registrar Service.

It will be a worthwhile excersize to write a SIP buddy list service under the mobicents-examples sub-project. Later on it could be moved to the mobicents-pbx project.

Long term we should have a protocol independent registrar, presense and buddy list services. Whether the clients connect with XMPP, SIP or another protocol should be transparent to the users.

One possibly interesting reference to consider for the long term problem is the Java Jabber Server. http://www.javajabber.net/en/index.xml
It seems to be relatively feature complete and has an ASL license, which is compatible with LGPL. A dialog for collaboration with the JJS makes sense.

Ivelin

mranga
Offline
Joined: 2003-06-06

The buddy list could be stored in a CMP field. To get a roubh idea how to go about building a sip proxy server with presence support you can take a look at

http://jain-sip-presence-proxy.dev.java.net

Only use this as a guideline. To convert to a slee service, you need a bit of re-engieering.

Ranga

mranga
Offline
Joined: 2003-06-06

One thing to think of is to build a Sip B2BUA building block as a starting point. This should be an SBB. Then use that SBB to construct your proxy service.