[SR-Users] Kamailio presence with RLS

Sangeeta Shah sangeeta.shah at gmail.com
Thu Oct 11 17:43:17 CEST 2012


Hello Everyone,

   Has anyone had any luck getting RLS working with presence.

I am seeing the following errors in my log file:
 ct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
presence [hash.c:342]: record not found in hash table
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG: tm
[t_reply.c:1543]: DEBUG: cleanup_uac_timers: RETR/FR timers reset
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [xavp.c:365]: destroying xavp list (nil)
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2020]: DEBUG:
<core> [receive.c:293]: receive_msg: cleaning up
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: ERROR:
rls [notify.c:385]: updating in hash table
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: ERROR:
rls [notify.c:271]: in function agg_body_sendn_update
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:81]: freeing 5 columns
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[0] at 0x7fbf415c4178
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[1] at 0x7fbf415c48a0
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[2] at 0x7fbf415c38a8
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[3] at 0x7fbf415c3bc8
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[4] at 0x7fbf415c4880
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:94]: freeing result names at 0x7fbf415c3c28
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:99]: freeing result types at 0x7fbf415c3648
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<core> [db_res.c:136]: freeing result set at 0x7fbf415c3940
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: ERROR:
rls [subscribe.c:732]: failed sending full state notify
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: ERROR:
rls [subscribe.c:781]: occured in rls_handle_subscribe
Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG:
<script>: ========= RLS Handle subscriber returned with ret code: -1
===

I think this is my first problem. There is an error later in the log
file as well, but it seems
Apparently from what i understand we are trying to update the entry in
the presence_shtable and we cannot find it and hence we are failing to
send the full state notify.

Any help is appreciated. If further information is required please let
me know. I can try to print out more data in the
update_presence_shtable function. I have another htread with a lot of
log info but for some reason the thread went cold and I just need to
keep moving on getting this to work.

Anyone familiar with this please let me know what the likely cause of
this issue might be.

Thanks,
Sangeeta
-- 
Sangeeta Shah



More information about the sr-users mailing list