from rls tutorial document:

http://www.opensips.org/Resources/Rls

i get impression that rls_handle_subscribe() should return
to_presence_code, if resource list document is not found in xcap server.

however, when i read the code, it has:

                if(doc== NULL|| service_node==NULL)
                {
                        LM_DBG("list not found - search for uri = 
%.*s\n",subs.pres_uri.len,
                                subs.pres_uri.s);
                        reply_code = 404;
                        reply_str = pu_404_rpl;
                        goto error;
                }

is this a bug?  if not, i don't see how a normal handle_subscribe()
can be tried if rls document doesn't exit.

-- juha

_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to