Hello,
afaik xlite provides only end-to-end presence support. Meaning it does
not work with a presence server, but subscribes have to be routed to the
other UA.
Try with Jitsi and see if you get user status.
Cheers,
Daniel
On 6/10/13 12:05 PM, SamyGo wrote:
Hi List,
I've been trying to make the Presence thing work with kamailio but the
very basic presence doesn't seem to work. I've tried multiple modules
and different how-tos for running successful presence aware
configuration but seems something is missing. The ultimate goal is to
give user online/busy/offline status updaes to Subscribers.
My Kamailio version is: kamailio 4.0.1 (i386/linux) 55f7de
I've loaded the following modules.
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "presence_dialoginfo.so"
loadmodule "presence_reginfo"
loadmodule "pua.so"
#loadmodule "sca.so"
loadmodule "pua_dialoginfo.so"
loadmodule "pua_usrloc.so"
loadmodule "pua_reginfo"
The Presence route contains this:
route[PRESENCE] {
if(!is_method("PUBLISH|SUBSCRIBE"))
return;
xlog("L_INFO", "[$fU@$si:$sp]{$rm} In Presence Route \n");
#!ifdef WITH_PRESENCE
if (!t_newtran())
{
sl_reply_error();
exit;
};
if(is_method("PUBLISH"))
{
handle_publish();
t_release();
}
else
if( is_method("SUBSCRIBE"))
{
handle_subscribe();
t_release();
}
exit;
#!endif
# if presence enabled, this part will not be executed
if (is_method("PUBLISH") || $rU==$null)
{
sl_send_reply("404", "Not here");
exit;
}
return;
}
Then I've my x-lite phone (which is known to work with Presence in
Asterisk) tries to register and subscribe to its own extensions.
Nothing happens. The trace from sipgrep is attached.
Please help me in making presence work.
Thanks,
Sammy
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
*
http://asipto.com/u/katu *