[OpenSIPS-Users] xcapclient_retrieving_xml_documents

JayaPrakash jp.manchu at gmail.com
Fri Apr 10 16:40:57 CEST 2009


Hi all,
XCAP Server is running. Sip simple client is installed to check how to  PUT,
GET, and DELETE the pres-rules documents.
Sipsimple client is able to register with opensips 1.5 server. PUT, GET,
DELETE are working with local sipsimpleclient.

****************************From Local Sipsimpleclient(Opensips 1.5 and
Openxcap are running in this machine)*************************************
dev:/# xcapclient -a Jp -i
/usr/local/src/ConSERve/xcap/python-xcaplib-1.0.8/examples/rls-services.xml
PUT
put
http://dev.ongobiz.com:5070/xcap-root/rls-services/users/sip:Jp@dev.ongobiz.com/index
200 OK
etag: "78b6ca5db36e126d2d373b25552e4358"
content-type: application/rls-services+xml
***********************************************************************************************************************************************
I tried to register from another sipsimpleclient located in another machine
to the Opensips running in my machine.
Registration is happening.
When tried to PUT documents it is saying that urlopen error.

**********************************************************From remote
sipclient
************************************************************************************
debian:~# xcapclient -a Jp -i
/usr/local/src/xcap_dep/python-xcaplib-1.0.8/examples/pres-rules.xml PUT
put
http://dev.ongobiz.com:5070/xcap-root/pres-rules/users/sip:Jp@dev.ongobiz.com/index
FATAL: URLError: <urlopen error (111, 'Connection refused')>
*********************************************************************************************************************************************

If I hit the URL "
http://dev.ongobiz.com:5070/xcap-root/rls-services/users/sip:Jp@dev.ongobiz.com/index"
in local system, it is able to fetch the document which I PUT.
But, it is saying "Filed to Connect" (Can't establish a connection to the
server at dev.ongobiz.com:5070.), when hit the above URL from other machine.

How to make access to the above URL from other machines?
How to PUT the documents from other sipsimpleclinets (Otherthan local)?

Thanks
JayaPrakash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090410/53419000/attachment.htm 


More information about the Users mailing list