Now I'm able to save the pidf.xml on openxcap server. I can also get the pidf from IE from openxcap. Still opensips sends NOTIFY with no payload (no pidf) for all the contacts that are offline. Basically all the presentity gets is offline. No details like email , phone , note can be obtained for offline contacts. Though opensips will send pidf for all contacts (both online and offline) with other contact info and note etc.<br>
<br>I have enabled pidf manipulation on opensips.cfg. Should I set any thing else on opensips to enable pidf-manipuation. I'm using 1.5.3 version.<br><br>Thanks in Advance.<br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 4:37 PM, Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">El Jueves, 5 de Noviembre de 2009, mani sivaraman escribió:<br>
<div class="im">> I have opensips and openxcap working on the same server. If I try to save<br>
> pidf.xml shown below openxcap sends back 404. Is there any special config<br>
> on openspis or openxcap to enable pidf-manipulation ?<br>
<br>
</div>OpenSIPS has *nothing* to do with XCAP requests the client sends to the XCAP<br>
server.<br>
<div class="im"><br>
<br>
> PUT -><br>
> <a href="http://sips01.mydomain.com:9080/xcap-root/services/pidf-manipulation/users/" target="_blank">http://sips01.mydomain.com:9080/xcap-root/services/pidf-manipulation/users/</a><br>
> <a href="http://msivaraman@mydomain.com/pidf.xml" target="_blank">msivaraman@mydomain.com/pidf.xml</a><br>
><br>
> OPenXcap Server Sends back "404 Not Found"<br>
<br>
> Document selector context must be either 'users' or 'global', not<br>
> 'pidf-manipulation': 'services/pidf-manipulation/users/<br>
> <a href="http://msivaraman@mydomain.com/pidf.xml" target="_blank">msivaraman@mydomain.com/pidf.xml</a>'<br>
<br>
</div>You have wrong "root" parameter in OpenXCAP config.ini file. Most probably you<br>
have:<br>
<br>
root = <a href="http://sips01.mydomain.com/xcap-root/" target="_blank">http://sips01.mydomain.com/xcap-root/</a><br>
<br>
But the request of the client expect this xcap root:<br>
<br>
root = <a href="http://sips01.mydomain.com/xcap-root/services/" target="_blank">http://sips01.mydomain.com/xcap-root/services/</a><br>
<br>
So just remove "/services" in the client request or add it in OpenxCAP root<br>
parameter.<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
Iñaki Baz Castillo <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><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>
</font></blockquote></div><br>