SipSimpleClient-Issues

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SipSimpleClient-Issues

JayaPrakash-2
Hi All,

Sip Simple Client is installed.
Creating accounts at sip2sip.info, When tested sip_register, sip_subscriber_presence, sip_subscriber_winfo, xcap_pres_rules, xcap_rls_services are properly functioning.
When try to put or delete the xml rules like, pres_rules, rls_services it is giving the following error.

# xcapclient -a Manchu PUT -i /usr/local/src/ricc-dep/sipclient/python-xcaplib/examples/pres-rules.xml
put https://xcap.sipthor.net/xcap-root@.../pres-rules/users/sip:2233363395@.../index
FATAL: URLError: <urlopen error unknown url type: https>

If the same methods are tested with the local xcapserver and opensips, it is giving the following error.

# xcapclient -a Ashwini PUT -i /usr/local/src/ricc-dep/sipclient/python-xcaplib/examples/pres-rules.xml
put http://192.168.1.130/xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index
405 Method Not Allowed
content-type: text/html; charset=iso-8859-1
content-length: 403
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL /xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index.</p>
<hr>
<address>Apache/2.2.3 (Debian) DAV/2 PHP/5.2.8-0.dotdeb.1 with Suhosin-Patch Server at 192.168.1.130 Port 80</address>
</body></html>


Can you please suggest me to fix this. Thank you

Thanks & Regards,
JayaPrakash.Manchu.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: SipSimpleClient-Issues

Adrian Georgescu
On Feb 18, 2009, at 12:11 PM, JayaPrakash wrote:

Hi All,

Sip Simple Client is installed.
Creating accounts at sip2sip.info, When tested sip_register, sip_subscriber_presence, sip_subscriber_winfo, xcap_pres_rules, xcap_rls_services are properly functioning.
When try to put or delete the xml rules like, pres_rules, rls_services it is giving the following error.

# xcapclient -a Manchu PUT -i /usr/local/src/ricc-dep/sipclient/python-xcaplib/examples/pres-rules.xml
put https://xcap.sipthor.net/xcap-root@.../pres-rules/users/sip:2233363395@.../index
FATAL: URLError: <urlopen error unknown url type: https>


You probably did not install the required libraries for TLS/SSL on your system.

If the same methods are tested with the local xcapserver and opensips, it is giving the following error.

# xcapclient -a Ashwini PUT -i /usr/local/src/ricc-dep/sipclient/python-xcaplib/examples/pres-rules.xml
put http://192.168.1.130/xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index
405 Method Not Allowed
content-type: text/html; charset=iso-8859-1
content-length: 403
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL /xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index.</p>
<hr>
<address>Apache/2.2.3 (Debian) DAV/2 PHP/5.2.8-0.dotdeb.1 with Suhosin-Patch Server at 192.168.1.130 Port 80</address>
</body></html>



Is not OpenXCAP server who gives you that error. You have an Apache server there doing that as you see in your response:

Apache/2.2.3 (Debian) DAV/2 PHP/5.2.8-0.dotdeb.1 with Suhosin-Patch Server at 192.168.1.130 Port 80

Adrian



Can you please suggest me to fix this. Thank you

Thanks & Regards,
JayaPrakash.Manchu.
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: SipSimpleClient-Issues

JayaPrakash-2
Adrian,

Thank you.


Thanks & Regards,
JayaPrakash.Manchu.


On Wed, Feb 18, 2009 at 4:50 PM, Adrian Georgescu <[hidden email]> wrote:
On Feb 18, 2009, at 12:11 PM, JayaPrakash wrote:

Hi All,

Sip Simple Client is installed.
Creating accounts at sip2sip.info, When tested sip_register, sip_subscriber_presence, sip_subscriber_winfo, xcap_pres_rules, xcap_rls_services are properly functioning.
When try to put or delete the xml rules like, pres_rules, rls_services it is giving the following error.

# xcapclient -a Manchu PUT -i /usr/local/src/ricc-dep/sipclient/python-xcaplib/examples/pres-rules.xml
put https://xcap.sipthor.net/xcap-root@.../pres-rules/users/sip:2233363395@.../index
FATAL: URLError: <urlopen error unknown url type: https>


You probably did not install the required libraries for TLS/SSL on your system.

If the same methods are tested with the local xcapserver and opensips, it is giving the following error.

# xcapclient -a Ashwini PUT -i /usr/local/src/ricc-dep/sipclient/python-xcaplib/examples/pres-rules.xml
put http://192.168.1.130/xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index
405 Method Not Allowed
content-type: text/html; charset=iso-8859-1
content-length: 403
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL /xcap-root/pres-rules/users/sip:Ashwini@192.168.1.130/index.</p>
<hr>
<address>Apache/2.2.3 (Debian) DAV/2 PHP/5.2.8-0.dotdeb.1 with Suhosin-Patch Server at 192.168.1.130 Port 80</address>
</body></html>



Is not OpenXCAP server who gives you that error. You have an Apache server there doing that as you see in your response:

Apache/2.2.3 (Debian) DAV/2 PHP/5.2.8-0.dotdeb.1 with Suhosin-Patch Server at 192.168.1.130 Port 80

Adrian



Can you please suggest me to fix this. Thank you

Thanks & Regards,
JayaPrakash.Manchu.
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



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