Hello,
I'm looking at a project which requires a higher than normal reliability
for a SIP server. The project involves risk-of-life communications. The
volume of traffic is quite low.
I have been using SER in embedded applications for some time now without
problems but I am now looking at a larger scale project.
Assuming I can provide hardware server(s) with suitable characteristics,
then :
- How reliable is SER?
- In each version?
- In each module?
Are there any well established high availability configurations for SER?
Are there any risk-of-life deployments I can reference?
We may well use SEMS for part of the project so the same questions apply.
I'm not expecting 100% reliability, just a system that matches or
exceeds present high reliability PABX deployments.
If you are of the honest opinion that SER is not good enough, what SIP
server products should I be looking at? Or is SIP not suitable full stop?
Thanks in advance
Jeremy
Hi all,
I'm trying to load some attributes from DB to an avp and check if the
value is greater than 0 (zero). I'm trying to limit the max sessions
per user@domain. But when I execute "avp_db_load(..)" I get the error:
"avpops:dbrow2avp: wrong field types in dbrow".
I'm using unixodbc with oracle as DBRMs. The table DDL is:
UUID(VARCHAR2), USERNAME(VARCHAR2), DOMAIN(VARCHAR2),
ATTRIBUTE(VARCHAR2), VALUE(VARCHAR2), TYPE(NUMBER)
Follow bellow the source:
if (method == "REGISTER") {
if ( avp_db_load("$fu","$avp(s:maxsessions)/avp_user_attributes")
&& avp_check("$avp(s:maxsessions)", "gt/0/g") ) {
save("location") ;
return;
} else {
sl_send_reply("503", "Service Unavailable");
return;
}
}
I've checked the AVP source and the field types seems to be ok. I
don't what to do.
Thanks in advance,
Noel
ps: Sorry about the poor English
Hello!
I see how I can receive additional parameters from Radius server via AVPs. But I wonder if it's possible to send additional parameters (headers) to Radius server in requests?
For example I want to pass to Radius server P-Asserted header, in case that I need validate it?
--
Best Regards,
Alex Massover
VoIP Development Manager
Jajah Inc.
Hi,
we're setting up OpenSER 1.3.0 on a FreeBSD system, with the mi_datagram
module configured, and when we start up openser, we get the following error:
/usr/local/sbin/openser[3139]: NOTICE presence:child_init: init_child
[1] pid [3139]
/usr/local/sbin/openser[3138]:
ERROR:mi_datagram:mi_init_datagram_server: bind: Invalid argument
/usr/local/sbin/openser[3142]: NOTICE presence:child_init: init_child
[4] pid [3142]
/usr/local/sbin/openser[3138]:
CRITICAL:mi_datagram:pre_datagram_process: function
mi_init_datagram_server returned with error!!!
/usr/local/sbin/openser[3138]: ERROR:core:start_module_procs: pre-fork
function failed for process "MI Datagram" in module mi_datagram
In the openser configuration:
modparam ("mi_datagram", "socket_name", "udp:[ip.add.ress.here]:5068")
We checked that the port is not in use. Note that this is working fine
when running the same openser version on a linux based system.
We are also not having this issue when we specify a UNIX socket. Do you
have any idea what could be wrong?
kind regards,
Sigrid
Hi,
I have now running a openser server 1.1.0 notls and have installed
another openser 1.3.1
with xmpp module configured as the server-mode.
Could you tell me how could I change my main sip server(openser 1.1.0
notls) configuation
to configure it send sip message to the xmpp gw.
Or is there anyway that I could just have one openser server(1.2.x
above) along with xmpp module installed. And have it configured as SIP
server + XMPP server + SIP-to-XMPP gateway? Could you show me some
configuration example to achieve this if possible?
Thanks in advance.
BR,
--
Gaoqiang Qian
Automation System and Technology
Helsinki University Of Technology
GSM: +358415058138
Dear all
I am using OpenSER 1.3.1 branch release R3936. I face some bad behaviour
using pua and pua_mi modules.
I publish presence states via the management interface. Sometimes, it
happens that multiple PUBLISH message are sent by one request.
Unfortunately, there is no "system" or oder when this occurs. It just
happens after some publications.
In case of an expiration (Expires=0, E-Tag .) it is not that bad, I
receive the log message: ERROR:presence:update_presentity: No E_Tag
match.
In case of publication (Expires=-1, E-Tag .) it is very bad: After
publication, he receives also two similar messages, and threats both
PUBLISH messages as two different ones. Thus, creates two different
presentity entries with different E-Tags. If the state is expired now
via MI (Expires: -1, E-Tag .) only one of the E-Tags is removed. The
second stays in the presentity table and the user still appears online.
Any ideas what can be the reason and how to solve it?
Best regards
Sebastian
Hi
I have the following error in connection with MySQL when I enable usrloc to
use the DB (db_mode=1):
[...]
Apr 17 14:05:48 [32444] DBG:mysql:db_mysql_init: connection 'mysql://
openser:openserrw@192.168.1.4/openser' not found in pool
Apr 17 14:05:48 [32444] DBG:mysql:db_mysql_new_connection: opening
connection: mysql://xxxx:xxxx@192.168.1.4/openser
Apr 17 14:05:48 [32444] ERROR:mysql:db_mysql_new_connection: driver error:
Can't connect to MySQL server on '192.168.1.4' (111)
Apr 17 14:05:48 [32444] ERROR:usrloc:register_udomain: failed to open
database connection
Apr 17 14:05:48 [32444] ERROR:registrar:domain_fixup: failed to register
domain
Apr 17 14:05:48 [32444] ERROR:core:fix_actions: fixing failed (code=-1) at
cfg line 323
[...]
My configuration file is:
loadmodule "mysql.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
[...]
# ----- usrloc params -----
modparam("usrloc", "db_mode", 1)
modparam("usrloc", "db_url", "mysql://openser:openserrw@192.168.1.4/openser
")
I see that mysql server is started and I've managed at installation to
create the openser DB (using openserdbctl create).
Could you help me doing the troubleshooting of this ? What else should I
verify ?
Regards,
Pascal
There are parameters that should point to the same DB as both openser
and openserctl should operate on the same DB.
Regards,
Bogdan
Pascal Maugeri wrote:
> You're right Bogdan, I changed my configuration to connect to localhost:
>
> modparam("usrloc", "db_url",
> "mysql://openser:openserrw@localhost/openser")
>
> Thanks for your prompt reply !
>
> Now it works very well.
>
> just for curiosity, is it important that the DBHOST in the file
> openserctl file match the host used in openser.cfg for db_url ? Are
> these two parameters independent ?
>
> Regards,
> Pascal
>
>
>
>
>
>
>
>
> On Thu, Apr 17, 2008 at 2:32 PM, Bogdan-Andrei Iancu
> <bogdan(a)voice-system.ro <mailto:bogdan@voice-system.ro>> wrote:
>
> Hi Pascal,
>
> try to connect with the mysql client (mysql) from the openser
> machine to the mysql server machine and see if it works.
>
> Maybe your mysql server is not configured to listen on 192.168.1.4
> <http://192.168.1.4>, but only on 127.0.0.1 <http://127.0.0.1>
> (for local connections).
>
> Regards,
> Bogdan
>
> Pascal Maugeri wrote:
>
> Hi
> I have the following error in connection with MySQL when I
> enable usrloc to use the DB (db_mode=1):
>
> [...]
> Apr 17 14:05:48 [32444] DBG:mysql:db_mysql_init: connection
> 'mysql://openser:openserrw@192.168.1.4/openser
> <http://openser:openserrw@192.168.1.4/openser>
> <http://openser:openserrw@192.168.1.4/openser>' not found in pool
> Apr 17 14:05:48 [32444] DBG:mysql:db_mysql_new_connection:
> opening connection: mysql://xxxx:xxxx@192.168.1.4/openser
> <http://xxxx:xxxx@192.168.1.4/openser>
> <http://xxxx:xxxx@192.168.1.4/openser>
> Apr 17 14:05:48 [32444] ERROR:mysql:db_mysql_new_connection:
> driver error: Can't connect to MySQL server on '192.168.1.4
> <http://192.168.1.4> <http://192.168.1.4>' (111)
>
> Apr 17 14:05:48 [32444] ERROR:usrloc:register_udomain: failed
> to open database connection
> Apr 17 14:05:48 [32444] ERROR:registrar:domain_fixup: failed
> to register domain
> Apr 17 14:05:48 [32444] ERROR:core:fix_actions: fixing failed
> (code=-1) at cfg line 323
> [...]
>
> My configuration file is:
>
> loadmodule "mysql.so"
> loadmodule "sl.so"
> loadmodule "tm.so"
> loadmodule "rr.so"
> loadmodule "maxfwd.so"
> loadmodule "usrloc.so"
> [...]
>
> # ----- usrloc params -----
> modparam("usrloc", "db_mode", 1)
> modparam("usrloc", "db_url",
> "mysql://openser:openserrw@192.168.1.4/openser
> <http://openser:openserrw@192.168.1.4/openser>
> <http://openser:openserrw@192.168.1.4/openser>")
>
>
> I see that mysql server is started and I've managed at
> installation to create the openser DB (using openserdbctl create).
>
> Could you help me doing the troubleshooting of this ? What
> else should I verify ?
>
> Regards,
> Pascal
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org <mailto:Users@lists.openser.org>
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
>
>
high.*!
just wondering if there is any possibility to use global variables in
openser.cfg? like e.g. for configuration values, constants, ..
another question: how can i access the configuration paramerters like
"debug", "port", etc.
thx & cheers
-hugo