Hi Kamailio Community,
I've been configuring the presence module on Kamailio and trying to get it working, using the following as a guideline;
http://nil.uniza.sk/instant-messaging/simple/configuring-im-and-presence-kam...
From that I assumed that enabling Presence would mean that IM would be
enabled too. However, that doesn't seem to be the case.
May I ask please how to configure IM on Kamailio?
Note that I am testing this with one computer connected by Bria and another computer connected via Blink. I am able to log on to a user on each (test1 and test2) and they are able to call each other. The issue is, with presence enabled, they are unable to IM each other (or add each other as contacts and see online status).
Thank you.
Kind Regards,
Gary Shergill
On 09/18/2012 12:15 PM, Gary Shergill wrote:
Note that I am testing this with one computer connected by Bria and another computer connected via Blink. I am able to log on to a user on each (test1 and test2) and they are able to call each other. The issue is, with presence enabled, they are unable to IM each other (or add each other as contacts and see online status).
Gary, I thought Bria uses RPID data format for presence (RFC 4480) while Blink uses PIDF so they won't be able to see presence status of each other. I see though that blink website mentions RPID as well, maybe somebody more knowledgeable about blink can correct me.
For IM, add MESSAGE method to supported methods and send it after lookup like INVITE. For offline message delivery, checkout the msilo module readme.
HTH, Andrew
You can configure msilo module parameters as here (for offline user's message storing)
http://telephonynetworks.blogspot.com/2012/08/configuracion-de-kamailio-33-c...
*/*Este modulo es opcional, se utiliza para guardar mensajes en la base de datos si el usuario esta offline, y se lo envia cuando vuelva a estar en linea, para activarlo debes escribir al principio #!define WITH_MSILO y cambiar las siguientes lineas*/* #!ifdef WITH_MSILO # ------ msilo params ------ modparam("msilo","db_url",DBURL)*modparam("msilo","from_address","sip:registrar@your_public_ip")* #modparam("msilo","contact_hdr","Contact: sip:registrar@your_public_ip\r\n") modparam("msilo","content_type_hdr","Content-Type: text/plain\r\n") modparam("msilo","offline_message","*** User $rU is offline!") #modparam("msilo", "check_time", 10) #!endif
2012/9/19 Andrew Pogrebennyk apogrebennyk@sipwise.com
On 09/18/2012 12:15 PM, Gary Shergill wrote:
Note that I am testing this with one computer connected by Bria and another computer connected via Blink. I am able to log on to a user on each (test1 and test2) and they are able to call each other. The issue is, with presence enabled, they are unable to IM each other (or add each other as contacts and see online status).
Gary, I thought Bria uses RPID data format for presence (RFC 4480) while Blink uses PIDF so they won't be able to see presence status of each other. I see though that blink website mentions RPID as well, maybe somebody more knowledgeable about blink can correct me.
For IM, add MESSAGE method to supported methods and send it after lookup like INVITE. For offline message delivery, checkout the msilo module readme.
HTH, Andrew
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi Gary! You don't need to do anything to support MESSAGE requests on Kamailio. Following the guide from the web site, you will enable Presence. However, your problem seems to be with the client software. If I am correct, Blink uses Session mode (MSRP) for IM service. Bria uses Page mode (sip MESSAGE requests) for that. Try to use other clients, for example Jitsi. Presence and IM should be working there. Martin ______________________________________________________________
Od: "Gary Shergill" Komu: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List" Dátum: 19.09.2012 08:31 Predmet: [SR-Users] IM on Kamailio
Hi Kamailio Community,
I've been configuring the presence module on Kamailio and trying to get it working, using the following as a guideline;
http://nil.uniza.sk/instant-messaging/simple/configuring-im-and-presence-kam...
From that I assumed that enabling Presence would mean that IM would be
enabled too. However, that doesn't seem to be the case.
May I ask please how to configure IM on Kamailio?
Note that I am testing this with one computer connected by Bria and another computer connected via Blink. I am able to log on to a user on each (test1 and test2) and they are able to call each other. The issue is, with presence enabled, they are unable to IM each other (or add each other as contacts and see online status).
Thank you.
Kind Regards,
Gary Shergill
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi Everyone,
========================
You don't need to do anything to support MESSAGE requests on Kamailio.
Following the guide from the web site, you will enable Presence. However, your problem seems to be with the client software. If I am correct, Blink uses Session mode (MSRP) for IM service. Bria uses Page mode (sip MESSAGE requests) for that. Try to use other clients, for example Jitsi. Presence and IM should be working there.
========================
Thank you Martian! Using Jitsi it works perfectly, IM and presence and audio too on calls.
Even works when I turn on SylkServer and log on to an account from there; (<sylkserver account>@<kamailio server>.<domain>)
Thanks again, great help here =)
Kind Regards,
Gary Shergill