I have OpenXCAP, OpenSIPS and Opensips-mi-proxy all installed on one machine. 
For the most part things are working except for when I enable xcap-diff in
the OpenXCAP config.ini (enable_publish_xcapdiff = yes).

When it's enabled the xcap-diff calls to OpenSIPS-MI-Proxy blow up.  The
logs below are from me deleting a buddy contact from Counterpath's Bria
client.  

Here is the syslog

Apr 30 10:55:00 Proxy01 openxcap[31738]: Starting factory
<twisted.web.xmlrpc._QueryFactory instance at 0x3641c68>
Apr 30 10:55:00 Proxy01 opensips-mi-proxy[2645]: Got XMLRPC request from
173.x.x.x: refreshWatchers (sip:[email protected]
om presence 0)
Apr 30 10:55:00 Proxy01 /usr/local/sbin/opensips[17800]:
INFO:presence:send_notify_request: NOTIFY sip:[email protected] via sip:
[email protected]:61877;transport=udp on behalf of
sip:[email protected] for event presence
Apr 30 10:55:00 Proxy01 /usr/local/sbin/opensips[17800]:
INFO:presence:send_notify_request: NOTIFY sip:[email protected] via sip:
[email protected]:61877;transport=udp on behalf of
sip:[email protected] for event presence
Apr 30 10:55:00 Proxy01 /usr/local/sbin/opensips[17800]:
INFO:presence:send_notify_request: NOTIFY sip:[email protected] via 
sip:[email protected]:12966;transport=udp on behalf of
sip:[email protected] for event presence.winfo
Apr 30 10:55:00 Proxy01 openxcap[31738]: Starting factory
<twisted.web.xmlrpc._QueryFactory instance at 0x3638560>
Apr 30 10:55:00 Proxy01 openxcap[31738]: Stopping factory
<twisted.web.xmlrpc._QueryFactory instance at 0x3641c68>
Apr 30 10:55:00 Proxy01 opensips-mi-proxy[2645]: Got XMLRPC request from
173.x.x.x: pua_publish (sip:[email protected] 3
600 xcap-diff application/xcap-diff+xml . . <?xml version="1.0"
encoding="UTF-8"?>
Apr 30 10:55:00 Proxy01 opensips-mi-proxy[2645]: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root";>
Apr 30 10:55:00 Proxy01 opensips-mi-proxy[2645]: <document
new-etag="1946cb2b2ef4e6303133c7171e2f33e2" sel="http://xcap.aethercommun
ications.com/xcap-root/org.openmobilealliance.pres-rules/users/901273XXXX/pres-rules"
previous-etag="8358dd69589d5333238f13b08fa110b
c"/>
Apr 30 10:55:00 Proxy01 opensips-mi-proxy[2645]: </xcap-diff>
Apr 30 10:55:00 Proxy01 opensips-mi-proxy[2645]: )

 
Apr 30 10:55:01 Proxy01 openxcap[31738]: Starting factory
<twisted.web.xmlrpc._QueryFactory instance at 0x364ed88>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: Got XMLRPC request from
173.x.x.x: pua_publish (sip:[email protected] 3
600 xcap-diff application/xcap-diff+xml . . <?xml version="1.0"
encoding="UTF-8"?>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root";>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: <document
new-etag="82f2458040ef8c7f157eded0b26a1969"
sel="http://xcap.AE.com/xcap-root/resource-lists/users/901273XXXX/resource-list.xml";
previous-etag="caf3949208bb0a57935845ae98aaae14"/>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: </xcap-diff>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: )
Apr 30 10:55:01 Proxy01 openxcap[31738]: Starting factory
<twisted.web.xmlrpc._QueryFactory instance at 0x3650c20>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: Got XMLRPC request from
173.x.x.x: pua_publish (sip:[email protected] 3
600 xcap-diff application/xcap-diff+xml . . <?xml version="1.0"
encoding="UTF-8"?>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root";>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: <document
new-etag="51b4692194a8692a1b27460e8725bd96"
sel="http://xcap.AE.com/xcap-root/resource-lists/users/901273XXXX/contacts-resource-list.xml";
previous-etag="95660297b918e64efbc2c9a80b05ed78"/
>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: </xcap-diff>
Apr 30 10:55:01 Proxy01 opensips-mi-proxy[2645]: )


Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: error: Error while
processing command pua_publish (sip:[email protected] 360
0 xcap-diff application/xcap-diff+xml . . <?xml version="1.0"
encoding="UTF-8"?>
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: error: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root";>
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: error: <document
new-etag="1946cb2b2ef4e6303133c7171e2f33e2"
sel="http://xcap.AE.com/xcap-root/org.openmobilealliance.pres-rules/users/901273XXXX/pres-rules";
previous-etag="8358dd69589d5333238f13b0
8fa110bc"/>
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: error: </xcap-diff>
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: error: ): OpenSIPS command
did timeout
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: Exception rendering:
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: Traceback (most recent call
last):
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]:   File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 371, in _
runCallbacks
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]:     self.result =
callback(self.result, *args, **kw)
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]:   File
"/usr/lib/pymodules/python2.5/miproxy/proxy.py", line 88, in _cbRender
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]:     code = int(code)
Apr 30 10:55:03 Proxy01 opensips-mi-proxy[2645]: ValueError: invalid literal
for int() with base 10: 'OpenSIPS'
Apr 30 10:55:03 Proxy01 openxcap[31738]: error: Unhandled error in Deferred:
Apr 30 10:55:03 Proxy01 openxcap[31738]: ValueError: ('500', 'Internal
Server Error')
Apr 30 10:55:03 Proxy01 openxcap[31738]: Stopping factory
<twisted.web.xmlrpc._QueryFactory instance at 0x3638560>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: Error while
processing command pua_publish (sip:[email protected] 360
0 xcap-diff application/xcap-diff+xml . . <?xml version="1.0"
encoding="UTF-8"?>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root";>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: <document
new-etag="82f2458040ef8c7f157eded0b26a1969"
sel="http://xcap.AE.com/xcap-root/resource-lists/users/901273XXXX/resource-list.xml";
previous-etag="caf3949208bb0a57935845ae98aaae14"/>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: </xcap-diff>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: ): OpenSIPS command
did timeout
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: Exception rendering:
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: Traceback (most recent call
last):
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:   File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 371, in _
runCallbacks
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:     self.result =
callback(self.result, *args, **kw)
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:   File
"/usr/lib/pymodules/python2.5/miproxy/proxy.py", line 88, in _cbRender
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:     code = int(code)
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: ValueError: invalid literal
for int() with base 10: 'OpenSIPS'
Apr 30 10:55:04 Proxy01 openxcap[31738]: error: Unhandled error in Deferred:
Apr 30 10:55:04 Proxy01 openxcap[31738]: ValueError: ('500', 'Internal
Server Error')
Apr 30 10:55:04 Proxy01 openxcap[31738]: Stopping factory
<twisted.web.xmlrpc._QueryFactory instance at 0x364ed88>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: Error while
processing command pua_publish (sip:[email protected] 360
0 xcap-diff application/xcap-diff+xml . . <?xml version="1.0"
encoding="UTF-8"?>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root";>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: <document
new-etag="51b4692194a8692a1b27460e8725bd96"
sel="http://xcap.AE.com/xcap-root/resource-lists/users/901273XXXX/contacts-resource-list.xml";
previous-etag="95660297b918e64efbc2c9a80b0
5ed78"/>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: </xcap-diff>
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: error: ): OpenSIPS command
did timeout
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: Exception rendering:
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: Traceback (most recent call
last):
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:   File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 371, in _
runCallbacks
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:     self.result =
callback(self.result, *args, **kw)
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:   File
"/usr/lib/pymodules/python2.5/miproxy/proxy.py", line 88, in _cbRender
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]:     code = int(code)
Apr 30 10:55:04 Proxy01 opensips-mi-proxy[2645]: ValueError: invalid literal
for int() with base 10: 'OpenSIPS'
Apr 30 10:55:04 Proxy01 openxcap[31738]: error: Unhandled error in Deferred:
Apr 30 10:55:04 Proxy01 openxcap[31738]: ValueError: ('500', 'Internal
Server Error')
Apr 30 10:55:04 Proxy01 openxcap[31738]: Stopping factory
<twisted.web.xmlrpc._QueryFactory instance at 0x3650c20>

Apr 30 10:55:33 Proxy01 /usr/local/sbin/opensips[17797]:
ERROR:mi_datagram:datagram_close_async: failed to send the response, ret is
 -1
Apr 30 10:55:34 Proxy01 /usr/local/sbin/opensips[17797]:
ERROR:mi_datagram:datagram_close_async: failed to send the response, ret is
 -1
Apr 30 10:55:34 Proxy01 /usr/local/sbin/opensips[17797]:
ERROR:mi_datagram:datagram_close_async: failed to send the response, ret is
 -1




Here is the OpenXCAP sniff
T 2010/04/30 10:54:59.710401 192.251.125.224:13357 -> 173.x.x.x:80 [AP]
PUT
/[email protected]/org.openmobilealliance.pres-rules/users/901273XXX8/pres-rules
HTTP/1.1.
Host: xcap.AE.com.
Accept: */*.
Content-Type: application/auth-policy+xml.
If-Match: "8358dd69589d5333238f13b08fa110bc".
Content-Length: 196.
.

##
T 2010/04/30 10:54:59.750710 192.251.125.224:13357 -> 173.x.x.x:80 [AP]
<?xml version="1.0" encoding="UTF-8"?>.
<ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
xmlns:cp="www.counterpath.com/privacy-lists">.
</ruleset>
##
T 2010/04/30 10:54:59.752905 173.x.x.x:80 -> 192.251.125.224:13357 [AP]
HTTP/1.1 401 Unauthorized.
Date: Fri, 30 Apr 2010 15:54:59 GMT.
Content-Length: 141.
Content-Type: text/html.
WWW-Authenticate: basic realm="coolbeans.com".
Server: OpenXCAP/1.2.0.
.
<html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1><p>You
are not authorized to access this resource.</p></body></html>
#
T 2010/04/30 10:55:00.031633 192.251.125.224:13357 -> 173.x.x.x:80 [AP]
PUT
/[email protected]/org.openmobilealliance.pres-rules/users/901273XXX8/pres-rules
HTTP/1.1.
Authorization: Basic OTAxMjczMjAwODoxMjM0.
Host: xcap.AE.com.
Accept: */*.
Content-Type: application/auth-policy+xml.
If-Match: "8358dd69589d5333238f13b08fa110bc".
Content-Length: 196.
.

##
T 2010/04/30 10:55:00.353239 192.251.125.224:13357 -> 173.x.x.x:80 [AP]
<?xml version="1.0" encoding="UTF-8"?>.
<ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
xmlns:cp="www.counterpath.com/privacy-lists">.
</ruleset>
##
T 2010/04/30 10:55:00.366918 173.x.x.x:80 -> 192.251.125.224:13357 [AP]
HTTP/1.1 200 OK.
Date: Fri, 30 Apr 2010 15:55:00 GMT.
Content-Length: 0.
ETag: "1946cb2b2ef4e6303133c7171e2f33e2".
Content-Type: application/auth-policy+xml.
Server: OpenXCAP/1.2.0.
.

#####
T 2010/04/30 10:55:00.984614 192.251.125.224:13366 -> 173.x.x.x:80 [AP]
PUT
/[email protected]/resource-lists/users/901273XXX8/resource-list.xml
HTTP/1.1.
Host: xcap.AE.com.
Accept: */*.
Content-Type: application/resource-lists+xml.
If-Match: "caf3949208bb0a57935845ae98aaae14".
Content-Length: 209.
.

##
T 2010/04/30 10:55:01.025632 192.251.125.224:13366 -> 173.x.x.x:80 [AP]
<?xml version="1.0" encoding="UTF-8"?>.
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">.
<list name="SIMPLE Buddy List">.
<display-name>SIMPLE Buddy List</display-name>.
</list></resource-lists>
##
T 2010/04/30 10:55:01.027729 173.x.x.x:80 -> 192.251.125.224:13366 [AP]
HTTP/1.1 401 Unauthorized.
Date: Fri, 30 Apr 2010 15:55:01 GMT.
Content-Length: 141.
Content-Type: text/html.
WWW-Authenticate: basic realm="coolbeans.com".
Server: OpenXCAP/1.2.0.
.
<html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1><p>You
are not authorized to access this resource.</p></body></html>
#
T 2010/04/30 10:55:01.069811 192.251.125.224:13366 -> 173.x.x.x:80 [AP]
PUT
/[email protected]/resource-lists/users/901273XXX8/resource-list.xml
HTTP/1.1.
Authorization: Basic OTAxMjczMjAwODoxMjM0.
Host: xcap.AE.com.
Accept: */*.
Content-Type: application/resource-lists+xml.
If-Match: "caf3949208bb0a57935845ae98aaae14".
Content-Length: 209.
.

##
T 2010/04/30 10:55:01.146058 192.251.125.224:13366 -> 173.x.x.x:80 [AP]
<?xml version="1.0" encoding="UTF-8"?>.
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">.
<list name="SIMPLE Buddy List">.
<display-name>SIMPLE Buddy List</display-name>.
</list></resource-lists>
##
T 2010/04/30 10:55:01.151850 173.x.x.x:80 -> 192.251.125.224:13366 [AP]
HTTP/1.1 200 OK.
Date: Fri, 30 Apr 2010 15:55:01 GMT.
Content-Length: 0.
ETag: "82f2458040ef8c7f157eded0b26a1969".
Content-Type: application/resource-lists+xml.
Server: OpenXCAP/1.2.0.
.

########
T 2010/04/30 10:55:01.236487 192.251.125.224:13370 -> 173.x.x.x:80 [AP]
PUT
/[email protected]/resource-lists/users/901273XXX8/contacts-resource-list.xml
HTTP/1.1.
Host: xcap.AE.com.
Accept: */*.
Content-Type: application/resource-lists+xml.
If-Match: "95660297b918e64efbc2c9a80b05ed78".
Content-Length: 323.
.

####
T 2010/04/30 10:55:01.277219 192.251.125.224:13370 -> 173.x.x.x:80 [AP]
<?xml version="1.0" encoding="UTF-8"?>.
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="counterpath:properties">.
<list name="Contact List">.
<cp:prop name="category" value="Friends" />.
<cp:prop name="category#2" value="Home" />.
<cp:prop name="category#3" value="Work" />.
</list></resource-lists>
##
T 2010/04/30 10:55:01.279092 173.x.x.x:80 -> 192.251.125.224:13370 [AP]
HTTP/1.1 401 Unauthorized.
Date: Fri, 30 Apr 2010 15:55:01 GMT.
Content-Length: 141.
Content-Type: text/html.
WWW-Authenticate: basic realm="coolbeans.com".
Server: OpenXCAP/1.2.0.
.
<html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1><p>You
are not authorized to access this resource.</p></body></html>
#
T 2010/04/30 10:55:01.321829 192.251.125.224:13370 -> 173.x.x.x:80 [AP]
PUT
/[email protected]/resource-lists/users/901273XXX8/contacts-resource-list.xml
HTTP/1.1.
Authorization: Basic OTAxMjczMjAwODoxMjM0.
Host: xcap.AE.com.
Accept: */*.
Content-Type: application/resource-lists+xml.
If-Match: "95660297b918e64efbc2c9a80b05ed78".
Content-Length: 323.
.

##
T 2010/04/30 10:55:01.405830 192.251.125.224:13370 -> 173.x.x.x:80 [AP]
<?xml version="1.0" encoding="UTF-8"?>.
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="counterpath:properties">.
<list name="Contact List">.
<cp:prop name="category" value="Friends" />.
<cp:prop name="category#2" value="Home" />.
<cp:prop name="category#3" value="Work" />.
</list></resource-lists>
##
T 2010/04/30 10:55:01.411379 173.x.x.x:80 -> 192.251.125.224:13370 [AP]
HTTP/1.1 200 OK.
Date: Fri, 30 Apr 2010 15:55:01 GMT.
Content-Length: 0.
ETag: "51b4692194a8692a1b27460e8725bd96".
Content-Type: application/resource-lists+xml.
Server: OpenXCAP/1.2.0.



Here is the sniff from opensips-mi-proxy

T 2010/04/30 10:55:00.358553 173.x.x.x:52865 -> 173.x.x.x:8080 [AP]
POST /RPC2 HTTP/1.0.
User-Agent: Twisted/XMLRPClib.
Host: 173.x.x.x.
Content-type: text/xml.
Content-length: 291.
.
<?xml version="1.0"?>
<methodCall>
<methodName>refreshWatchers</methodName>
<params>

<value><string>sip:[email protected]</string></value>


<value><string>presence</string></value>


<value><int>0</int></value>

</params>

</methodCall>

##
T 2010/04/30 10:55:00.364045 173.x.x.x:8080 -> 173.x.x.x:52865 [AP]
HTTP/1.1 200 OK.
Date: Fri, 30 Apr 2010 15:55:00 GMT.
Accept-Ranges: bytes.
Content-Type: text/xml.
Content-Length: 126.
Server: Twisted/10.0.0 TwistedWeb/[twisted.web2, version 8.1.0].
Connection: close.
.
<?xml version='1.0'?>
<methodResponse>
<params>

<value><string></string></value>

</params>
</methodResponse>

########
T 2010/04/30 10:55:00.367178 173.x.x.x:52866 -> 173.x.x.x:8080 [AP]
POST /RPC2 HTTP/1.0.
User-Agent: Twisted/XMLRPClib.
Host: 173.x.x.x.
Content-type: text/xml.
Content-length: 926.
.
<?xml version="1.0"?>
<methodCall>
<methodName>pua_publish</methodName>
<params>

<value><string>sip:[email protected]</string></value>


<value><int>3600</int></value>


<value><string>xcap-diff</string></value>


<value><string>application/xcap-diff+xml</string></value>


<value><string>.</string></value>


<value><string>.</string></value>


<value><string>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root"&gt;
&lt;document new-etag="1946cb2b2ef4e6303133c7171e2f33e2"
sel="http://xcap.AE.com/xcap-root/org.openmobilealliance.pres-rules/users/901273XXX8/pres-rules";
previous-etag="8358dd69589d5333238f13b08fa110bc"/&gt;
&lt;/xcap-diff&gt;
</string></value>

</params>

</methodCall>

#####
T 2010/04/30 10:55:01.152099 173.x.x.x:52867 -> 173.x.x.x:8080 [AP]
POST /RPC2 HTTP/1.0.
User-Agent: Twisted/XMLRPClib.
Host: 173.x.x.x.
Content-type: text/xml.
Content-length: 914.
.
<?xml version="1.0"?>
<methodCall>
<methodName>pua_publish</methodName>
<params>

<value><string>sip:[email protected]</string></value>


<value><int>3600</int></value>


<value><string>xcap-diff</string></value>


<value><string>application/xcap-diff+xml</string></value>


<value><string>.</string></value>


<value><string>.</string></value>


<value><string>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root"&gt;
&lt;document new-etag="82f2458040ef8c7f157eded0b26a1969"
sel="http://xcap.AE.com/xcap-root/resource-lists/users/901273XXX8/resource-list.xml";
previous-etag="caf3949208bb0a57935845ae98aaae14"/&gt;
&lt;/xcap-diff&gt;
</string></value>

</params>

</methodCall>

#####
T 2010/04/30 10:55:01.411646 173.x.x.x:52868 -> 173.x.x.x:8080 [AP]
POST /RPC2 HTTP/1.0.
User-Agent: Twisted/XMLRPClib.
Host: 173.x.x.x.
Content-type: text/xml.
Content-length: 923.
.
<?xml version="1.0"?>
<methodCall>
<methodName>pua_publish</methodName>
<params>

<value><string>sip:[email protected]</string></value>


<value><int>3600</int></value>


<value><string>xcap-diff</string></value>


<value><string>application/xcap-diff+xml</string></value>


<value><string>.</string></value>


<value><string>.</string></value>


<value><string>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;xcap-diff xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="http://xcap.AE.com/xcap-root"&gt;
&lt;document new-etag="51b4692194a8692a1b27460e8725bd96"
sel="http://xcap.AE.com/xcap-root/resource-lists/users/901273XXX8/contacts-resource-list.xml";
previous-etag="95660297b918e64efbc2c9a80b05ed78"/&gt;
&lt;/xcap-diff&gt;
</string></value>

</params>

</methodCall>

##
T 2010/04/30 10:55:03.377162 173.x.x.x:8080 -> 173.x.x.x:52866 [AP]
HTTP/1.1 500 Internal Server Error.
Date: Fri, 30 Apr 2010 15:55:03 GMT.
Content-Length: 201.
Content-Type: text/html.
Server: Twisted/10.0.0 TwistedWeb/[twisted.web2, version 8.1.0].
Connection: close.
.
<html><head><title>Internal Server Error</title></head><body><h1>Internal
Server Error</h1>An error occurred rendering the requested page. More
information is available in the server log.</body></html>
#####
T 2010/04/30 10:55:04.157522 173.x.x.x:8080 -> 173.x.x.x:52867 [AP]
HTTP/1.1 500 Internal Server Error.
Date: Fri, 30 Apr 2010 15:55:04 GMT.
Content-Length: 201.
Content-Type: text/html.
Server: Twisted/10.0.0 TwistedWeb/[twisted.web2, version 8.1.0].
Connection: close.
.
<html><head><title>Internal Server Error</title></head><body><h1>Internal
Server Error</h1>An error occurred rendering the requested page. More
information is available in the server log.</body></html>
#####
T 2010/04/30 10:55:04.417218 173.x.x.x:8080 -> 173.x.x.x:52868 [AP]
HTTP/1.1 500 Internal Server Error.
Date: Fri, 30 Apr 2010 15:55:04 GMT.
Content-Length: 201.
Content-Type: text/html.
Server: Twisted/10.0.0 TwistedWeb/[twisted.web2, version 8.1.0].
Connection: close.
.
<html><head><title>Internal Server Error</title></head><body><h1>Internal
Server Error</h1>An error occurred rendering the requested page. More
information is available in the server log.</body></html>






>From what I can tell the xcap mysql table appears to be updated correctly. 
Here is a before and after when I delete the buddy contact

Before

+----+------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------------------------------+--------+----------------------------+------+
| id | username   | domain        | doc                                         
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                    
| doc_type | etag                             | source | doc_uri                
   
| port |
+----+------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------------------------------+--------+----------------------------+------+
|  5 | 901273XXX8 | coolbeans.com | <?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
xmlns:cp="www.counterpath.com/privacy-lists">
<rule id="pres_whitelist">
<conditions>
<identity>
<one id="sip:[email protected]"/>
</identity>
</conditions>
<actions>
<pr:sub-handling>allow</pr:sub-handling>
</actions>
<transformations>
<pr:provide-services>
<pr:all-services/>
</pr:provide-services>
<pr:provide-persons>
<pr:all-persons/>
</pr:provide-persons>
<pr:provide-devices>
<pr:all-devices/>
</pr:provide-devices>
<pr:provide-all-attributes/>
</transformations>
</rule>
<rule id="im_whitelist">
<conditions>
<sphere value="im_whitelist"/>
<identity>
<one id="sip:[email protected]"/>
</identity>
</conditions>
<actions>
<cp:im-handling>allow</cp:im-handling>
</actions>
<transformations/>
</rule>
<rule id="phone_whitelist">
<conditions>
<sphere value="phone_whitelist"/>
<identity>
<one id="sip:[email protected]"/>
</identity>
</conditions>
<actions>
<cp:phone-handling>allow</cp:phone-handling>
</actions>
<transformations/>
</rule>
</ruleset> |        2 | 8358dd69589d5333238f13b08fa110bc |      0 |
index.xml                  |    0 |
|  4 | 901273XXX9 | irock.com     | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<list name="SIMPLE Buddy List">
<display-name>SIMPLE Buddy List</display-name>
</list></resource-lists>                                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                       
|        4 | f6c448e061a777e29ae6946e1ed6d205 |      0 | resource-list.xml      
   
|    0 |
|  3 | 901273XXX9 | irock.com     | <?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
xmlns:cp="www.counterpath.com/privacy-lists">
</ruleset>                                                                      
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                      
|        2 | dee949387749867e31408803f86747e2 |      0 | index.xml              
   
|    0 |
|  6 | 901273XXX8 | coolbeans.com | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<list name="SIMPLE Buddy List">
<display-name>SIMPLE Buddy List</display-name>
<entry uri="sip:[email protected]">
<display-name></display-name>
</entry>
</list></resource-lists>                                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                      
|        4 | caf3949208bb0a57935845ae98aaae14 |      0 | resource-list.xml      
   
|    0 |
|  7 | 901273XXX9 | irock.com     | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="counterpath:properties">
<list name="Contact List">
<cp:prop name="category" value="Friends" />
<cp:prop name="category#2" value="Home" />
<cp:prop name="category#3" value="Work" />
</list></resource-lists>                                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
     
|        4 | 9e8a6ac7f921f8593caf35288f0eb656 |      0 |
contacts-resource-list.xml |    0 |
|  8 | 901273XXX8 | coolbeans.com | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="counterpath:properties">
<list name="Contact List">
<entry uri="sip:[email protected]">
<display-name></display-name>
<cp:prop name="default_address" value="sip:[email protected]" />
<cp:prop name="default_address_type" value="sip" />
<cp:prop name="default_address_comm" value="phone" />
<cp:prop name="default_address_moniker" value="[email protected]" />
<cp:prop name="sip_address" value="sip:[email protected]" />
<cp:prop name="sip_address_comm" value="phone" />
<cp:prop name="sip_address_moniker" value="[email protected]" />
<cp:prop name="category" value="Friends" />
<cp:prop name="entry_id" value="1C7CC14D31824CC3933767BDC4D70320" />
<cp:prop name="stamp" value="385328b5424fd3c611715ebdc3ca379706a2b3d1" />
<cp:prop name="data_hash" value="385328b5424fd3c611715ebdc3ca379706a2b3d1"
/>
</entry>
<cp:prop name="category" value="Friends" />
<cp:prop name="category#2" value="Home" />
<cp:prop name="category#3" value="Work" />
</list></resource-lists> |        4 | 95660297b918e64efbc2c9a80b05ed78 |     
0 | contacts-resource-list.xml |    0 |
+----+------------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------------------------------+--------+----------------------------+------+





After

+----+------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------------------------------+--------+----------------------------+------+
| id | username   | domain        | doc                                         
                                                                                
                                                                                
                                                                                
                                       
| doc_type | etag                             | source | doc_uri                
   
| port |
+----+------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------------------------------+--------+----------------------------+------+
|  5 | 901273XXX8 | coolbeans.com | <?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
xmlns:cp="www.counterpath.com/privacy-lists">
</ruleset>                                                                      
                                                         
|        2 | 1946cb2b2ef4e6303133c7171e2f33e2 |      0 | index.xml              
   
|    0 |
|  4 | 901273XXX9 | irock.com     | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<list name="SIMPLE Buddy List">
<display-name>SIMPLE Buddy List</display-name>
</list></resource-lists>                                                        
                                                          
|        4 | f6c448e061a777e29ae6946e1ed6d205 |      0 | resource-list.xml      
   
|    0 |
|  3 | 901273XXX9 | irock.com     | <?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
xmlns:cp="www.counterpath.com/privacy-lists">
</ruleset>                                                                      
                                                         
|        2 | dee949387749867e31408803f86747e2 |      0 | index.xml              
   
|    0 |
|  6 | 901273XXX8 | coolbeans.com | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<list name="SIMPLE Buddy List">
<display-name>SIMPLE Buddy List</display-name>
</list></resource-lists>                                                        
                                                          
|        4 | 82f2458040ef8c7f157eded0b26a1969 |      0 | resource-list.xml      
   
|    0 |
|  7 | 901273XXX9 | irock.com     | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="counterpath:properties">
<list name="Contact List">
<cp:prop name="category" value="Friends" />
<cp:prop name="category#2" value="Home" />
<cp:prop name="category#3" value="Work" />
</list></resource-lists> |        4 | 9e8a6ac7f921f8593caf35288f0eb656 |     
0 | contacts-resource-list.xml |    0 |
|  8 | 901273XXX8 | coolbeans.com | <?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="counterpath:properties">
<list name="Contact List">
<cp:prop name="category" value="Friends" />
<cp:prop name="category#2" value="Home" />
<cp:prop name="category#3" value="Work" />
</list></resource-lists> |        4 | 51b4692194a8692a1b27460e8725bd96 |     
0 | contacts-resource-list.xml |    0 |
+----+------------+---------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+----------------------------------+--------+----------------------------+------+




Any idea what could be causing this?  Wondering if one of the python or
twisted packages is not the right version or something.
-- 
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-mi-proxy-xcap-diff-issues-tp4986920p4986920.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to