I am trying to get Snom's Contact List to work with RLS and XCAP.  When I enable the Snom phone it sends the following subscribe
<br />
<br />SUBSCRIBE sip:9012732009@irock.com;user=phone SIP/2.0
<br />Via: SIP/2.0/UDP 192.168.1.70:3072;branch=z9hG4bK-o82o6mip4krp;rport
<br />From: &lt;sip:9012732009@irock.com&gt;;tag=uqpj4kshg7
<br />To: &lt;sip:9012732009@irock.com;user=phone&gt;
<br />Call-ID: c60b313ccc40-ul069icazcpv
<br />CSeq: 1 SUBSCRIBE
<br />Max-Forwards: 70
<br />Contact: &lt;sip:9012732009@192.168.1.70:3072;line=uj0qzs9a&gt;;reg-id=1
<br />Event: presence
<br />Accept: application/pidf+xml, application/rlmi+xml, multipart/related
<br />Supported: eventlist
<br />User-Agent: snom821/8.4.31
<br />Expires: 3600
<br />Content-Length: 0
<br />
<br />
<br />With my OpenSIPS config I have 
<br />
<br /># -- rls params --
<br />modparam(&quot;rls&quot;, &quot;db_url&quot;, &quot;mysql://opensips:****@127.0.0.1/opensips&quot;)
<br />modparam(&quot;rls&quot;, &quot;server_address&quot;, &quot;sip:rls@sdfsdfsdf:5060&quot;)
<br />modparam(&quot;rls&quot;, &quot;to_presence_code&quot;, 5)
<br />modparam(&quot;rls&quot;, &quot;integrated_xcap_server&quot;, 1)
<br />modparam(&quot;rls&quot;, &quot;presence_server&quot;, &quot;sip:sa@asdfsadfsd:5060&quot;)
<br />modparam(&quot;rls&quot;, &quot;rls_event&quot;, &quot;xcap-diff&quot;)
<br />modparam(&quot;rls&quot;, &quot;rls_event&quot;, &quot;ua-profile&quot;)
<br />
<br />
<br />                        rls_handle_subscribe();
<br />
<br />                        switch ($retcode) {
<br />                        case 5:
<br />                                # RLS indicated that message should be processed by presence
<br />
<br />                                if (is_uri_host_local()) {
<br />                                        if (db_does_uri_exist()) {
<br />                                                handle_subscribe();
<br />                                        } else {
<br />                                                t_reply(&quot;404&quot;, &quot;User not found&quot;);
<br />                                        }
<br />                                        exit;
<br />                                }
<br />                                break;
<br />
<br />I see with xlog messages that rls_handle_subscribe() fails with a &quot;case 5&quot;.  I am not sure why the Snom SUBSCRIBE would fail with a &quot;5&quot;.
<br />
<br />I&#39;ve looked at http://www.opensips.org/Resources/Rls and the SUBSCRIBE from SNOM really isn&#39;t that different.  So why does &quot;rls_handle_subscribe()&quot; fail?