Hello All,
I am trying to understand how the RLS module handles a subscribe request.
My client is sending the following:
Subscribe, event = reg, no Allowed header - hence it is getting
handled by the presence module (entry make its to active_watchers
table)
Subscribe, event - presence.winfo, no Allowed header - hence it's
getting handled by the presence module (entry makes it to
active_watchers table)
Publish - handled by presence module (makes it to presentity table)
Subscribe, event = presence, Allowed = eventlist - hence it's handled
by the rls module. RLS module is having trouble sending a notify per
this data in the syslog. Also I don't see any entries in the watcher
table or rls_watchers or rls_presentity table.
Errors:
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
presence [hash.c:342]: record not found in hash table
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: ERROR:
rls [notify.c:387]: updating in hash table
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: ERROR:
rls [notify.c:273]: in function agg_body_sendn_update
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:81]: freeing 5 columns
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[0] at 0x7fb2a8daa220
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[1] at 0x7fb2a8daa598
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[2] at 0x7fb2a8da9f90
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[3] at 0x7fb2a8da9b48
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:85]: freeing RES_NAMES[4] at 0x7fb2a8da9b28
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:94]: freeing result names at 0x7fb2a8daa608
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:99]: freeing result types at 0x7fb2a8daa570
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<core> [db_res.c:136]: freeing result set at 0x7fb2a8da9410
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: ERROR:
rls [subscribe.c:732]: failed sending full state notify
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: ERROR:
rls [subscribe.c:781]: occured in rls_handle_subscribe
Oct 11 11:29:26 RCS-Presence /usr/local/sbin/kamailio[23085]: DEBUG:
<script>: ========= RLS Handle subscriber returned with ret code: -1
===
What's it trying to do here? Any help is appreciated.
Thanks,
Sangeeta
--
Sangeeta Shah
Show replies by date