2009/8/28 Juha Heinanen <j...@tutpro.com>: > 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.
I haven't inspected the code, but rls_handle_subscribe() does what it's supposed to do (return the preconfigured to $rc when no RL doc is found). -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel