hi:
I have installed openxcap-0.9.6 on centos 5.
How can i get the friends list from the server?
And how can i update the item?
Is there any example client application ?
Thanks a lot!
2007-10-23
程千
Hi, is possible to compile and install OpenSer in same directory estructure as
Debian packages? I mean:
/usr/sbin/openser*
/usr/lib/openser/modules/
/etc/openser/
I could copy /etc/init.d/openser from Debian and use option "-f /etc/openser"
but I'd like to know if there is a "cleaner" way.
Is it necessary to modify sources for it?
Thanks.
--
Iñaki Baz Castillo
Hello Kirti,
You may want to open a ticket at http://openxcap.org for this. From
your description though I see that you are not using the proper
libraries. The software is developed and has been tested on Debian
unstable using the following versions:
- libxml2: 2.6.28.dfsg-1
- python: 2.4.4-6
- python-lxml: 1.1.2-1
- twisted: 2.5.0
- python-application: 1.0.9
- python-gnutls: 1.1.1
If you get it working on a different distribution than Debian I would
appreciate feedback about the system type and library versions
installed to help other people with the same problems.
I will setup a wiki page with these experiences.
Regards,
Adrian
On Oct 24, 2007, at 10:05 AM, Kirti Dhingra wrote:
> Hi,
>
> I am facing a problem while running OpenXCAP on RHEL 4. I referred
> to the OpenXCAP installation page and the following is my setup.
> 1. I installed python 2.4 from the rpm's listed on www.python.org
> 2. zope-interface-3.3.0 from http://www.zope.org/Products/
> ZopeInterface
> 3. Twisted-2.5.0, TwistedCore-2.5.0, TwistedWeb-0.7.0 and
> TwistedWeb2-0.2.0 from
> http://twistedmatrix.com
>
> 4.lxml-1.3.5 from http://codespeak.net/lxml
> 5. python-application-1.0.9 from from OpenXCAP
> 6. openxcap-0.9.7
>
> after installing all these, when I run /etc/init.d/openxcap or /usr/
> bin/openxcap I get the following traces in the syslog
>
> localhost openxcap[5313]: [-] Log opened.
> localhost openxcap[5313]: [-] Starting Open XCAP 0.9.7
> localhost openxcap[5313]: [-] Traceback (most recent call last):
> localhost openxcap[5313]: [-] File "/usr/bin/openxcap", line 56,
> in ?
> localhost openxcap[5313]: [-] from xcap.server import XCAPServer
> localhost openxcap[5313]: [-] File "/usr/lib/python2.4/site-
> packages/xcap/server.py", line 16, in ?
> localhost openxcap[5313]: [-] from twisted.web2 import channel,
> resource, http, responsecode, server
> localhost openxcap[5313]: [-] File "/usr/lib/python2.4/site-
> packages/twisted/web2/channel/__init__.py", line 7, in ?
> localhost openxcap[5313]: [-] from twisted.web2.channel.cgi
> import startCGI
> localhost openxcap[5313]: [-] File "/usr/lib/python2.4/site-
> packages/twisted/web2/channel/cgi.py", line 8, in ?
> localhost openxcap[5313]: [-] from twisted.web2 import http,
> http_headers, server, responsecode
> localhost openxcap[5313]: [-] File "/usr/lib/python2.4/site-
> packages/twisted/web2/http.py", line 27, in ?
> localhost openxcap[5313]: [-] from twisted.web2 import iweb
> localhost openxcap[5313]: [-] File "/usr/lib/python2.4/site-
> packages/twisted/web2/iweb.py", line 58, in ?
> localhost openxcap[5313]: [-] class IOldNevowResource
> (components.Interface):
> localhost openxcap[5313]: [-] AttributeError: 'module' object has
> no attribute 'Interface'
>
> I suppose the AttributeError is a critical error cause openxcap
> seems to shut down after this and I cannot see it run if i do ps -
> ef|grep xcap.
>
> Before OpenXCAP i was working with XCAP-Lite on another system with
> RHEL 4 itself and that worked fine.
>
> Would be great if someone could help resolve this issue.
>
> Thanks & Regards,
> Kirti Dhingra*****Aricent-Unclassified *****
>
> "DISCLAIMER: This message is proprietary to Aricent and is intended
> solely for the use of
> the individual to whom it is addressed. It may contain privileged
> or confidential information and should not be
> circulated or used for any purpose other than for what it is
> intended. If you have received this message in error,
> please notify the originator immediately. If you are not the
> intended recipient, you are notified that you are strictly
> prohibited from using, copying, altering, or disclosing the
> contents of this message. Aricent accepts no responsibility for
> loss or damage arising from the use of the information transmitted
> by this email including damage from virus."
>
Dear all
I Am working on Voip projects asterisk,freeswitch and other opensource software. now i come on Openser community i have setup of openser and it is working fine with mysql base user authentication verything runing fine now i want to implement multi-domain support with openser but i am stuck in some problem i have read doc and implement configuation but there is some problem
My configure file
openser.cfg
fork=no
log_stderror=yes
port=5060
children=4
port=5060
children=4
fifo="/tmp/openser_fifo"
fifo_db_url="mysql://root:tulip786@localhost/openser"
loadmodule "/usr/lib/openser/modules/mysql.so"
loadmodule "/usr/lib/openser/modules/sl.so"
loadmodule "/usr/lib/openser/modules/tm.so"
loadmodule "/usr/lib/openser/modules/rr.so"
loadmodule "/usr/lib/openser/modules/maxfwd.so"
loadmodule "/usr/lib/openser/modules/usrloc.so"
loadmodule "/usr/lib/openser/modules/registrar.so"
loadmodule "/usr/lib/openser/modules/textops.so"
loadmodule "/usr/lib/openser/modules/xlog.so"
loadmodule "/usr/lib/openser/modules/auth.so"
loadmodule "/usr/lib/openser/modules/auth_db.so"
loadmodule "/usr/lib/openser/modules/uri_db.so"
loadmodule "/usr/lib/openser/modules/domain.so"
modparam("auth_db|uri_db|domain|usrloc", "db_url", "mysql://root:tulip786@localhost/openser")
modparam("usrloc", "db_mode", 2)
modparam("rr", "enable_full_lr", 1)
modparam("xlog", "buf_size", 8192)
route {
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
return;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
return;
};
if (method!="REGISTER") {
record_route();
};
if (loose_route()) {
route(1);
return;
};
if (!is_from_local()) {
sl_send_reply("403", "Unknown domain");
return;
};
if (method=="ACK") {
route(1);
return;
} if (method=="INVITE") {
route(3);
return;
} else if (method=="REGISTER") {
route(2);
return;
};
lookup("aliases");
if (uri!=myself) {
route(1);
return;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
return;
};
route(1);
}
route[1] {
if (!t_relay()) {
sl_reply_error();
};
}
route[2] {
sl_send_reply("100", "Trying");
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
return;
};
consume_credentials();
if (!save("location")) {
sl_reply_error();
};
}
route[3] {
consume_credentials();
lookup("aliases");
if (uri!=myself) {
route(1);
return;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
return;
};
route(1);
}
but this is not working for me ??
I have created domain in mysql domain tables
anyone have runing configuration of multidoamin support in openser
Satish Patel
http://linuxbug.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi All,
currently we are trying to use SER release ser-2.0.0+cvs20071022. While
using ser_mysql.sh to create database schema we are facing some problems.
First is that, on running the script it gives error as "
hn:r:w:p:P:ts:u:vkq:: Command not found"
and secondly there is no provision for creating subscriber table in that
script.
plz help me resolving these issues..
thanx in advance....
The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email.
Hi, I've installed SVN trunk version but can't find openser_mysql.sh after
compile most of modules (including of course mysql). That script doesn't
exist in the compiled sources.
I suppose I can't use 1.2 version of this script. What should I do?
Thanks a lot.
--
Iñaki Baz Castillo
At 21:07 23/10/2007, Roderick wrote:
>Thanks for the reply Jiri... I haven't had any problems with large tables
>[yet], but I really want to avoid them (I'm expecting to have a major growth
>on the amount of subscribers I have and therefore I'd have a really big
>usr_preferences table.
>
>Is there another way I could create a table (apart from usr_preferences) and
>read from it so I can set some sort of variables in ser.cfg????
the db_ops module can help to formulate fairly arbitrary queries. -jiri
>Thanks,
>
>Roderick
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
Thanks for the reply Jiri... I haven't had any problems with large tables
[yet], but I really want to avoid them (I'm expecting to have a major growth
on the amount of subscribers I have and therefore I'd have a really big
usr_preferences table.
Is there another way I could create a table (apart from usr_preferences) and
read from it so I can set some sort of variables in ser.cfg????
Thanks,
Roderick
Have you had mysql issues with large attr table?
I think it would take some hacking to do it the way you are suggesting,
but it should not be so hard. Basically it should query * and generate
AVPs named as the columns.
The downside is
a) wheneever you crreate a new service, you have to change the structure
b) you get to a bigger distance from mainstream -- serweb won't work,
and you have to maintain the patches (unless they make it mainstream
too)
-jiri
At 17:52 23/10/2007, Roderick wrote:
>Hello list,
>
>We are using SER usr_preferences table for handling a large number of preferences for each user, the problem is that if we use the default form of the MySQL table we would have several (around 10) records for each client (and maybe more as we develop new services). As we have a fixed number of preferences I�d prefer to change the table so it wouldn�t be:
>
>CREATE TABLE `usr_preferences` (
> `uuid` varchar(64) NOT NULL default '',
> `username` varchar(100) NOT NULL default '0',
> `domain` varchar(128) NOT NULL default '',
> `attribute` varchar(32) NOT NULL default '',
> `value` varchar(128) NOT NULL default '',
> `type` int(11) NOT NULL default '0',
> `modified` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
> PRIMARY KEY (`attribute`,`username`,`domain`)
>) ENGINE=ndbcluster DEFAULT CHARSET=latin1 |
>
>But instead it would be something like
>
>CREATE TABLE `usr_preferences` (
> `uuid` varchar(64) NOT NULL default '',
> `username` varchar(100) NOT NULL default '0',
> `domain` varchar(128) NOT NULL default '',
> `call_forward_on_busy` varchar(32) NOT NULL default '',
> ` call_forward_on_no_available` varchar(32) NOT NULL default '',
> ` call_forward_on_no_available` varchar(32) NOT NULL default '',
> ` call_forward_on_no_response` varchar(32) NOT NULL default '',
> ` language` varchar(32) NOT NULL default '',
> `type` int(11) NOT NULL default '0',
> `modified` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
> PRIMARY KEY (`attribute`,`username`,`domain`)
>) ENGINE=ndbcluster DEFAULT CHARSET=latin1 |
>
>Can this be done, and if so, how can I handle the attribute-value pairs for each different column????
>
>Thanks for any help you can provide,
>
>Roderick
>
><http://www.vivophone.com/vivosoft/index.php?idm=Eng&promo=SR0979>Click here to get your own VIVOphone Account with 30 free minutes to the US and Canada and start calling NOW!!!!
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
I went looking for a carrier which I could use to do some testing with, and
I wound up signing up for a VoicePulse account. I didn't realize that they
don't or won't support IP authorization and they force all their users to
REGISTER to their inbound proxy server.
Is there a way to make OpenSER do this? Or am I out of luck (and money)?
-Daniel