Hi kamailio'ns
I am working on Kamailio V 4.0.3, installed from Ubuntu 12.04(precise) repository. My SIP clients(jitsi) are registering to kamailio sever successfully but their presence is not sharing between the clients. I am frequently logging following presence related errors in syslog while trying to register SIP clients to kamailio server:
Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15274]: INFO: pua_usrloc [ul_publish.c:221]: ul_publish(): not marked for publish Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: WARNING: presence [publish.c:481]: handle_publish(): Missing or unsupported event header field value Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: ERROR: presence [publish.c:484]: handle_publish(): event=[reg]
what could be the wrong ? How can i reslove this issue ?
please find in the attachment is my kamailio config file. (suggest me if any changes to be made to this configuration)
Any help will greatly appreciate.
Regards, Ravi
Hello,
there are two events triggering the log messages.
One is about the fact you haven't set the flag for the REGISTER request to trigger a PUBLISH (see readme for pua_usrloc). This is the first message, the INFO.
The other is the PUBLISH from pua_reginfo that is for location records replication. There has to be another kamailio node with presence_reginfo that should receive this PUBLISH. I don't think you need the pua_reginfo module in your case, see its readme file to understand its purpose.
Cheers, Daniel
On 10/25/13 5:12 PM, Wingsravi R wrote:
Hi kamailio'ns
I am working on Kamailio V 4.0.3, installed from Ubuntu 12.04(precise) repository. My SIP clients(jitsi) are registering to kamailio sever successfully but their presence is not sharing between the clients. I am frequently logging following presence related errors in syslog while trying to register SIP clients to kamailio server:
Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15274]: INFO: pua_usrloc [ul_publish.c:221]: ul_publish(): not marked for publish Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: WARNING: presence [publish.c:481]: handle_publish(): Missing or unsupported event header field value Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: ERROR: presence [publish.c:484]: handle_publish(): event=[reg]
what could be the wrong ? How can i reslove this issue ?
please find in the attachment is my kamailio config file. (suggest me if any changes to be made to this configuration)
Any help will greatly appreciate.
Regards, Ravi
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
Dear Daniel,
Thank you for the reply,
As you suggested, added the following in request_route block :
if (is_method("REGISTER")){ pua_set_publish(); }
and removed pua_reginfo module. But Presence visibility between the clients is only at the very first registeration, if tried to re-register the client again the presence sharing between the clients is not happening.
please find in the attachment below, the syslog errors.
What could be the problem and how can i solve this issue ?
your help will meant a lot.
Regards, Ravi
On Fri, Oct 25, 2013 at 10:44 PM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
Hello,
there are two events triggering the log messages.
One is about the fact you haven't set the flag for the REGISTER request to trigger a PUBLISH (see readme for pua_usrloc). This is the first message, the INFO.
The other is the PUBLISH from pua_reginfo that is for location records replication. There has to be another kamailio node with presence_reginfo that should receive this PUBLISH. I don't think you need the pua_reginfo module in your case, see its readme file to understand its purpose.
Cheers, Daniel
On 10/25/13 5:12 PM, Wingsravi R wrote:
Hi kamailio'ns
I am working on Kamailio V 4.0.3, installed from Ubuntu 12.04(precise) repository. My SIP clients(jitsi) are registering to kamailio sever successfully but their presence is not sharing between the clients. I am frequently logging following presence related errors in syslog while trying to register SIP clients to kamailio server:
Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15274]: INFO: pua_usrloc [ul_publish.c:221]: ul_publish(): not marked for publish Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: WARNING: presence [publish.c:481]: handle_publish(): Missing or unsupported event header field value Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: ERROR: presence [publish.c:484]: handle_publish(): event=[reg]
what could be the wrong ? How can i reslove this issue ?
please find in the attachment is my kamailio config file. (suggest me if any changes to be made to this configuration)
Any help will greatly appreciate.
Regards, Ravi
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
- more details about Kamailio trainings at http://www.asipto.com -
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
Hello,
can you re-run with debug=3 and send the syslog messages? Just the error messages are not enough in this case.
Cheers, Daniel
On 10/26/13 1:09 PM, Wingsravi R wrote:
Dear Daniel,
Thank you for the reply,
As you suggested, added the following in request_route block :
if (is_method("REGISTER")){ pua_set_publish(); }
and removed pua_reginfo module. But Presence visibility between the clients is only at the very first registeration, if tried to re-register the client again the presence sharing between the clients is not happening.
please find in the attachment below, the syslog errors.
What could be the problem and how can i solve this issue ?
your help will meant a lot.
Regards, Ravi
On Fri, Oct 25, 2013 at 10:44 PM, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> wrote:
Hello, there are two events triggering the log messages. One is about the fact you haven't set the flag for the REGISTER request to trigger a PUBLISH (see readme for pua_usrloc). This is the first message, the INFO. The other is the PUBLISH from pua_reginfo that is for location records replication. There has to be another kamailio node with presence_reginfo that should receive this PUBLISH. I don't think you need the pua_reginfo module in your case, see its readme file to understand its purpose. Cheers, Daniel On 10/25/13 5:12 PM, Wingsravi R wrote:
Hi kamailio'ns I am working on Kamailio V 4.0.3, installed from Ubuntu 12.04(precise) repository. My SIP clients(jitsi) are registering to kamailio sever successfully but their presence is not sharing between the clients. I am frequently logging following presence related errors in syslog while trying to register SIP clients to kamailio server: Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15274]: INFO: pua_usrloc [ul_publish.c:221]: ul_publish(): not marked for publish Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: WARNING: presence [publish.c:481]: handle_publish(): Missing or unsupported event header field value Oct 25 20:01:05 kamailio /usr/sbin/kamailio[15273]: ERROR: presence [publish.c:484]: handle_publish(): event=[reg] what could be the wrong ? How can i reslove this issue ? please find in the attachment is my kamailio config file. (suggest me if any changes to be made to this configuration) Any help will greatly appreciate. Regards, Ravi _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@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://twitter.com/#%21/miconda> -http://www.linkedin.com/in/miconda Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013 - more details about Kamailio trainings athttp://www.asipto.com - _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users