Saul,<br><br>That was the issue. Thanks for looking at that.<br><br><br><br><div class="gmail_quote">On Mon, Mar 19, 2012 at 10:21 AM, <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK. I see where the duplicate is now. I will test later today.<div class="im"><br><br><br><br>On , Saúl Ibarra Corretgé <<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>> wrote:<br>
> Hi Duane,<br>> <br>> <br>> <br>> [snip]<br>> <br>> <br>> <br>> ><br>> <br>> > I created it by doing the following<br>> <br>> ><br>> <br>> > PUT /xcap-root/rls-services/users/sip:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>@<a href="http://irock.com/index" target="_blank">irock.com/index</a> HTTP/1.1.<br>
> <br>> > Accept-Encoding: identity.<br>> <br>> > Content-Length: 798.<br>> <br>> > Host: <a href="http://xcap.X.com" target="_blank">xcap.X.com</a>.<br>> <br>> > User-Agent: python-xcaplib/<a href="http://1.0.16." target="_blank">1.0.16.</a><br>
> <br>> > Connection: close.<br>> <br>> > Content-Type: application/x-www-form-urlencoded.<br>> <br>> > Authorization: Digest username="<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>", realm="<a href="http://irock.com" target="_blank">irock.com</a>", nonce="332840634855165799770139975774574805066135619005395955328", uri="/xcap-root/rls-services/users/sip:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>@<a href="http://irock.com/index" target="_blank">irock.com/index</a>", response="f76c6a6375156936cb0c5d6137a325ad", opaque="0a430b4a4d580e7d473c2697c9d61477-MzMyODQwNjM0ODU1MTY1Nzk5NzcwMTM5OTc1Nzc0NTc0ODA1MDY2MTM1NjE5MDA1Mzk1OTU1MzI4LDE3My4yMDMuODEuMTExLDEzMjc4MTQzOTE=", algorithm="MD5", qop=auth, nc=00000001, cnonce="dfd8addb86008b0e".<br>
> <br>> > .<br>> <br>> > ##<br>> <br>> > T 2012/01/28 23:19:51.385478 173.X.X.X:39849 -> 173.X.X.X:80 [AP]<br>> <br>> > <br>> <br>> > <br></div><div class="im">> > xmlns:rl="urn:ietf:params:xml:ns:resource-lists"<br>
> <br>> > xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><br>> <br></div>> > sip:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>-<a href="mailto:list@irock.com" target="_blank">list@irock.com</a>"><br>
> <br>> > <a href="http://xcap.X.com/xcap-root/resource-lists/users/sip" target="_blank">http://xcap.X.com/xcap-root/resource-lists/users/sip</a>:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>@<a href="http://irock.com/index" target="_blank">irock.com/index</a><div class="im">
<br>> <br>> <br>> <br>> ^^^ here, in the resource-list element, you need to insert the xpath for a *single* list in the resource-lists document. You are adding a link to the whole document for a given user.<br>
> <br>> <br>> <br>> > <br>> <br></div>> > presence<br>> <br>> > <br>> <br>> > <br>> <br>> > sip:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>-<a href="mailto:list@irock.com" target="_blank">list@irock.com</a>"><div class="im">
<br>> <br>> > <br>> <br>> > sip:<a href="tel:9012732005" value="+19012732005" target="_blank">9012732005</a>@<a href="http://coolbeans.com" target="_blank">coolbeans.com</a>"/><br>> <br>
> > sip:<a href="tel:9013349020" value="+19013349020" target="_blank">9013349020</a>@<a href="http://coolbeans.com" target="_blank">coolbeans.com</a>"/><br>> <br>> > <br>> <br>> > <br>
> <br></div>> > presence<div class="im"><br>> <br>> > <br>> <br>> > <br>> <br>> > <br>> <br>> > ####<br>> <br>> > T 2012/01/28 23:19:52.641120 173.X.X.X:80 -> 173.X.X.X:39849 [AP]<br>
> <br>> > HTTP/1.1 201 Created.<br>> <br>> > Date: Sun, 29 Jan 2012 05:19:52 GMT.<br>> <br>> > Content-Length: 0.<br>> <br>> > ETag: "0a66a8b47732adca8badebeece871fe4".<br>> <br>
> > Content-Type: application/rls-services+xml.<br>> <br>> > Server: OpenXCAP/<a href="http://2.0.1." target="_blank">2.0.1.</a><br>> <br>> > Connection: close.<br>> <br>> ><br>> <br>> ><br>
> <br>> ><br>> <br>> ><br>> <br>> > I read over (RFC4826, sec 4.4.5) and it says<br>> <br></div>> > "The URI in the "uri" attribute of the element MUST be<div class="im">
<br>> <br>> > unique amongst all other URIs in "uri" elements in any <br>> <br></div><div class="im">> > element in any document on a particular server"<br>> <br>> ><br>
> <br></div>> > If I am reading this correctly it is telling me that "sip:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>-<a href="mailto:list@irock.com" target="_blank">list@irock.com</a>">" needs to be unique. I am pretty positive this is a unique URI and it is not created<div class="im">
<br>> <br>> <br>> <br>> Well, just read the XML you pasted above, you have the same URI twice:<br>> <br>> <br>> <br></div><div class="im">> > sip:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>-<a href="mailto:list@irock.com" target="_blank">list@irock.com</a>"><br>
> <br>> ^^ service URI 1<br>> <br></div>> > <a href="http://xcap.X.com/xcap-root/resource-lists/users/sip" target="_blank">http://xcap.X.com/xcap-root/resource-lists/users/sip</a>:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>@<a href="http://irock.com/index" target="_blank">irock.com/index</a><br>
> <br>> <br>> <br>> > <br>> <br>> > presence<div class="im HOEnZb"><br>> <br>> > <br>> <br>> > <br>> <br>> > sip:<a href="tel:9012732009" value="+19012732009" target="_blank">9012732009</a>-<a href="mailto:list@irock.com" target="_blank">list@irock.com</a>"><br>
> <br>> ^^ service URI 2<br>> <br>> > <br>> <br>> <br>> <br>> <br>> <br></div><div class="HOEnZb"><div class="h5">> The are the same.<br>> <br>> <br>> <br>> > anywhere else. Also the RFC says<br>
> <br>> > "If a server is asked to set the URI to something that already<br>> <br>> > exists, the server MUST reject the request with a 409,"<br>> <br>> ><br>> <br>> > I am not seeing a 409 error. So if I am understanding RFC4826 then I believe I have done everything right.<br>
> <br>> ><br>> <br>> <br>> <br>> Your documents are bogus. That's about it. The XCAP server may have a bug as well, it should have gave that 409 error when pushing the document, though.<br>> <br>
> <br>> <br>> <br>> <br>> Regards,<br>> <br>> <br>> <br>> --<br>> <br>> Saúl Ibarra Corretgé<br>> <br>> AG Projects<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>
> <br>> <br>> _______________________________________________<br>> <br>> Users mailing list<br>> <br>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>> <br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>> <br>></div></div></blockquote></div><br><br clear="all"><br>-- <br>
--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>