Re: [OpenSIPS-Users] [OpenXCAP]how to add new element for resource-lists?
Dear Adrian Georgescu, Do you mean that I needn't to modify anything on OpenXCAP server, which support any extension in resource-lists? As I know, I have developed XCAP client, which can be controlled to support to any extension. When I put resource-lists,which contains a new attribute such as Blog-URL,OpenXCAP replies 409 Conflict. So I believe that OpenXCAP can't reslove the tag “Blog-URL”, and I have to modify OpenXCAP sever to support to same extension. CheeWii 在 2011年1月9日 下午9:26,Adrian Georgescu a...@ag-projects.com写道: The XCAP resource-lists application is extensible. You will create in your XCAP client an extension to the resource-list document and add your custom attributes for each contact. See the RFC 4825 for how you achieve create such extensions. You do not need to modify OpenXCAP server for this, just the XCAP client. Other XCAP clients that support the same extension will deal with the data, those who do not will simply ignore it. OpenXCAP will not validate the extensions, it will simply ignore it unless you also change it to understand your extension and perform some actions like validating the data. Adrian On Jan 9, 2011, at 1:57 PM, CheeWii wrote: Yes, I unstandant what you said. Does it mean we can't develop it based OpenXCAP. For example, I want to add a *Blog-URL* or *Personal Signature* for every friend in buddy-list. How can I do to accomplish it in regular rule? Best Regards, CheeWii 2011/1/5 Saúl Ibarra Corretgé s...@ag-projects.com On 5/1/11 7:01 AM, CheeWii wrote: Dear Saúl Ibarra Corretgé, I have test to modify /usr/lib/pymodules/python2.5/xcap/xml-schemas/resource-lists.xsd in my OpenXCAP,and add additional tag successfully:) That is just very wrong. Nobody will be able to parse your resource-lists documents if you arbitrarily modify the schema. -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenXCAP]how to add new element for resource-lists?
Yes, I unstandant what you said. Does it mean we can't develop it based OpenXCAP. For example, I want to add a *Blog-URL* or *Personal Signature* for every friend in buddy-list. How can I do to accomplish it in regular rule? Best Regards, CheeWii 2011/1/5 Saúl Ibarra Corretgé s...@ag-projects.com On 5/1/11 7:01 AM, CheeWii wrote: Dear Saúl Ibarra Corretgé, I have test to modify /usr/lib/pymodules/python2.5/xcap/xml-schemas/resource-lists.xsd in my OpenXCAP,and add additional tag successfully:) That is just very wrong. Nobody will be able to parse your resource-lists documents if you arbitrarily modify the schema. -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] [OpenXCAP]how to add new element for resource-lists?
Hi, I have test to add new new element for resource-lists,just as follows: ?xml version=1.0 encoding=utf-8? resource-lists xmlns=urn:ietf:params:xml:ns:resource-lists list name=0 xmlns=urn:ietf:params:xml:ns:resource-lists display-nameFriends/display-name entry uri=1417 xmlns=urn:ietf:params:xml:ns:resource-listsdisplay-nameI/display-name otherhttp://www.blog.com/other/entry /list list name=1 xmlns=urn:ietf:params:xml:ns:resource-lists display-nameShow Buddylist/display-name /list /resource-lists But there is many errors when I put the resource-lists to the OpenXCAP: debian:~/syn_showuser# xcapclient -i buddylist.ini put --account-name=1417 put http://xcap.bupt.edu/xcap-root/resource-lists/users/sip:1...@sip6.edu.cn/index 409 Conflict content-type: application/xcap-error+xml;charset=utf-8 content-length: 369 ?xml version=1.0 encoding=UTF-8? xcap-error xmlns=urn:ietf:params:xml:ns:xcap-errorschema-validation-error!-- string:5:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{urn:ietf:params:xml:ns:resource-lists}other': This element is not expected. Expected is ( ##other{urn:ietf:params:xml:ns:resource-lists}* ). --/schema-validation-error/xcap-error I think this may be caused by the unsupport element, and I have read the RFC4826, still don't know how to add a new element . Thanks a lot:) CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenXCAP]how to add new element for resource-lists?
Dear Saúl Ibarra Corretgé, In earlier time,I just test to use OpenXCAP server. OpenXCAP is real functional software. And now I want to make some development based on OpenXCAP,such as add many additional tag for every buddy. I have learned what you said. Howerver,I still have three questions: Is The XML schema modified by myself as I like? Which directory does The XML schema locate in my OpenXCAP? Is there any reference of how to modify my XML schema? Thank you very much:) CheeWii 2011/1/4 Saúl Ibarra Corretgé s...@ag-projects.com Hi, On 4/1/11 10:42 AM, CheeWii wrote: Hi, I have test to add new new element for resource-lists,just as follows: ?xml version=1.0 encoding=utf-8? resource-lists xmlns=urn:ietf:params:xml:ns:resource-lists list name=0 xmlns=urn:ietf:params:xml:ns:resource-lists display-nameFriends/display-name entry uri=1417 xmlns=urn:ietf:params:xml:ns:resource-listsdisplay-nameI/display-nameother http://www.blog.com/other/entry /list list name=1 xmlns=urn:ietf:params:xml:ns:resource-lists display-nameShow Buddylist/display-name /list /resource-lists But there is many errors when I put the resource-lists to the OpenXCAP: debian:~/syn_showuser# xcapclient -i buddylist.ini put --account-name=1417 put http://xcap.bupt.edu/xcap-root/resource-lists/users/sip:1...@sip6.edu.cn/index 409 Conflict content-type: application/xcap-error+xml;charset=utf-8 content-length: 369 ?xml version=1.0 encoding=UTF-8? xcap-error xmlns=urn:ietf:params:xml:ns:xcap-errorschema-validation-error!-- string:5:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{urn:ietf:params:xml:ns:resource-lists}other': This element is not expected. Expected is ( ##other{urn:ietf:params:xml:ns:resource-lists}* ). --/schema-validation-error/xcap-error I think this may be caused by the unsupport element, and I have read the RFC4826, still don't know how to add a new element . You can't just add an element wherever you want :-) You need to check the XML schema and see if the element supports extensions, and if it does, then you can add whatever you want but you'll need to define a custom namespace for the elements you added. -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenXCAP]how to add new element for resource-lists?
Dear Saúl Ibarra Corretgé, I have test to modify /usr/lib/pymodules/python2.5/xcap/xml-schemas/resource-lists.xsd in my OpenXCAP,and add additional tag successfully:) Thanks a lot~ CheeWii 2011/1/5 CheeWii quanwe...@gmail.com Dear Saúl Ibarra Corretgé, In earlier time,I just test to use OpenXCAP server. OpenXCAP is real functional software. And now I want to make some development based on OpenXCAP,such as add many additional tag for every buddy. I have learned what you said. Howerver,I still have three questions: Is The XML schema modified by myself as I like? Which directory does The XML schema locate in my OpenXCAP? Is there any reference of how to modify my XML schema? Thank you very much:) CheeWii 2011/1/4 Saúl Ibarra Corretgé s...@ag-projects.com Hi, On 4/1/11 10:42 AM, CheeWii wrote: Hi, I have test to add new new element for resource-lists,just as follows: ?xml version=1.0 encoding=utf-8? resource-lists xmlns=urn:ietf:params:xml:ns:resource-lists list name=0 xmlns=urn:ietf:params:xml:ns:resource-lists display-nameFriends/display-name entry uri=1417 xmlns=urn:ietf:params:xml:ns:resource-listsdisplay-nameI/display-nameother http://www.blog.com/other/entry /list list name=1 xmlns=urn:ietf:params:xml:ns:resource-lists display-nameShow Buddylist/display-name /list /resource-lists But there is many errors when I put the resource-lists to the OpenXCAP: debian:~/syn_showuser# xcapclient -i buddylist.ini put --account-name=1417 put http://xcap.bupt.edu/xcap-root/resource-lists/users/sip:1...@sip6.edu.cn/index 409 Conflict content-type: application/xcap-error+xml;charset=utf-8 content-length: 369 ?xml version=1.0 encoding=UTF-8? xcap-error xmlns=urn:ietf:params:xml:ns:xcap-errorschema-validation-error!-- string:5:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: Element '{urn:ietf:params:xml:ns:resource-lists}other': This element is not expected. Expected is ( ##other{urn:ietf:params:xml:ns:resource-lists}* ). --/schema-validation-error/xcap-error I think this may be caused by the unsupport element, and I have read the RFC4826, still don't know how to add a new element . You can't just add an element wherever you want :-) You need to check the XML schema and see if the element supports extensions, and if it does, then you can add whatever you want but you'll need to define a custom namespace for the elements you added. -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] How to t_relay() from two send socket?
Hi,Bogdan No,I want to received a INVITE request and a MESSAGE request, then I send MESSAGE on public interface and send INVITE on private interface.How can I accomplish this? Regards, CheeWii 2010/10/23 Bogdan-Andrei Iancu bog...@voice-system.ro Hi CheeWii, Do you want to received the a INVITE request and to send it to two destinations , one on private interface and one on public interface? Did I get it right ? Regards, Bogdan CheeWii wrote: Hi, My OpenSIPS server has two network cards. One is public ip address such as 202.102.XX.XX,and the other is private ip address,such as 10.0.1.5. Now ,I want to forward INVITE ,BYE,CANCEL from 10.0.1.5 to 10.0.1.6,while forward MESSAGE and REGISTER from 202.102.XX.XX to 202.102.YY.YY. I have test use force_send_socket to control the send sockets to different kinds of messages,but it seems to unuseful. It just send message from one socket. How can we accomplish this demo? Thanks a lot. CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu OpenSIPS Bootcamp 15 - 19 November 2010, Edison, New Jersey, USA www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] How to t_relay() from two send socket?
Hi, My OpenSIPS server has two network cards. One is public ip address such as 202.102.XX.XX,and the other is private ip address,such as 10.0.1.5. Now ,I want to forward INVITE ,BYE,CANCEL from 10.0.1.5 to 10.0.1.6,while forward MESSAGE and REGISTER from 202.102.XX.XX to 202.102.YY.YY. I have test use force_send_socket to control the send sockets to different kinds of messages,but it seems to unuseful. It just send message from one socket. How can we accomplish this demo? Thanks a lot. CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] About Nat Traversal and Stun
Hi, I want to solve the nat traversal problem, and I read the great book Building Telephony System with Opensips 1.6.0. Now I encounter some doubts. From the book,I know the STUN solution is considered a near-end NAT traversal solution. And I think a near-end NAT traversal solution is implemented on the client-side. Why does Opensips have the module named stun? What is the relationship of the stun module in Opensips and the stun in client? In addition,what is the main and effective solutions in Opensips to solve the nat traversal problem? Best wishes~ CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] How to upload image or other files to OpenXCAP?
Hi, I want to use OpenXCAP to store many types of files,for example images,tar,or txt and so on. And others can download these files through URLs. However,now OpenXCAP only support icons, many big pictures cannot be uploaded to openxcap. How can I modify it? And, whether OpenXCAP can be used to upload and download every type of file? Thanks a lot CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
Hi Adrian, What you said is really the existing problem. Because without http_proxy, I cannot connect to W3C.org. This morning,I move my PC to another place, where it can connet to w3c directly ,need not any http_proxy. Then SIPSIMPLEClient and OpenXCAP interoperate successfully! Thank you all~ :) CheeWii 2010/7/7 Adrian Georgescu a...@ag-projects.com The http client needs to fetch the schema to check the document against from w3c. Maybe this fails though is not obvious. Adrian On Jul 7, 2010, at 10:36 AM, CheeWii wrote: Hi Saúl, Thanks for your reply ,but I'm afraid that http_proxy is not the root of this problem. Because I have do the same test: r...@shenhua-ims:~# unset http_proxy r...@shenhua-ims:~# unset HTTP_PROXY r...@shenhua-ims:~# echo $http_proxy r...@shenhua-ims:~# echo $HTTP_PROXY r...@shenhua-ims:~# r...@shenhua-ims:~# xcap-icon Traceback (most recent call last): File /usr/local/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress r...@shenhua-ims:~# So, I think whether it is related to my XCAP-ROOT, because xcap-icon cannot connect to my xcap server. And I don't know how a http_proxy can impact xcap-icon function. This is my sipsimpleclient configuration, you can use it to have a test. Accounts: 10...@202.204.22.248: enabled = true auth: password = 1 xcap: xcap_root = http://202.204.22.248/xcap-root; CheeWii 2010/7/7 Saúl Ibarra Corretgé s...@ag-projects.com Hi, This is it. I just replicated your setup environment (with an HTTP proxy) and get the error: sag...@ubuntu:~$ xcap-icon Traceback (most recent call last): File /usr/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: failed to load HTTP resource sag...@ubuntu:~$ unset HTTP_PROXY sag...@ubuntu:~$ sag...@ubuntu:~$ sag...@ubuntu:~$ sag...@ubuntu:~$ xcap-icon You need to specify the opperation: GET, PUT or DELETE sag...@ubuntu:~$ ___ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
Hi Saúl, Thanks for your reply ,but I'm afraid that http_proxy is not the root of this problem. Because I have do the same test: r...@shenhua-ims:~# unset http_proxy r...@shenhua-ims:~# unset HTTP_PROXY r...@shenhua-ims:~# echo $http_proxy r...@shenhua-ims:~# echo $HTTP_PROXY r...@shenhua-ims:~# r...@shenhua-ims:~# xcap-icon Traceback (most recent call last): File /usr/local/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress r...@shenhua-ims:~# So, I think whether it is related to my XCAP-ROOT, because xcap-icon cannot connect to my xcap server. And I don't know how a http_proxy can impact xcap-icon function. This is my sipsimpleclient configuration, you can use it to have a test. Accounts: 10...@202.204.22.248: enabled = true auth: password = 1 xcap: xcap_root = http://202.204.22.248/xcap-root; CheeWii 2010/7/7 Saúl Ibarra Corretgé s...@ag-projects.com Hi, This is it. I just replicated your setup environment (with an HTTP proxy) and get the error: sag...@ubuntu:~$ xcap-icon Traceback (most recent call last): File /usr/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: failed to load HTTP resource sag...@ubuntu:~$ unset HTTP_PROXY sag...@ubuntu:~$ sag...@ubuntu:~$ sag...@ubuntu:~$ sag...@ubuntu:~$ xcap-icon You need to specify the opperation: GET, PUT or DELETE sag...@ubuntu:~$ ___ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
Hi, I am not sure. But I found a new clue, hope it is useful to you. Though both situations (use http_proxy or not) have similiar errors,but there is a little difference for the error reports. If I use http_proxy: r...@shenhua-ims:~# xcap-icon Traceback (most recent call last): File /usr/local/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: failed to load HTTP resource And if I unset http_proxy: r...@shenhua-ims:~# xcap-icon Traceback (most recent call last): File /usr/local/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress r...@shenhua-ims:~# I notice that the first is failed to load HTTP resource , but the second is Operation in progress . Hope this is useful, thanks for your reply~~ CheeWii 2010/7/7 Adrian Georgescu a...@ag-projects.com The http client needs to fetch the schema to check the document against from w3c. Maybe this fails though is not obvious. Adrian On Jul 7, 2010, at 10:36 AM, CheeWii wrote: Hi Saúl, Thanks for your reply ,but I'm afraid that http_proxy is not the root of this problem. Because I have do the same test: r...@shenhua-ims:~# unset http_proxy r...@shenhua-ims:~# unset HTTP_PROXY r...@shenhua-ims:~# echo $http_proxy r...@shenhua-ims:~# echo $HTTP_PROXY r...@shenhua-ims:~# r...@shenhua-ims:~# xcap-icon Traceback (most recent call last): File /usr/local/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress r...@shenhua-ims:~# So, I think whether it is related to my XCAP-ROOT, because xcap-icon cannot connect to my xcap server. And I don't know how a http_proxy can impact xcap-icon function. This is my sipsimpleclient configuration, you can use it to have a test. Accounts: 10...@202.204.22.248: enabled = true auth: password = 1 xcap: xcap_root = http://202.204.22.248/xcap-root; CheeWii 2010/7/7 Saúl Ibarra Corretgé s...@ag-projects.com Hi, This is it. I just replicated your setup environment (with an HTTP proxy) and get the error: sag...@ubuntu:~$ xcap-icon Traceback (most recent call last): File /usr/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: failed to load HTTP resource sag...@ubuntu:~$ unset HTTP_PROXY sag...@ubuntu:~$ sag...@ubuntu:~$ sag...@ubuntu:~$ sag...@ubuntu:~$ xcap-icon You need to specify the opperation: GET, PUT or DELETE sag...@ubuntu:~$ ___ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
Hi Saúl, I have just reinstall a fresh UBUNTU 9.10 with ubuntu-9.10-dvd-i386. Then I execute many operations as follows: 1, apt-get install vim sshd 2, export http_proxy=http:// ( for I have connect to foreign web) 3, vim /etc/apt/sources.list and add the two lines: deb http://ag-projects.com/ubuntu karmic main deb-src http://ag-projects.com/ubuntu karmic main 4,wget http://download.ag-projects.com/agp-debian-gpg.key 5,apt-key add *agp-debian-gpg.key* 6,apt-get update 7,apt-get install python-sipsimple 8,apt-get install sipclients And , all the commands executed successfully, and many packages are installed successfully . Now, let us check where does the problem exist? r...@cheewii-desktop:/usr/bin# locate xcap-icon /usr/bin/xcap-icon r...@cheewii-desktop:/usr/bin# xcap + TAB xcapclient xcap-directory xcap-pres-rules xcap-dialog-rules xcap-icon xcap-rls-services r...@cheewii-desktop:/usr/bin# sip-settings -a add 10...@10.20.22.247 10001 Account added r...@cheewii-desktop:/usr/bin# sip-settings -a default 10...@10.20.22.24710...@10.20.22.247 Account 10...@10.20.22.247 is now default account r...@cheewii-desktop:/usr/bin# sip-settings -a set xcap.xcap_root= http://10.20.22.248/xcap-root Account updated r...@cheewii-desktop:/usr/bin# r...@cheewii-desktop:/usr/bin# xcap-icon (wait for a long time...) Traceback (most recent call last): File /usr/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress r...@cheewii-desktop:/usr/bin# r...@cheewii-desktop:~# xcap-directory Retrieving xcap-directory from http://10.20.22.248/xcap-root Folder 'pres-rules': index.xml etag: aae3d665d44ed329121938851ce962a8 r...@cheewii-desktop:~# r...@cheewii-desktop:~# xcap-dialog-rules Retrieving current dialog rules from http://10.20.22.248/xcap-root Allowed watchers: Blocked watchers: Polite-blocked watchers: Press (a) to allow, (d) to deny, (p) to politely block a new watcher or (r) to remove a watcher from the rules. (s) will show the dialog rules xml. Dialog rules document: ?xml version='1.0' encoding='UTF-8'? cp:ruleset xmlns:cp=urn:ietf:params:xml:ns:common-policy xmlns:dr= http://openxcap.org/ns/dialog-rules/http://openxcap.org/ns/dialog-rules%22/ Allowed watchers: Blocked watchers: Polite-blocked watchers: Press (a) to allow, (d) to deny, (p) to politely block a new watcher or (r) to remove a watcher from the rules. (s) will show the dialog rules xml. watcher r...@cheewii-desktop:~# xcap-pres-rules Retrieving current presence rules from http://10.20.22.248/xcap-root Allowed watchers: 10...@10.20.22.248 Blocked watchers: Polite-blocked watchers: Press (a) to allow, (d) to deny, (p) to politely block a new watcher or (r) to remove a watcher from the rules. (s) will show the presence rules xml. r...@cheewii-desktop:~# xcap-rls-services Retrieving current RLS services from http://10.20.22.248/xcap-root Managing service URI sip:10001-budd...@10.20.22.248sip%3a10001-budd...@10.20.22.248 Buddies: Press (a) to add or (r) to remove a buddy. (s) will show the RLS services xml. (d) will delete the currently selected service. RLS services document: ?xml version='1.0' encoding='UTF-8'? rls-services xmlns:rl=urn:ietf:params:xml:ns:resource-lists xmlns=urn:ietf:params:xml:ns:rls-services service uri=sip:10001-budd...@10.20.22.248sip%3a10001-budd...@10.20.22.248 list/ packages packagepresence/package /packages /service /rls-services Then ,check some configure files: r...@cheewii-desktop:/usr/share/pyshared/sipsimple/payloads/xml-schemas# ls caps.xsd data-model.xsdpidf.xsd rpid.xsd common-policy.xsd dialog-info.xsd pres-rules.xsd watcherinfo.xsd common-schema.xsd im-iscomposing.xsdresourcelists.xsd xcap-directory.xsd conference.xsd oma-pres-content.xsd rlsservices.xsdxml.xsd I found any xsd related icon, is it a error? And these *.xsd, I have not touched them. r...@cheewii-desktop:/usr/src# vim /usr/share/pyshared/sipsimple/payloads/xml-schemas/oma-pres-content.xsd ?xml version=1.0 encoding=UTF-8? xs:schema targetNamespace=urn:oma:xml:prs:pres-content xmlns=urn:oma:xml:prs:pres-content xmlns:xs=http://www.w3.org/2001/XMLSchema; elementFormDefault=qualified attributeFormDefault=unqualified xs:import namespace=http://www.w3.org/XML/1998/namespace; schemaLocation= http://www.w3.org/2001/xml.xsd/ http://www.w3
Re: [OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
Hi Saúl, Thank you ~ But it seems the problem is not here. My UBUNTU 9.10 is fresh. r...@shenhua-ims:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 9.10 Release:9.10 Codename: karmic r...@shenhua-ims:~# r...@shenhua-ims:~# dpkg -l |grep lxml ii python-lxml 2.1.5-1ubuntu2 pythonic binding for the libxml2 and libxslt r...@shenhua-ims:~# r...@shenhua-ims:~# dpkg -l |grep sipsimple ii python-sipsimple 0.15.0karmic Python SIP SIMPLE client SDK r...@shenhua-ims:~# r...@shenhua-ims:~# xcap-icon Traceback (most recent call last): File /usr/local/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress r...@shenhua-ims:~# r...@shenhua-ims:~# xcap-rls-services Retrieving current RLS services from http://10.204.22.248/xcap-root Managing service URI sip:10001-budd...@10.204.22.248sip%3a10001-budd...@10.204.22.248 Buddies: Press (a) to add or (r) to remove a buddy. (s) will show the RLS services xml. (d) will delete the currently selected service. r...@shenhua-ims:~# xcapclient --app xcap-caps get get http://202.204.22.248/xcap-root/xcap-caps/global/index etag: 7b8d20bdec825e3f96662a77b9b969b8 content-type: application/xcap-caps+xml content-length: 1209 ?xml version='1.0' encoding='UTF-8'? xcap-caps xmlns=urn:ietf:params:xml:ns:xcap-caps auids auidorg.openxcap.watchers/auid auidorg.openmobilealliance.pres-rules/auid auidrls-services/auid auidresource-lists/auid auidxcap-caps/auid auidorg.openxcap.dialog-rules/auid auidtest-app/auid auidoma_status-icon/auid auidpidf-manipulation/auid auidpres-rules/auid auidorg.openmobilealliance.xcap-directory/auid /auids extensions/ namespaces namespacehttp://openxcap.org/ns/watchers/namespace namespaceurn:ietf:params:xml:ns:pres-rules/namespace namespaceurn:ietf:params:xml:ns:rls-services/namespace namespaceurn:ietf:params:xml:ns:resource-lists/namespace namespaceurn:ietf:params:xml:ns:xcap-caps/namespace namespacehttp://openxcap.org/ns/dialog-rules/namespace namespacetest-app/namespace namespaceurn:oma:xml:prs:pres-content/namespace namespaceurn:ietf:params:xml:ns:pidf/namespace namespaceurn:ietf:params:xml:ns:pres-rules/namespace namespaceurn:oma:xml:xdm:xcap-directory/namespace /namespaces /xcap-caps r...@shenhua-ims:~# I will test to reinstall a UBUNTU 9.10 to check the problem. CheeWii 2010/7/5 Saúl Ibarra Corretgé s...@ag-projects.com Hi, On 03/07/10 04:29, CheeWii wrote: Hello,Adrian: I have install sipsimpleclient following http://sipsimpleclient.com/wiki/SipInstallation in my UBUNTU 9.10, and Debian 5. But when I input xcap-icon command,it all shows the same errors: [hidden email] http://opensips-open-sip-server.1449251.n2.nabble.com/user/SendEmail.jtp?type=nodenode=5243783i=0 :~# xcap-icon Traceback (most recent call last): File /usr/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress I just tried myself in a fresh Ubuntu 9.10 with sipsimple installed from our debian repositories and got no trouble: sag...@ubuntu:~$ xcap-icon You need to specify the opperation: GET, PUT or DELETE sag...@ubuntu:~$ xcap-icon GET Icons: https://xcap.sipthor.net/xcap-root/oma_status-icon/users/sip:sag...@sip2sip.info/g7kDwG61IC3J9sp2ndeL.png sag...@ubuntu:~$ xcap-icon GET -f g7kDwG61IC3J9sp2ndeL.png Icons: https://xcap.sipthor.net/xcap-root/oma_status-icon/users/sip:sag...@sip2sip.info/g7kDwG61IC3J9sp2ndeL.png File saved to: icon_g7kDwG61IC3J9sp2ndeL.png sag...@ubuntu:~$ ls *.png icon_g7kDwG61IC3J9sp2ndeL.png sag...@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 9.10 Release:9.10 Codename: karmic sag...@ubuntu:~$ Which versions of lxml and python-sipsimple are you running? This are mine: sag...@ubuntu:~$ dpkg -l
[OpenSIPS-Users] Interuption between OpenXCAP and Apache2
Hi, I have installed and configure OpenXCAP 1.2.0 successfully. Then I want to use phpMyAdmin to operate mySql Database.So I installed apache2 and configure it. After I finishing congure the apache.Then I found the Xcap Root URL can't be connected. I believe that there is an interuption between OpenXCAP and Apache, for both are based on HTTP. While, how can i use phpMyAdmin in the same computer to control Mysql DB? Thanks a lot ~_~ CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Configuration of SipSimpleClient
Hi, I have configure my sipsimpleclient following SIPSIMPLE-Manul.pdf attached on the openxcap.org. When I use sip-setting -a add u...@domian password. It really add a user in the /root/.sipclient/config When I use some xcap related commands,such as xcap-directory,xcap-pres-rules,xcap-dialog-rules,xcap-rls-services , it shows the following errors: r...@shenhua-ims:~/.sipclient# xcap-directory Error: XCAP root is not defined for account 10...@10.22.22.22 and When I use xcap-icon command,it shows: r...@shenhua-ims:~/.sipclient# xcap-icon Traceback (most recent call last): File /usr/local/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress SO,I want to know how to configure XCAP-ROOT for a user in SipSimpleClient? this is not mentioned in oenxcap.org And what can I so to slove the errors about xcap-icon? Thank you very much ~~~ Best wishes! CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Configuration of SipSimpleClient
Thank you ,and looking forward to your reply~~ 2010/7/3 Adrian Georgescu a...@ag-projects.com SO,I want to know how to configure XCAP-ROOT for a user in SipSimpleClient? this is not mentioned in oenxcap.org sip-settings -a set xcap.xcap_root=http:// And what can I so to slove the errors about xcap-icon? We shall check into this issue, it looks like a bug. Adrian ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1
Hello,Adrian: I have install sipsimpleclient following http://sipsimpleclient.com/wiki/SipInstallation in my UBUNTU 9.10, and Debian 5. But when I input xcap-icon command,it all shows the same errors: [hidden email]http://opensips-open-sip-server.1449251.n2.nabble.com/user/SendEmail.jtp?type=nodenode=5243783i=0:~# xcap-icon Traceback (most recent call last): File /usr/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress How can I do to reslove the problem? Thanks a lot~~ CheeWii 2010/7/1 Adrian Georgescu a...@ag-projects.com Juha, This is harmless and is caused by some other non-xcap lib loading a previously loaded module. Not sure how we can rid of it because is not written by us . Adrian On Jun 30, 2010, at 6:17 PM, Juha Heinanen wrote: Adrian Georgescu writes: There is a new release of OpenXCAP, version 1.2.1. It contains bug fixes. adrian, i built and installed this on debian squeeze. it went fine except this warning during startup: Starting OpenXCAP server: openxcap /usr/lib/python2.6/dist-packages/zope/__init__.py:3: UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so, but /usr/lib/pymodules/python2.6 is being added to sys.path import pkg_resources looks like it is harmless, but would anyway be nice to get rid off. -- juha ___ Devel mailing list de...@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Problem about xcap-icon of sipsimpleclient
Hi, I have install sipsimpleclient following http://sipsimpleclient.com/wiki/SipInstallation in my UBUNTU 9.10. But when I input xcap-icon command,it shows: r...@shenhua-ims:~# xcap-icon Traceback (most recent call last): File /usr/bin/xcap-icon, line 25, in module from sipsimple.payloads.icon import Icon, Data File /usr/lib/pymodules/python2.6/sipsimple/payloads/icon.py, line 41, in module class Icon(XMLRootElement): File /usr/lib/pymodules/python2.6/sipsimple/payloads/__init__.py, line 418, in __init__ cls._xml_schema = etree.XMLSchema(etree.parse(open(os.path.join(cls._xml_schema_dir, cls._xml_schema_file), 'r'))) File xmlschema.pxi, line 85, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:101873) lxml.etree.XMLSchemaParseError: Operation in progress How can I do to reslove the problem? Thanks a lot~~ CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] OpenSIPs configure about fifo_name and socket_name.
Hi, I have a new question about opensips configure. Now I want to use some functions in the modules of mi_fifo and mi_datagram. So I want to make sure of some configure about them. In the resource file -- opensipsctlrc, I see there are some configure lines: ## MI_CONNECTOR control engine: FIFO, UNIXSOCK, UDP, XMLRPC # MI_CONNECTOR=FIFO:/tmp/opensips_fifo # MI_CONNECTOR=UNIXSOCK:/tmp/opensips.sock # MI_CONNECTOR=UDP:192.168.2.133:8000 # MI_CONNECTOR=XMLRPC:192.168.2.133:8000 and in the modules parameters' configure ,there are some configure lines: modparam(mi_fifo, fifo_name, /tmp/opensips_fifo) modparam(mi_datagram, socket_name, /tmp/opensips.sock) So ,I want to know the relationship about them. And ,should I configure them synchronously? and should I configure FIFO, UNIXSOCK control engine at the same time?? thus: MI_CONNECTOR=FIFO:/tmp/opensips_fifo MI_CONNECTOR=UNIXSOCK:/tmp/opensips.sock so many questions:) Thank you!! CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Question Regarding Watchers table.
why do you configure enable_publish_xcapdiff = no ? As I known ,only you set it as yes,openxcap can publish diffenences to OpenSIPs. Have a test! 2010/4/16 calment c.jea...@astellia.com I've set up both an OpenXcap and OpenSips 1.6 server to manage presence. I use the Mercuro Bronze client to manage my contact list and store it in the xcap server. I would like to use the watcher mechanism in order to allow or disallow a peer to view my presence. When I connect the client to my infrastructure with a new sip account, it tries to get its informations from xcap table through HTTP GET but obviously there is nothing about it (first session). Therefore it uses HTTP POST to ask OpenXcap to INSERT into xcap table 2 RLS_SERVICES, 1 PIDF_MANIPULATION and 1 RESOURCE_LIST. When it's done I can see an XMLRPC refreshWatchers message sent to OpenSips server and that is what I expect. But, this is the only refreshWatchers message I get! Even if the client perfoms changes in the xcap document, no new XMLRPC message is sent anymore! To clarify : I log a second user (Bob) and I add Alice in my contact list thus OpenXcap modify xcap table in database. A SIP NOTIFY presence.winfo message is sent to Alice and she accepts Bob to watch her status by modifying her xcap document. But once it's done, the expected XMLRPC refreshWatcher is not sent ever. This is a major isue because OpenSips is never aware that Alice has accepted and do not send NOTFY to Bob (a least until SUBSCRIPTION is redone and xcap table is read once again by OpenSips). Is my analysis correct ? Is there a specific configuration to do ? Is there any known isues in OpenXcap that could explain my problem? My openxcap.cfg : [Server] address = 192.168.150.15 port = 80 root = http://xcap.open-ims.test/xcap-root backend = OpenSIPS document_validation = Yes [Logging] log_stacktrace=500 log_stacktrace=any log_response_body=400,409 log_request_headers=401 [Authentication] type = basic cleartext_passwords = Yes default_realm = open-ims.test trusted_peers = 192.168.3.87, 192.168.3.124, 192.168.2.7 [TLS] [Database] authentication_db_uri = mysql://opensips:opensip...@presence.open-ims.test/opensips storage_db_uri = mysql://opensips:opensip...@presence.open-ims.test /opensips subscriber_table = subscriber xcap_table = xcap [OpenSIPS] xmlrpc_url = http://presence.open-ims.test:8080 enable_publish_xcapdiff = no -- View this message in context: http://n2.nabble.com/Question-Regarding-Watchers-table-tp3856740p4912886.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Openxcap 1.1.3 can't start
Hi, I have installed openxcap1.1.2 in my debian system. It runs successfully. For Openxcap 1.1.2 have not support many new functions. So I use apt-get remove openxcap uninstall openxcap 1.1.2. Only one package is removed. Then I use dracs get the newest openxcap.And use python setup.py install to install the newest openxcap. The duration of installing seems as ok! But when i start openxcap , it cannot start. there is no information in all processes. Then I use /usr/bin/openxcap --no-fork, it shows as follows: debian:~# /usr/bin/openxcap --no-fork Starting OpenXCAP 1.1.3 fatal error: failed to create OpenXCAP 1.1.3: No module named Image Traceback (most recent call last): --- exception caught here --- File /usr/bin/openxcap, line 61, in module from xcap.server import XCAPServer File /usr/lib/python2.5/site-packages/xcap/server.py, line 19, in module from xcap import authentication File /usr/lib/python2.5/site-packages/xcap/authentication.py, line 26, in module from xcap.appusage import getApplicationForURI, namespaces, public_get_applications File /usr/lib/python2.5/site-packages/xcap/appusage/__init__.py, line 6, in module import Image exceptions.ImportError: No module named Image debian:~# what' s wrong with it? CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] where can I get the newest Openxcap?
Hi, The openxcap1.1.2 from openxcap.org has not support many auid..Where can I get the newest Openxcap? Thank a lot. cheewii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Bug in userblacklist module
Hi, When the message 's method is Register ,userblacklist will show error as follows: ERROR:userblacklist:check_user_blacklist: cannot parse msg URI But other kinds of messages,it run normally. I think it may be caused by the R-URI: REGISTER sip:imsnsn.com SIP/2.0 vs REQUEST sip:...@imsnsn.com sip%3a...@imsnsn.com SIP/2.0 CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] SIP Trace question
Have a test as follows: if(!(method == REGISTER)){ setflag(22); sip_trace(); } 2010/4/7 Daniel Goepp d...@goepp.net I'm having some trouble understanding why I'm not seeing all messages in the DB. All I see are messages back to the calling party, and the message to and from the called party, but I see nothing from the calling party. Making it a bit hard to tell what the initial request looked like :) I have a pretty generic setup: # - sip_trace -- modparam(siptrace, db_url, mysql://opensips:opensip...@localhost /opensips) modparam(siptrace, trace_on, 1) modparam(siptrace, enable_ack_trace, 1) modparam(siptrace, table, sip_trace) modparam(siptrace, trace_flag, 22) And then: if(!(method == REGISTER)) setflag(22); Thoughts on why I'm not seeing inbound requests from the caller? Thanks -dg ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] How to siptrace outgoing me ssage not incoming message?
Hi, Now I use the siptrace module in my opensips.and it run successfully. However,I found every message was stored twice. one is incoming,and another is outgoing. I want to store the only outgoing message.How can I accomplish this? Thanks a lot~~ CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Could I use mysql lines in opensips.cfg?
Hi, I use Opensips as an SMS gateway. Now I need to check all message's username firstly. If the username is in my mysql database,thus it belong to the white name-list,then I realy it normally.If not ,I will drop it directlly. So I think I should exec some some mysql commands to check the usename. How can I accomplish it? Thanks a lot:) CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] How to save seceive ip in location?
Yeah, that's OK 2010/3/30 Andrew Pogrebennyk andrew.pogreben...@portaone.com On 30.03.2010 15:49, CheeWii wrote: Now I used Opensips as a sip sms gateway. I used save(location) to store the register information. However, when my client is behind NAT,opensips will relay MESSAGE to an private ip address. It just as 192.168.111.100. Just use fix_nated_register(): http://www.opensips.org/html/docs/modules/devel/nathelper.html#id272036 -- Sincerely, Andrew Pogrebennyk ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] How to save seceive ip in location?
Hi, Now I used Opensips as a sip sms gateway. I used save(location) to store the register information. However, when my client is behind NAT,opensips will relay MESSAGE to an private ip address. It just as 192.168.111.100. So I want to my Opensips can remember the receive ip,not the request uri or contact ip. Then I read the cookbook obout Register module, and I test to use save(location,rv). Unfortunatly ,it seems to be useful. For I need not to change the SDP information,so I just want simply to accomplish it . Make my opensips can remember the REGISTER's received ip,and can relay MESSAGE to the correct IP. Thanks a lot:) CheeWii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] how to set $var(name) in opensips.cfg?
Hi, I have read the Script variables introduction,and I make a test in my opensips.cfg. But the opensips cannot start up. I have added: $var(aster_ip)=192.168.0.176; $var(aster_port)=5060; if (src_ip == $var(aster_ip) src_port== $var(aster_port)) { xlog(L_NOTICE,Incoming Request is from $src_ip \n); } The error log is showed as follows : Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 34-35: syntax error Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 34-35: number expected Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 34-35: bad command!) Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 35-36: bad command!) Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 37-38: bad command!) What is wrong with it? thanks a lot! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] how to set $var(name) in opensips.cfg?
Can I use : $var(new_uri)=udp:+192:168:0:3+:5060; t_relay($var(new_uri)) or t_relay($var(new_uri)) Maybe there is something wrong in use t_relay()~~ 2010/3/25 Bogdan-Andrei Iancu bog...@voice-system.ro Hi, replace if (src_ip == $var(aster_ip) src_port== $var(aster_port)) { with if ( $si == $var(aster_ip) $sp== $var(aster_port) ) { Regards, Bogdan CheeWii wrote: Hi, I have read the Script variables introduction,and I make a test in my opensips.cfg. But the opensips cannot start up. I have added: $var(aster_ip)=192.168.0.176; $var(aster_port)=5060; if (src_ip == $var(aster_ip) src_port== $var(aster_port)) { xlog(L_NOTICE,Incoming Request is from $src_ip \n); } The error log is showed as follows : Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 34-35: syntax error Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 34-35: number expected Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 34-35: bad command!) Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 35-36: bad command!) Mar 25 16:01:26 trixbox1 opensips: CRITICAL:core:yyerror: parse error in config file, line 216, column 37-38: bad command!) What is wrong with it? thanks a lot! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] how to modify a Via header?
Hi! Now I use opensips as a v4-v6 gateway.so I want to change every ipv4 address in VIA header to ipv6 address. How can I accomplish this? For example: Via: SIP/2.0/UDP 192.25.132.227:5069;branch=z9hG4bKdf6e.49b8c2c2.0 - Via: SIP/2.0/UDP [2002:da8:214:1115:b0cc:8604:1fc9:6448]:5069;branch=z9hG4bKdf6e.49b8c2c2.0 Thanks a lot! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] How to modify username of FROM uri?
Hi I have a simple question. I know the from_uri can get the FROM information. and I can use uac_replace_from() to change uri. But I just want to modify the domain only , the username need to be reserved. Thus From: 123 sip:1...@192.168.0.1 sip%3a...@192.168.0.1;-From: 123 sip:1...@10.200.0.5 sip%3a...@10.200.0.5 How can I accomplish it simply? Thanks a lot:) ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] how to make opensips supports ipv6?
hi! I have a SIP client,and I want to have a test of weather the client support ipv6. So I need make opensips can listen the Ipv6 address.what should I do ? Just add the following line into the opensips.cfg,is it ok? listen=2001:da8:215:1115:20c:29ff:fe10:78d6 Thanks! cheewii ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Opensips:how to distinguish sip message from my-test-client?
Hi: I want to do special route to the INVITE message from my-test-client;Now I just distinguish sip message from my-test-client by the parameter src_ip, but this is static. I think if I make a special mark,and Opensips can easily distinguish sip message by this mark. Is it to be accomplished simplly? Thanks a lot! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Starting OpenXCAP without any logs
Following your suggestions,I really make openxcap running in fork mode successfully~ Thank you ,keep you posted !:) 2010/2/4 Saúl Ibarra Corretgé s...@ag-projects.com Hi, El 03/02/10 15:49, CheeWii escribió: Thanks a lot ! Looking forward to your reply kindly~ : ) Last night I setup a machine with the same package versions as yours and I easily reproduced the issue: OpenXCAP rums OK in foreground, but it fails to start in background. The issue is related to python-application package, at least in the version Debian Squeeze is packaging: 1.2.1 To workaround the issue you may install python-application version 1.1.5 as follows: wget http://pypi.python.org/packages/source/p/python-application/python-application-1.1.5.tar.gz tar zxvf python-application-1.1.5.tar.gz cd python-application-1.1.5 python setup.py install I'll look into the 1.2.1 version issue, but this should do it ;) Thanks for the report! Kind regards, -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Starting OpenXCAP without any logs
Thanks a lot ! Looking forward to your reply kindly~ : ) 2010/2/3 Saúl Ibarra Corretgé s...@ag-projects.com Hi, El 03/02/10 5:28, CheeWii escribió: Havn't resloved the former problem,I got into the new trouble. The errors shows as follows,could you give me some suggestions? Is it the fault of python?? Unfortunately the traceback doesn't show anything useful :-/ I'll try to reproduce your scenario (Python 2.5 and Twisted 9.0.0), so that I test latest Twisted with OpenXCAP. Keep you posted. Regards, -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Starting OpenXCAP without any logs
Havn't resloved the former problem,I got into the new trouble. The errors shows as follows,could you give me some suggestions? Is it the fault of python?? r...@ubuntu:/var/log/openxcap# /usr/bin/openxcap --no-fork Starting OpenXCAP 1.1.2 xcap.server.HTTPFactory starting on 80 error: Traceback (most recent call last): error: File /usr/lib/python2.5/threading.py, line 462, in __bootstrap error: self.__bootstrap_inner() error: File /usr/lib/python2.5/threading.py, line 486, in __bootstrap_inner error: self.run() error: File /usr/lib/python2.5/threading.py, line 446, in run error: self.__target(*self.__args, **self.__kwargs) error: --- exception caught here --- error: File /usr/lib/python2.5/site-packages/twisted/python/threadpool.py, line 210, in _worker error: result = context.call(ctx, function, *args, **kwargs) error: File /usr/lib/python2.5/site-packages/twisted/python/context.py, line 59, in callWithContext error: return self.currentContext().callWithContext(ctx, func, *args, **kw) error: File /usr/lib/python2.5/site-packages/twisted/python/context.py, line 37, in callWithContext error: return func(*args,**kw) error: File /usr/lib/python2.5/site-packages/twisted/enterprise/adbapi.py, line 426, in _runInteraction error: conn = self.connectionFactory(self) error: File /usr/lib/python2.5/site-packages/twisted/enterprise/adbapi.py, line 38, in __init__ error: self.reconnect() error: File /usr/lib/python2.5/site-packages/twisted/enterprise/adbapi.py, line 75, in reconnect error: self._connection = self._pool.connect() error: File /usr/lib/python2.5/site-packages/twisted/enterprise/adbapi.py, line 395, in connect error: conn = self.dbapi.connect(*self.connargs, **self.connkw) Yes. As I see you're running a hybrid system, because twisted version in Lenny is 8.1.0 and you're running 9.0.0. This shouldn't matter, however I need to test OpenXCAP with latest Debian unstable to check if changes are needed because of updated library versions, I'll keep you posted. Regards, -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Starting OpenXCAP without any logs
Yehn~ It shows as follows: debianNTT:~# netstat -tulnp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 0.0.0.0:20490.0.0.0:* LISTEN - tcp0 0 0.0.0.0:43202 0.0.0.0:* LISTEN 2529/rpc.mountd tcp0 0 0.0.0.0:901 0.0.0.0:* LISTEN 2540/inetd tcp0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1998/mysqld tcp0 0 0.0.0.0:40237 0.0.0.0:* LISTEN - tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1501/portmap tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3940/python tcp0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2549/python tcp0 0 0.0.0.0:93000.0.0.0:* LISTEN 2578/python tcp0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1803/named tcp0 0 127.0.0.1:530.0.0.0:* LISTEN 1803/named tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1832/sshd tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2192/cupsd tcp0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 2081/postgres tcp0 0 127.0.0.1:250.0.0.0:* LISTEN 2470/exim4 tcp0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1803/named tcp0 0 0.0.0.0:60444 0.0.0.0:* LISTEN 1517/rpc.statd tcp6 0 0 :::139 :::* LISTEN 2561/smbd tcp6 0 0 :::53 :::* LISTEN 1803/named tcp6 0 0 :::22 :::* LISTEN 1832/sshd tcp6 0 0 ::1:631 :::* LISTEN 2192/cupsd tcp6 0 0 ::1:5432:::* LISTEN 2081/postgres tcp6 0 0 ::1:953 :::* LISTEN 1803/named tcp6 0 0 :::445 :::* LISTEN 2561/smbd udp0 0 0.0.0.0:20490.0.0.0:* - udp0 0 0.0.0.0:137 0.0.0.0:* 2559/nmbd udp0 0 0.0.0.0:137 0.0.0.0:* 2559/nmbd udp0 0 0.0.0.0:138 0.0.0.0:* 2559/nmbd udp0 0 0.0.0.0:138 0.0.0.0:* 2559/nmbd udp0 0 0.0.0.0:51607 0.0.0.0:* 1517/rpc.statd udp0 0 127.0.0.1:921 0.0.0.0:* 1818/lwresd udp0 0 0.0.0.0:17010.0.0.0:* 2607/xl2tpd udp0 0 0.0.0.0:34992 0.0.0.0:* 2529/rpc.mountd udp0 0 0.0.0.0:53 0.0.0.0:* 1803/named udp0 0 127.0.0.1:530.0.0.0:* 1803/named udp0 0 0.0.0.0:32831 0.0.0.0:* 1785/avahi-daemon: udp0 0 0.0.0.0:68 0.0.0.0:* 2731/dhclient udp0 0 0.0.0.0:845 0.0.0.0:* 1517/rpc.statd udp0 0 0.0.0.0:53530.0.0.0:* 1785/avahi-daemon: udp0 0 0.0.0.0:111 0.0.0.0:* 1501/portmap udp0 0 0.0.0.0:50673 0.0.0.0:* - udp0 0 0.0.0.0:631 0.0.0.0:* 2192/cupsd udp6 0 0 :::53 :::*1803/named udp6 0 0 :::5353 :::*1785/avahi-daemon: udp6 0 0 :::60280 :::*1785/avahi-daemon: debianNTT:~# 2010/1/31 Saúl Ibarra Corretgé s...@ag-projects.com Hi, El 30/01/10 15:14, CheeWii escribió: Hi! I have Installed Openxcap ,Soap-Simple-proxy,and Opensips-mi-proxy following the instruction from http://openxcap.org/wiki/Installation ,my system is debian 5.0_64,so I used the method of apt-get install ***; After I finished installation,I use ps -ef|grep *** to check the running process. There is no Openxcap process. I retried: /etc/init.d/openxcap start Openxcap is still not runing. Then I look up the log ,/var/log/syslog and /var/log/openxcap/access.log;there is not any log about openxcap! What wrong with me ?? I retried: /usr/bin/openxcap --no-log Then It shows: debianNTT:/usr/bin# ./openxcap --no-fork Starting OpenXCAP 1.1.2 Trusted peers: 192.168.0.129 xcap.server.HTTPFactory starting on 80 But I tried :/usr/bin/openxcap It shows: debianNTT:/usr/bin# ./openxcap debianNTT:/usr/bin# debianNTT:/usr/bin# ps -ef|grep openxcap root 6340 5929 0 22:14 pts/2 00:00:00 grep openxcap debianNTT:/usr/bin# No any log exist~ What can I do for this ? I have installed successfully in debian_32 before.. Is it some wrong about debian_64?? Thanks a lot! When you start OpenXCAP with ./openxcap --no-fork are you able to connect? You are using port 80, can you check that nothing is listening in that port also? Can you do netstat -tulnp and see who is listening on port 80 after you start OpenXCAP in no-fork mode? Regards, -- Saúl Ibarra Corretgé AG Projects
Re: [OpenSIPS-Users] Starting OpenXCAP without any logs
Yes,I test --app xcap-caps,watchers,pidf-manifulation. It shows as follows: debianNTT:~# debianNTT:~# xcapclient --app xcap-caps -a 1001 get get http://192.168.0.151/xcap-root/xcap-caps/global/index etag: 2cd182cefafcd771de9fa37194ff53db content-type: application/xcap-caps+xml content-length: 826 ?xml version='1.0' encoding='UTF-8'? xcap-caps xmlns='urn:ietf:params:xml:ns:xcap-caps' auids auidwatchers/auid auidorg.openmobilealliance.pres-rules/auid auidrls-services/auid auidpidf-manipulation/auid auidxcap-caps/auid auidtest-app/auid auidresource-lists/auid auidpres-rules/auid /auids extensions /extensions namespaces namespacehttp://openxcap.org/ns/watchers/namespace namespaceurn:ietf:params:xml:ns:pres-rules/namespace namespaceurn:ietf:params:xml:ns:rls-services/namespace namespaceurn:ietf:params:xml:ns:pidf/namespace namespaceurn:ietf:params:xml:ns:xcap-caps/namespace namespacetest-app/namespace namespaceurn:ietf:params:xml:ns:resource-lists/namespace namespaceurn:ietf:params:xml:ns:pres-rules/namespace /namespaces /xcap-caps debianNTT:~# xcapclient --app watchers -a 1001 get get http://192.168.0.151/xcap-root/watchers/users/sip:1...@localhost/index etag: aeb9ab907ff1748392b7f04a19eaa1c8 content-type: application/xml content-length: 91 ?xml version='1.0' encoding='utf-8'? watchers xmlns=http://openxcap.org/ns/watchers/http://openxcap.org/ns/watchers%22/ debianNTT:~# xcapclient --app pidf-manifulation -a 1001 get get http://192.168.0.151/xcap-root/pidf-manifulation/users/sip:1...@localhost/index 404 Not Found content-type: text/plain debianNTT:~# The Openxcap can be running only in no-fork mode.. Is there any thing wrong? 2010/1/31 Saúl Ibarra Corretgé s...@ag-projects.com El 31/01/10 12:58, CheeWii escribió: Yehn~ It shows as follows: debianNTT:~# netstat -tulnp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:2049 http://0.0.0.0:2049 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:43202 http://0.0.0.0:43202 0.0.0.0:* LISTEN 2529/rpc.mountd tcp 0 0 0.0.0.0:901 http://0.0.0.0:901 0.0.0.0:* LISTEN 2540/inetd tcp 0 0 127.0.0.1:3306 http://127.0.0.1:3306 0.0.0.0:* LISTEN 1998/mysqld tcp 0 0 0.0.0.0:40237 http://0.0.0.0:40237 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:111 http://0.0.0.0:111 0.0.0.0:* LISTEN 1501/portmap tcp 0 0 0.0.0.0:80 http://0.0.0.0/ http://0.0.0.0:80http://0.0.0.0/ 0.0.0.0:* LISTEN 3940/python OK, it looks like it's running, are you able to connect to the XCAP server while in no-fork mode and see anything in the application output? -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Starting OpenXCAP without any logs
It Shows as follows: debianNTT:/etc/apt# debianNTT:/etc/apt# /etc/init.d/openxcap start Starting OpenXCAP server: openxcap .. debianNTT:/etc/apt# ps -ef|grep openxcap root 7439 7364 0 13:51 pts/000:00:00 grep openxcap debianNTT:/etc/apt# 在 2010年2月1日 下午1:46,CheeWii quanwe...@gmail.com写道: Yes,It doesn’t work in fork mode. debianNTT:/etc/apt# debianNTT:/etc/apt# /etc/init.d/openxcap start Starting OpenXCAP server: openxcap . debianNTT:/etc/apt# ps -ef|grep opencap root 7424 7364 0 13:43 pts/000:00:00 grep opencap debianNTT:/etc/apt# Python and twisted versions in my system are: ii python 2.5.4-9 An interactive high-level object-oriented language (default version) ii python-4suite-xml 1.0.2-5 An open-source platform for XML and RDF processing ii python-application 1.2.1-1 Basic building blocks for Python applications ii python-apt 0.7.7.1+nmu1Python interface to libapt-pkg ii python-libxml2 2.6.32.dfsg-5+lenny1Python bindings for the GNOME XML library ii python-twisted-bin 9.0.0-1+b1 Event-based framework for internet applications un python-twisted-bin-dbg No No information. ii python-twisted-core 9.0.0-1 Event-based framework for internet applications ii python-twisted-web 9.0.0-1 An HTTP protocol implementation together with clients and servers ii python-twisted-web2 8.1.0-2 An HTTP/1.1 Server Framework ii python-xcaplib 1.0.11 Python library for managing XML documents on XCAP server ii python-xdg 0.15-1.1A python library to access freedesktop.org standards ii python-xml 0.8.4-10.1+lenny1 XML tools for Python ii python-zope.interface 3.5.3-1+b1 Interfaces for Python Could I use the source tar to change the versions of python and twisted? Before,I just install python and other using apt-get install ***. 2010/2/1 Saúl Ibarra Corretgé s...@ag-projects.com The Openxcap can be running only in no-fork mode.. Is there any thing wrong? So, if you run in fork mode (in background) OpenXCAP just doesn't work for you? Which python and twisted versions are you using? -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Starting OpenXCAP without any logs
Hi! I have Installed Openxcap ,Soap-Simple-proxy,and Opensips-mi-proxy following the instruction from http://openxcap.org/wiki/Installation ,my system is debian 5.0_64,so I used the method of apt-get install ***; After I finished installation,I use ps -ef|grep *** to check the running process. There is no Openxcap process. I retried: /etc/init.d/openxcap start Openxcap is still not runing. Then I look up the log ,/var/log/syslog and /var/log/openxcap/access.log;there is not any log about openxcap! What wrong with me ?? I retried: /usr/bin/openxcap --no-log Then It shows: debianNTT:/usr/bin# ./openxcap --no-fork Starting OpenXCAP 1.1.2 Trusted peers: 192.168.0.129 xcap.server.HTTPFactory starting on 80 But I tried :/usr/bin/openxcap It shows: debianNTT:/usr/bin# ./openxcap debianNTT:/usr/bin# debianNTT:/usr/bin# ps -ef|grep openxcap root 6340 5929 0 22:14 pts/200:00:00 grep openxcap debianNTT:/usr/bin# No any log exist~ What can I do for this ? I have installed successfully in debian_32 before.. Is it some wrong about debian_64?? Thanks a lot! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] How to use Soap-Simple-Proxy ?
When I write http://192.168.190.129:9200/soap-simple-proxy/; in the IE browser,but I can't get the wsdl document. that shows: Oops! This server supports HTTP GET requests only for the the purpose of obtaining Web Services Description Language (WSDL) for a specific service. Either you requested an URL that does not point to a WSDL file or this server does not implement a wsdl retrieval method. CheeWii wrote: I have installed Opensips,Openxcap,and Soap-Simple-Proxy. All are running successfully.But I don't konw how to use Soap-Simple-Proxy. I want to use Soap-Simple-Proxy to show the presence information. The config.ini is : ; Configuration file for AG Projects Soap SIMPLE proxy ; [SOAP Server] ; IP address and port to listen for requests ; 0.0.0.0 means any address of this host address = 0.0.0.0 port = 9300 ; enable logging of requests to syslog log_requests = Yes [WSDL] ; set the HTTP URLs where the WSDL file is served ; There are two locations: ;- a public URL which can be accessed from the Internet (should be under https) ;- an internal URL which can be accessed from the local network, for higher speed public_service_url = https://192.168.190.129/soap-simple-proxy/ internal_service_url = http://192.168.190.129:9200/ [XCAP] ; the root URI of the XCAP server. Use https to enable TLS connections root_uri = http://192.168.190.129/xcap-root I know we must have SoapServer and SoapClient. How to use these configure parameter? Is Soap-Simple-Proxy equal to SoapServer? Could you give me many detial introduction about how to use the Soap-Simple-Proxy? Thanks a lot:) ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/How-to-use-Soap-Simple-Proxy-tp4064854p4065151.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users