Hi,
I have a problem with serweb. It gives this error if I
try to open the page
http://hostofmyserver/serweb/admin/index.php
Database error: pconnect(hostofmyserver, ser,
$Password) failed.
MySQL Error: ()
Session halted.
but I'm sure ser and mysql are ok because I tested
them with kphone and they worked fine. I followed the
steps at this page because I have fedora core 2
http://www.aarnet.edu.au/events/conferences/2004/apan-questnet/sipworkshop/…
Somebody can help me?
tnks
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
Hello Jesus,
Check whether the IP Address in your Ser.cfg file is correct,
If that wasn't the problem , you can download the config files
from www.onsip.org <http://www.onsip.org> ,
There are some Basic configuration files out there, for beginners
like us :-)
it worked for me ,
Good luck,
Simith
-----Original Message-----
From: Jesús M. Movilla [mailto:jmms03@tid.es]
Sent: Friday, June 10, 2005 5:38 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Problems with version SER 0.9
Hi to all,
I took the sources of SER version 0.9. and I compiled them. I installed this
SER version but when I tried to start it up I got this error:
textops - initializing
0(0) fixing /usr/local/lib/ser/modules/maxfwd.so mf_process_maxfwd_header
0(0) qm_free(0x80fbe60, 0x8130d58), called from maxfwd.c:
fixup_maxfwd_header(122)
0(0) qm_free: freeing frag. 0x8130d40 alloc'ed from cfg.lex: addstr(572)
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) qm_free(0x80fbe60, 0x8130f90), called from sl.c:
fixup_sl_send_reply(142)
0(0) qm_free: freeing frag. 0x8130f78 alloc'ed from cfg.lex: addstr(572)
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) qm_free(0x80fbe60, 0x81312d4), called from sl.c:
fixup_sl_send_reply(142)
0(0) qm_free: freeing frag. 0x81312bc alloc'ed from cfg.lex: addstr(572)
ERROR: error -478 while trying to fix configuration
0(0) qm_free(0x80fbe60, 0x813096c), called from sr_module.c:
destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130954 alloc'ed from sr_module.c:
register_module(136)
0(0) qm_free(0x80fbe60, 0x813087c), called from sr_module.c:
destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130864 alloc'ed from sr_module.c:
register_module(136)
0(0) qm_free(0x401ff000, 0x403b6400), called from ul_callback.c:
destroy_ulcb_list(75)
0(0) qm_free: freeing frag. 0x403b63e8 alloc'ed from ul_callback.c:
init_ulcb_list(50)
0(0) qm_free(0x80fbe60, 0x813078c), called from sr_module.c:
destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130774 alloc'ed from sr_module.c:
register_module(136)
0(0) qm_free(0x80fbe60, 0x813069c), called from sr_module.c:
destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130684 alloc'ed from sr_module.c:
register_module(136)
0(0) qm_free(0x80fbe60, 0x81305ac), called from sr_module.c:
destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130594 alloc'ed from sr_module.c:
register_module(136)
0(0) DEBUG: tm_shutdown : start
0(0) DEBUG: unlink_timer_lists : emptying DELETE list
0(0) DEBUG: tm_shutdown : emptying hash table
0(0) qm_free(0x401ff000, 0x40236070), called from h_table.c:
free_hash_table(309)
0(0) qm_free: freeing frag. 0x40236058 alloc'ed from h_table.c:
init_hash_table(323)
0(0) DEBUG: tm_shutdown : releasing timers
0(0) qm_free(0x401ff000, 0x403b60e0), called from timer.c:
free_timer_table(551)
0(0) qm_free: freeing frag. 0x403b60c8 alloc'ed from timer.c:
tm_init_timers(515)
0(0) DEBUG: tm_shutdown : removing semaphores
0(0) qm_free(0x401ff000, 0x403b60a0), called from lock.c: lock_cleanup(205)
0(0) qm_free: freeing frag. 0x403b6088 alloc'ed from lock.c:
lock_initialize(99)
0(0) DEBUG: tm_shutdown : destroying tmcb lists
0(0) qm_free(0x401ff000, 0x403b63c8), called from t_hooks.c:
destroy_tmcb_lists(83)
0(0) qm_free: freeing frag. 0x403b63b0 alloc'ed from t_hooks.c:
init_tmcb_lists(58)
0(0) qm_free(0x401ff000, 0x403b6368), called from t_stats.c:
free_tm_stats(223)
0(0) qm_free: freeing frag. 0x403b6350 alloc'ed from t_stats.c:
init_tm_stats(185)
0(0) qm_free(0x401ff000, 0x403b6308), called from t_stats.c:
free_tm_stats(225)
0(0) qm_free: freeing frag. 0x403b62f0 alloc'ed from t_stats.c:
init_tm_stats(178)
0(0) qm_free(0x401ff000, 0x403b62a8), called from t_stats.c:
free_tm_stats(227)
0(0) qm_free: freeing frag. 0x403b6290 alloc'ed from t_stats.c:
init_tm_stats(171)
0(0) qm_free(0x401ff000, 0x403b6250), called from t_stats.c:
free_tm_stats(228)
0(0) qm_free: freeing frag. 0x403b6238 alloc'ed from t_stats.c:
init_tm_stats(163)
0(0) DEBUG: tm_shutdown : done
0(0) qm_free(0x80fbe60, 0x81304bc), called from sr_module.c:
destroy_modules(357)
0(0) qm_free: freeing frag. 0x81304a4 alloc'ed from sr_module.c:
register_module(136)
0(0) qm_free(0x401ff000, 0x40235bfc), called from sl_stats.c:
sl_stats_destroy(164)
0(0) qm_free: freeing frag. 0x40235be4 alloc'ed from sl_stats.c:
init_sl_stats(179)
0(0) qm_free(0x401ff000, 0x4023603c), called from sl_funcs.c:
sl_shutdown(99)
0(0) qm_free: freeing frag. 0x40236024 alloc'ed from sl_funcs.c:
sl_startup(82)
0(0) qm_free(0x80fbe60, 0x81303cc), called from sr_module.c:
destroy_modules(357)
0(0) qm_free: freeing frag. 0x81303b4 alloc'ed from sr_module.c:
register_module(136)
0(0) qm_free(0x401ff000, 0x40233474), called from tcp_main.c:
destroy_tcp(1367)
0(0) qm_free: freeing frag. 0x4023345c alloc'ed from tcp_main.c:
init_tcp(1303)
0(0) qm_free(0x401ff000, 0x402334dc), called from tcp_main.c:
destroy_tcp(1371)
0(0) qm_free: freeing frag. 0x402334c4 alloc'ed from tcp_main.c:
init_tcp(1326)
0(0) qm_free(0x401ff000, 0x4023450c), called from tcp_main.c:
destroy_tcp(1375)
0(0) qm_free: freeing frag. 0x402344f4 alloc'ed from tcp_main.c:
init_tcp(1338)
0(0) qm_free(0x401ff000, 0x402334a8), called from tcp_main.c:
destroy_tcp(1380)
0(0) qm_free: freeing frag. 0x40233490 alloc'ed from tcp_main.c:
init_tcp(1315)
0(0) qm_free(0x401ff000, 0x40233440), called from timer.c:
destroy_timer(80)
0(0) qm_free: freeing frag. 0x40233428 alloc'ed from timer.c:
init_timer(57)
0(0) qm_free(0x80fbe60, 0x8134104), called from timer.c: destroy_timer(89)
0(0) qm_free: freeing frag. 0x81340ec alloc'ed from timer.c:
register_timer(104)
0(0) qm_free(0x80fbe60, 0x8133fbc), called from timer.c: destroy_timer(89)
0(0) qm_free: freeing frag. 0x8133fa4 alloc'ed from timer.c:
register_timer(104)
0(0) qm_free(0x80fbe60, 0x81344cc), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81344b4 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813448c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134474 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813444c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134434 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813440c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81343f4 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x81343cc), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81343b4 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813438c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134374 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813434c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134334 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8134044), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x813402c alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133f7c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133f64 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133f3c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133f24 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133efc), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133ee4 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133ebc), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133ea4 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133d3c), called from unixsock_server.c:
close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133d24 alloc'ed from unixsock_server.c:
unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813430c), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81342f4 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81342cc), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81342b4 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813428c), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134274 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813424c), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134234 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813420c), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81341f4 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81341cc), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81341b4 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813418c), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134174 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8134004), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133fec alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133e7c), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133e64 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133e3c), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133e24 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133dfc), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133de4 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133dbc), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133da4 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133cfc), called from fifo_server.c:
destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133ce4 alloc'ed from fifo_server.c:
register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81340c4), called from script_cb.c:
destroy_script_cb(81)
0(0) qm_free: freeing frag. 0x81340ac alloc'ed from script_cb.c:
register_script_cb(53)
0(0) qm_free(0x80fbe60, 0x8133d7c), called from script_cb.c:
destroy_script_cb(81)
0(0) qm_free: freeing frag. 0x8133d64 alloc'ed from script_cb.c:
register_script_cb(53)
0(0) qm_free(0x80fbe60, 0x8134084), called from script_cb.c:
destroy_script_cb(83)
0(0) qm_free: freeing frag. 0x813406c alloc'ed from script_cb.c:
register_script_cb(53)
0(0) qm_free(0x401ff000, 0x4023553c), called from main.c: cleanup(373)
0(0) qm_free: freeing frag. 0x40235524 alloc'ed from main.c: main(1534)
0(2180) shm_mem_destroy
0(2180) destroying the shared memory lock
The ser.cfg that I have used is the same included in the compilation except
for the debugs to get activated. Next I include it in case you see something
rare:
Any help or idea is very very welcome :-)
Thank you very much
Jesús
**********************************************************************
#
# $Id: ser.cfg,v 1.25 2004/11/30 16:28:24 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=7 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode */
fork=no
log_stderror=yes
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
#loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
#loadmodule "/usr/local/lib/ser/modules/auth.so"
#loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
#modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (msg:len >= max_len ) {
sl_send_reply("513", "Message too big");
break;
};
if (src_ip==193.175.135.0/24){
force_send_socket(smaug:5080);
forward(193.175.135.179);
break;
}
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
______________________________________________________________________
This email has been scanned via a message filtering facility.
If you have any issues with your email, please contact the IT Dept.
Hi to all,
I took the sources of SER version 0.9. and I compiled them. I installed this SER version but when I tried to start it up I got this error:
textops - initializing
0(0) fixing /usr/local/lib/ser/modules/maxfwd.so mf_process_maxfwd_header
0(0) qm_free(0x80fbe60, 0x8130d58), called from maxfwd.c: fixup_maxfwd_header(122)
0(0) qm_free: freeing frag. 0x8130d40 alloc'ed from cfg.lex: addstr(572)
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) qm_free(0x80fbe60, 0x8130f90), called from sl.c: fixup_sl_send_reply(142)
0(0) qm_free: freeing frag. 0x8130f78 alloc'ed from cfg.lex: addstr(572)
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) qm_free(0x80fbe60, 0x81312d4), called from sl.c: fixup_sl_send_reply(142)
0(0) qm_free: freeing frag. 0x81312bc alloc'ed from cfg.lex: addstr(572)
ERROR: error -478 while trying to fix configuration
0(0) qm_free(0x80fbe60, 0x813096c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130954 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x80fbe60, 0x813087c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130864 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x401ff000, 0x403b6400), called from ul_callback.c: destroy_ulcb_list(75)
0(0) qm_free: freeing frag. 0x403b63e8 alloc'ed from ul_callback.c: init_ulcb_list(50)
0(0) qm_free(0x80fbe60, 0x813078c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130774 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x80fbe60, 0x813069c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130684 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x80fbe60, 0x81305ac), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130594 alloc'ed from sr_module.c: register_module(136)
0(0) DEBUG: tm_shutdown : start
0(0) DEBUG: unlink_timer_lists : emptying DELETE list
0(0) DEBUG: tm_shutdown : emptying hash table
0(0) qm_free(0x401ff000, 0x40236070), called from h_table.c: free_hash_table(309)
0(0) qm_free: freeing frag. 0x40236058 alloc'ed from h_table.c: init_hash_table(323)
0(0) DEBUG: tm_shutdown : releasing timers
0(0) qm_free(0x401ff000, 0x403b60e0), called from timer.c: free_timer_table(551)
0(0) qm_free: freeing frag. 0x403b60c8 alloc'ed from timer.c: tm_init_timers(515)
0(0) DEBUG: tm_shutdown : removing semaphores
0(0) qm_free(0x401ff000, 0x403b60a0), called from lock.c: lock_cleanup(205)
0(0) qm_free: freeing frag. 0x403b6088 alloc'ed from lock.c: lock_initialize(99)
0(0) DEBUG: tm_shutdown : destroying tmcb lists
0(0) qm_free(0x401ff000, 0x403b63c8), called from t_hooks.c: destroy_tmcb_lists(83)
0(0) qm_free: freeing frag. 0x403b63b0 alloc'ed from t_hooks.c: init_tmcb_lists(58)
0(0) qm_free(0x401ff000, 0x403b6368), called from t_stats.c: free_tm_stats(223)
0(0) qm_free: freeing frag. 0x403b6350 alloc'ed from t_stats.c: init_tm_stats(185)
0(0) qm_free(0x401ff000, 0x403b6308), called from t_stats.c: free_tm_stats(225)
0(0) qm_free: freeing frag. 0x403b62f0 alloc'ed from t_stats.c: init_tm_stats(178)
0(0) qm_free(0x401ff000, 0x403b62a8), called from t_stats.c: free_tm_stats(227)
0(0) qm_free: freeing frag. 0x403b6290 alloc'ed from t_stats.c: init_tm_stats(171)
0(0) qm_free(0x401ff000, 0x403b6250), called from t_stats.c: free_tm_stats(228)
0(0) qm_free: freeing frag. 0x403b6238 alloc'ed from t_stats.c: init_tm_stats(163)
0(0) DEBUG: tm_shutdown : done
0(0) qm_free(0x80fbe60, 0x81304bc), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x81304a4 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x401ff000, 0x40235bfc), called from sl_stats.c: sl_stats_destroy(164)
0(0) qm_free: freeing frag. 0x40235be4 alloc'ed from sl_stats.c: init_sl_stats(179)
0(0) qm_free(0x401ff000, 0x4023603c), called from sl_funcs.c: sl_shutdown(99)
0(0) qm_free: freeing frag. 0x40236024 alloc'ed from sl_funcs.c: sl_startup(82)
0(0) qm_free(0x80fbe60, 0x81303cc), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x81303b4 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x401ff000, 0x40233474), called from tcp_main.c: destroy_tcp(1367)
0(0) qm_free: freeing frag. 0x4023345c alloc'ed from tcp_main.c: init_tcp(1303)
0(0) qm_free(0x401ff000, 0x402334dc), called from tcp_main.c: destroy_tcp(1371)
0(0) qm_free: freeing frag. 0x402334c4 alloc'ed from tcp_main.c: init_tcp(1326)
0(0) qm_free(0x401ff000, 0x4023450c), called from tcp_main.c: destroy_tcp(1375)
0(0) qm_free: freeing frag. 0x402344f4 alloc'ed from tcp_main.c: init_tcp(1338)
0(0) qm_free(0x401ff000, 0x402334a8), called from tcp_main.c: destroy_tcp(1380)
0(0) qm_free: freeing frag. 0x40233490 alloc'ed from tcp_main.c: init_tcp(1315)
0(0) qm_free(0x401ff000, 0x40233440), called from timer.c: destroy_timer(80)
0(0) qm_free: freeing frag. 0x40233428 alloc'ed from timer.c: init_timer(57)
0(0) qm_free(0x80fbe60, 0x8134104), called from timer.c: destroy_timer(89)
0(0) qm_free: freeing frag. 0x81340ec alloc'ed from timer.c: register_timer(104)
0(0) qm_free(0x80fbe60, 0x8133fbc), called from timer.c: destroy_timer(89)
0(0) qm_free: freeing frag. 0x8133fa4 alloc'ed from timer.c: register_timer(104)
0(0) qm_free(0x80fbe60, 0x81344cc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81344b4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813448c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134474 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813444c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134434 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813440c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81343f4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x81343cc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81343b4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813438c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134374 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813434c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134334 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8134044), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x813402c alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133f7c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133f64 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133f3c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133f24 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133efc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133ee4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133ebc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133ea4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133d3c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133d24 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813430c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81342f4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81342cc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81342b4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813428c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134274 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813424c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134234 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813420c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81341f4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81341cc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81341b4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813418c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134174 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8134004), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133fec alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133e7c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133e64 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133e3c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133e24 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133dfc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133de4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133dbc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133da4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133cfc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133ce4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81340c4), called from script_cb.c: destroy_script_cb(81)
0(0) qm_free: freeing frag. 0x81340ac alloc'ed from script_cb.c: register_script_cb(53)
0(0) qm_free(0x80fbe60, 0x8133d7c), called from script_cb.c: destroy_script_cb(81)
0(0) qm_free: freeing frag. 0x8133d64 alloc'ed from script_cb.c: register_script_cb(53)
0(0) qm_free(0x80fbe60, 0x8134084), called from script_cb.c: destroy_script_cb(83)
0(0) qm_free: freeing frag. 0x813406c alloc'ed from script_cb.c: register_script_cb(53)
0(0) qm_free(0x401ff000, 0x4023553c), called from main.c: cleanup(373)
0(0) qm_free: freeing frag. 0x40235524 alloc'ed from main.c: main(1534)
0(2180) shm_mem_destroy
0(2180) destroying the shared memory lock
The ser.cfg that I have used is the same included in the compilation except for the debugs to get activated. Next I include it in case you see something rare:
Any help or idea is very very welcome :-)
Thank you very much
Jesús
**********************************************************************
#
# $Id: ser.cfg,v 1.25 2004/11/30 16:28:24 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=7 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode */
fork=no
log_stderror=yes
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
#loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
#loadmodule "/usr/local/lib/ser/modules/auth.so"
#loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
#modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (msg:len >= max_len ) {
sl_send_reply("513", "Message too big");
break;
};
if (src_ip==193.175.135.0/24){
force_send_socket(smaug:5080);
forward(193.175.135.179);
break;
}
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
Hi all,
I've ser running, and I want to log calls into a dbtext database.
I wrotte an empty table with the same fields as in the acc table
generated for mysql.
When ser is running, I can see that the acc table loaded in memory is
updated, but not my acc table file.
The file is updated only once ser is stopped.
I'd like to know if it's possible to put the data into the acc table
file while ser is running, and how to do that?
Thanks.
Best Regards.
Xavier.
Hi,
what would be a suggested way of creating huge batches of users at
once? serctl is obviously not usable for that and simple insertion
in in the database would miss too much of those IDs which serctl
creates, right? Also, this user-creation should create RPIDs and
aliases as well as URI-entries.
Brgds,
Gerd
to be precise
a) how do I go about combining two AVPs ?
b) how can I change the value (string manip, to be precise) the value of
an AVP?
c) how can I do (b), based on the content of a different AVP?
Ideally, the answer isn't "write the code to do this"
The <hack>method</hack> that I came up with was
a) write the AVPs I care about to a custom header
b) resend the request to myself, and then use 'subst' (or equivalent
textops command)
needless to say, urghk.
anybody?
cheers
Dear All,
I am using 0.8.14 and I managed to get acc modules to write to MySQL,
but it seems that the timestamp field is blank.
Would the acc module fill the timestamp or did I missed something?
Thank for any help available.
Regards,
TC Chan
Than you for your suggestions.
I wil try it and I will tell you. Now I am trying to install the 0.9.0
version which also includes a publish.c class in the pa module ;-). Maybe, i
will be luckier :-).
But I found problems when starting with mysql.so module because this module
was not compiled when executed "make bin" (I removed the mysql from the
exclude_modules).
Anyway I will tell you later. So kind for your answers
Hope I can help you too in the future
Regards
Jesús
----- Original Message -----
From: "Samuel Osorio Calvo" <samuel.osorio(a)nl.thalesgroup.com>
To: <jlbravo(a)acotelsa.com>; <jamey.hicks(a)hp.com>; <jmms03(a)tid.es>
Cc: <serusers(a)lists.iptel.org>
Sent: Friday, June 10, 2005 10:36 AM
Subject: Re: [Serusers] SER with pa module including publish (ERROR)
Have you checked the format of the config file?? It might be in DOS format
and SER is not able to load it. Just to be sure you can use dos2unix command
(I had some problem with some version in the sense that this command
modified the permissions of the file upon converting....)
Hope it helps,
Samuel.
Unclassified.
>>> "Jesús M. Movilla" <jmms03(a)tid.es> 06/10/05 08:22AM >>>
Hi again,
I tried to startup SER deleting the first line of ser.cfg but it didn't work
(similar problem). However I installed the 0.8.14 SER version and there was
no problem in starting up the SER with the previous failing ser.cfg.
¿any other idea?
Thanks for your answers
Jesús
P.D.- The ser.cf used is included down here. I put comments on the proper
function (handle_subscription, for example) of 0.10. pa module version to
start it up properly with 0.8.14 version.
####################################################################
# global configuration parameters a
debug=7 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=yes # (cmd line: -E)
#memlog=5 # memory debug log level
#log_facility=LOG_LOCAL0 # sets the facility used for logging (see
syslog(3))
/* Uncomment these lines to enter debugging mode */
fork=no
log_stderror=yes
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
#user=ser
#group=ser
#fifo_user=ser # owner of the ser fifo
#fifo_group=ser
#fifo_mode=0660 # fifo's permissions
#disable_core=yes #disables core dumping
#open_fd_limit=1024 # sets the open file descriptors limit
#mhomed=yes # usefull for multihomed hosts, small performance penalty
#disable_tcp=yes
#tcp_accept_aliases=yes # accepts the tcp alias via option (see NEWS)
#
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/pa.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# -- pa params --
#
#modparam("pa", "default_expires", 3600) #Set default_expires parameter
#modparam("pa", "default_priority_percentage", 50) #Set
default_priority_percentage parameter
#modparam("pa", "db_url", "mysql:ser:heslo@localhost/ser") #Set db_url
parameter
#modparam("pa", "pa_domain", "hi.inet") #Set pa_domain parameter
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (msg:len >= max_len ) {
sl_send_reply("513", "Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
#if (!uri=~"hi.inet" {
# mark routing logic in request
# append_hf("P-hint: outbound\r\n");
# route(1);
# break;
#};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri=~"hi.inet") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("hi.inet", "subscriber")) {
www_challenge("hi.inet", "0");
break;
};
save("location");
break;
};
lookup("aliases");
if (!uri=~"hi.inet") {
append_hf("P-hint: outbound alias\r\n");
route(1);
break;
};
if (method=="PUBLISH") {
if (!t_newtran()) {
log(1, "newtran error\n");
sl_reply_error();
};
#handle_publish("registrar");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers