[OpenSIPS-Users] OpenXCAP not working with Bria

osiris123d duane.larson at gmail.com
Mon Mar 2 07:42:35 CET 2009


OK.  So here is an update to my problem.  God I hope someone sees this post
because I have been working to try and get this working for months.

When I have 2 new users first start up Bria they are able to do a PUT to
OpenXCAP and upload the following files to the OpenSER database
2009-03-01 22:47:25-0600 [QueryProtocol,client] 192.168.0.100 'PUT
/xcap-root/org.openmobilealliance.pres-rules/users/222 at XXXXXX.net/
pres-rules HTTP/1.1' 201 0 - - "47c80aa4c0152ad9fa71d7b93e3289d0"
REQUEST headers:
Host: xcap.XXXXXX.net
Accept: */*
Authorization: Basic MjIyQGR1YW5lLm5ldDpwYXNzd29yZA==
Expect: 100-continue
RESPONSE headers:
Date: Mon, 02 Mar 2009 04:47:25 GMT
ETag: "47c80aa4c0152ad9fa71d7b93e3289d0"
Content-Type: application/auth-policy+xml
Server: OpenXCAP/1.0.6
2009-03-01 22:47:25-0600 [-] 192.168.0.100 'PUT
/xcap-root/resource-lists/users/222 at XXXXXX.net/resource-list.xml HTTP/1.1'
201 0 - -
"a4aa88042263c6d19406f547f49c69e0"
REQUEST headers:
Host: xcap.XXXXXX.net
Accept: */*
Authorization: Basic MjIyQGR1YW5lLm5ldDpwYXNzd29yZA==
Expect: 100-continue
RESPONSE headers:
Date: Mon, 02 Mar 2009 04:47:25 GMT
ETag: "a4aa88042263c6d19406f547f49c69e0"
Content-Type: application/resource-lists+xml
Server: OpenXCAP/1.0.6
2009-03-01 22:54:47-0600 [-] 192.168.0.100 'PUT
/xcap-root/resource-lists/users/222 at XXXXXX.net/contacts-resource-list.xml
HTTP/1.1' 2
01 0 - - "c3d04b4688fecffc3b143dab4208e8eb"
REQUEST headers:
Host: xcap.XXXXXX.net
Accept: */*
Authorization: Basic MjIyQGR1YW5lLm5ldDpwYXNzd29yZA==
Expect: 100-continue
RESPONSE headers:
Date: Mon, 02 Mar 2009 04:54:47 GMT
ETag: "c3d04b4688fecffc3b143dab4208e8eb"
Content-Type: application/resource-lists+xml
Server: OpenXCAP/1.0.6


Those files seem to have no problem making it to the OpenSER database. Yet
when I have one of the users add the other user as a contact Bria says that
it is waiting for a response to approve from the other user. Well the other
user can't approve because it never gets a message to approve. When I look
in OpenXCAP logs I see that I get 401 errors.

2009-03-01 23:13:31-0600 [-] 192.168.0.100 'PUT
/xcap-root/resource-lists/users/222 at XXXXXX.net/contacts-resource-list.xml
HTTP/1.1' 4
01 0 141 - -
REQUEST headers:
Host: xcap.XXXXXX.net
Accept: */*
Expect: 100-continue
RESPONSE headers:
Date: Mon, 02 Mar 2009 05:13:31 GMT
Content-Type: text/html
WWW-Authenticate: basic realm="XXXXXX.net"
Server: OpenXCAP/1.0.6
2009-03-01 23:18:18-0600 [-] 192.168.0.100 'PUT
/xcap-root/org.openmobilealliance.pres-rules/users/222 at XXXXXX.net/pres-rules
HTTP/1.1
' 401 0 141 - -
REQUEST headers:
Host: xcap.XXXXXX.net
Accept: */*
Expect: 100-continue
RESPONSE headers:
Date: Mon, 02 Mar 2009 05:18:18 GMT
Content-Type: text/html
WWW-Authenticate: basic realm="XXXXXX.net"
Server: OpenXCAP/1.0.6
2009-03-01 23:18:19-0600 [-] 192.168.0.100 'PUT
/xcap-root/resource-lists/users/222 at XXXXXX.net/resource-list.xml HTTP/1.1'
401 0 141
- -
REQUEST headers:
Host: xcap.XXXXXX.net
Accept: */*
Expect: 100-continue
RESPONSE headers:
Date: Mon, 02 Mar 2009 05:18:19 GMT
Content-Type: text/html
WWW-Authenticate: basic realm="XXXXXX.net"
Server: OpenXCAP/1.0.6


I don't know why I am getting 401 errors when the Bria clients are trying to
update the xcap docs. Theres got to be something small I am missing. It
can't be this hard to get Presence working. Theres got to be someone out
there that has this running.




osiris123d wrote:
> 
> I have Kamailio and OpenXCAP set up on two different servers.  Everything
> seems to be conifgured correctly on both servers, but presence isn't
> working
> on the Counterpath Bria clients.  When one Bria client adds a person to
> its
> contact list Bria says that it is waiting for a response from the other
> user.  The other user doesn't get any message about the add.  The only
> thing
> I can think of that is causing this is a message on the OpenXCAP
> access.log
> file
> 
> 
> 2009-02-25 22:25:08-0600 [-] 192.168.0.107 'PUT
> /xcap-root/resource-lists/users/555 at XXXXX.net/contacts-resource-list.xmlHTTP/1.1'
> 4
> 01 0 141 - -
>         REQUEST headers:
>                 Host: xcap.XXXXXX.net
>                 Accept: */*
>                 Expect: 100-continue
> 
> I am not sure why this is happening.  Other XCAP Puts don't have issues
> like
> this one
> 2009-02-25 22:25:08-0600 [-] 192.168.0.107 'PUT
> /xcap-root/resource-lists/users/555 at XXXXX.net/resource-list.xml HTTP/1.1'
> 200 0 - -
> "62d0154644f84105a6270a260198edc4"
> 
> Why is the XCAP PUT of the contacts-resource-list failing?
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/OpenXCAP-not-working-with-Bria-tp2403465p2407767.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.




More information about the Users mailing list