<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<div class="moz-text-flowed"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-central-euro">It
seems to be better ...
<br>
The only problem now is that when i try to register "no mem for
sip_msg" appear ...
<br>
I take a look and it's said to modify PKG_MEM_POOL_SIZE value in the
config.h ...
<br>
<br>
I don't know where is this file, if it's a mysql file or whatever...
I've installed mysql from sources but i use a Solaris binary
distribution for ser (0.8.12 for Solaris)...
<br>
<br>
Could u tell me please where i can find this parameter ( it doesn't
seem to be in the mysql/include...)??
<br>
<br>
Thanks in advance
<br>
Laurent
<br>
Jan Janak wrote:
<br>
<br>
<blockquote type="cite">if (uri==myself) is correct. You SHOULD NOT use
if
<br>
(uri=~"borabora.eneirb.fr"), add alias="borabora.eneirb.fr" instead if
<br>
the condition does not match your domain properly.
<br>
<br>
Jan.
<br>
<br>
On 16-02 13:33, Kapil Dhawan wrote:
<br>
<br>
<br>
<blockquote type="cite">Hi this is because...whats your
SIP_DOMAIN.....in your ser.cfg file.....u r using
uri==myself....instead of that user uri~="borabora.enseirb.fr" what
ever ur domain name is...or a part of it
<br>
<br>
<br>
<br>
<blockquote type="cite">From: Laurent BURGY <a
class="moz-txt-link-rfc2396E" href="mailto:burgy@enseirb.fr"><burgy@enseirb.fr></a>
<br>
To: <a class="moz-txt-link-abbreviated"
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
<br>
Subject: [Serusers] mysql problems on Solaris 8
<br>
Date: Mon, 16 Feb 2004 14:24:43 +0100
<br>
<br>
Hi,
<br>
<br>
By making a symbolic link for libmysqlclient.so.10 , i think i've
solved this first problem....
<br>
But i have some difficulties for the registration process... In fact,
no one can log in and when i do a serctl moni, i don't see anything
except :
<br>
Usrloc Stats
<br>
Domain Registered Expired
<br>
'location' 0 0
<br>
<br>
And i'm sure that users' passwd are the right ones ....
<br>
In my mysql tables, everything seems to be okay and i haven't modified
a lot my configfile:
<br>
<br>
#
<br>
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
<br>
#
<br>
# simple quick-start config script
<br>
#
<br>
<br>
# ----------- global configuration parameters ------------------------
<br>
<br>
#debug=3 # debug level (cmd line: -dddddddddd)
<br>
#fork=yes
<br>
#log_stderror=no # (cmd line: -E)
<br>
<br>
debug=3
<br>
fork=no
<br>
log_stderror=yes
<br>
<br>
check_via=no # (cmd. line: -v)
<br>
dns=no # (cmd. line: -r)
<br>
rev_dns=no # (cmd. line: -R)
<br>
#port=5060
<br>
#children=4
<br>
fifo="/tmp/ser_fifo"
<br>
<br>
# ------------------ module loading ----------------------------------
<br>
<br>
# Uncomment this if you want to use SQL database#
<br>
loadmodule "/usr/local/lib/ser/modules/mysql.so"
<br>
<br>
loadmodule "/usr/local/lib/ser/modules/sl.so"
<br>
loadmodule "/usr/local/lib/ser/modules/tm.so"
<br>
loadmodule "/usr/local/lib/ser/modules/rr.so"
<br>
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
<br>
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
<br>
loadmodule "/usr/local/lib/ser/modules/registrar.so"
<br>
<br>
# Uncomment this if you want digest authentication
<br>
# mysql.so must be loaded !
<br>
loadmodule "/usr/local/lib/ser/modules/auth.so"
<br>
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
<br>
<br>
# ----------------- setting module-specific parameters ---------------
<br>
<br>
# -- usrloc params --
<br>
modparam("auth_db","db_url","mysql://ser:heslo@localhost/ser")
<br>
modparam("usrloc","db_url","mysql://ser:heslo@localhost/ser")
<br>
<br>
#modparam("usrloc", "db_mode", 0)
<br>
<br>
# Uncomment this if you want to use SQL database
<br>
# for persistent storage and comment the previous line
<br>
modparam("usrloc", "db_mode", 2)
<br>
<br>
# -- auth params --
<br>
# Uncomment if you are using auth module
<br>
#
<br>
modparam("auth_db", "calculate_ha1", yes)
<br>
#
<br>
# If you set "calculate_ha1" parameter to yes (which true in this
config),
<br>
# uncomment also the following parameter)
<br>
#
<br>
modparam("auth_db", "password_column", "password")
<br>
<br>
# -- rr params --
<br>
# add value to ;lr param to make some broken UAs happy
<br>
modparam("rr", "enable_full_lr", 1)
<br>
<br>
# ------------------------- request routing logic -------------------
<br>
<br>
# main routing logic
<br>
<br>
route{
<br>
<br>
# initial sanity checks -- messages with
<br>
# max_forwards==0, or excessively long requests
<br>
if (!mf_process_maxfwd_header("10")) {
<br>
sl_send_reply("483","Too Many Hops");
<br>
break;
<br>
};
<br>
if ( msg:len > max_len ) {
<br>
sl_send_reply("513", "Message too big");
<br>
break;
<br>
};
<br>
<br>
# we record-route all messages -- to make sure that
<br>
# subsequent messages will go through our proxy; that's
<br>
# particularly good if upstream and downstream entities
<br>
# use different transport protocol
<br>
record_route(); # loose-route processing
<br>
if (loose_route()) {
<br>
t_relay();
<br>
break;
<br>
};
<br>
<br>
# if the request is for other domain use UsrLoc
<br>
# (in case, it does not work, use the following command
<br>
# with proper names and addresses in it)
<br>
if (uri==myself) {
<br>
<br>
if (method=="REGISTER") {
<br>
<br>
# Uncomment this if you want to use digest authentication
<br>
if (!www_authorize("borabora.enseirb.fr", "subscriber")) {
<br>
www_challenge("borabora.enseirb.fr", "0");
<br>
break;
<br>
};
<br>
<br>
save("location");
<br>
break;
<br>
};
<br>
<br>
# native SIP destinations are handled using our USRLOC DB
<br>
if (!lookup("location")) {
<br>
sl_send_reply("404", "Not Found");
<br>
break;
<br>
};
<br>
};
<br>
# forward to current uri now; use stateful forwarding; that
<br>
# works reliably even if we forward from TCP to UDP
<br>
if (!t_relay()) {
<br>
sl_reply_error();
<br>
};
<br>
<br>
}
<br>
<br>
And i've tried to follow the sip.edu cookbook configuring ser....
<br>
So i can't understand.....Maybe it's obvious but i'm a bit lost...
<br>
<br>
Thanks in advance
<br>
Laurent
<br>
<br>
_______________________________________________
<br>
Serusers mailing list
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
<br>
<a class="moz-txt-link-freetext"
href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
<br>
<br>
</blockquote>
_________________________________________________________________
<br>
Think Marriage! Think BharatMatrimony.com <a
class="moz-txt-link-freetext"
href="http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74">http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74</a>
<br>
<br>
_______________________________________________
<br>
Serusers mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
<br>
<a class="moz-txt-link-freetext"
href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
<br>
<br>
</blockquote>
</blockquote>
<br>
</div>
</body>
</html>