[Serdev] running ser 0.8.13-dev-23

Mario Kolberg mko at cs.stir.ac.uk
Wed Jan 28 16:10:22 UTC 2004


Hi,

I'm trying to run ser 0.8.13-dev-23-merged on Solaris 8. However, for 
some reason it just crashes and even in the log I cannot see anything 
obvious which is wrong.

I'm able to run 0.8.11 on the same machine. But even with the old 
version I had some trouble. For instance setting the usrloc level to 2 
never worked.

However, now with the new version, I cannot use usrloc, auth_db, nor 
cpl-c. I can successfully run the same version of ser on Redhat 8. But 
on Solaris it doesn't go. If I don't use these modules, ser is running ok.

I attach the config file and also a log.

I'd appreciate any hints or pointers what to change or to look out for.

Many thanks,
Mario


-- 
Mario Kolberg                   phone: +44 (0)1786 46 7440
Lecturer in Computing Science   fax  : +44 (0)1786 46 4551
                                 email: mko at cs.stir.ac.uk

Department of Computing Science and Mathematics
University of Stirling
Stirling FK9 4LA
Scotland, UK


-- 
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA.  Privileged/Confidential Information may
be contained in this message.  If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.  In such case, you should destroy this
message and kindly notify the sender by reply email.  Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind.

-------------- next part --------------
version: ser 0.8.13-dev-23-merged (sparc64/solaris)
flags: STATS:Off, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.174 2003/11/26 23:43:59 andrei Exp $
main.c compiled on 15:34:55 Jan 28 2004 with gcc 2.95

ser -f ../etc/ser.cfg
 0(12519) malloc ccb40 size 34 end ccb62
 0(12519) malloc ccb78 size 22 end ccb8e
 0(12519) malloc ccb98 size 22 end ccbae
 0(12519) malloc c5b00 size 16 end c5b10
 0(12519) malloc c5b18 size 16 end c5b28
 0(12519) malloc ccbb8 size 22 end ccbce
 0(12519) malloc c5b30 size 14 end c5b3e
 0(12519) malloc c5b48 size 14 end c5b56
 0(12519) malloc c5b60 size 16 end c5b70
 0(12519) malloc c5b78 size 16 end c5b88
 0(12519) malloc c5b90 size 14 end c5b9e
 0(12519) malloc cd378 size 42 end cd3a2
 0(12519) loading module /home/mko/sip_router/lib/modules/mysql.so
 0(12519) malloc c5ba8 size 16 end c5bb8
 0(12519) malloc cd3b0 size 39 end cd3d7
 0(12519) loading module /home/mko/sip_router/lib/modules/sl.so
 0(12519) malloc c5bc0 size 16 end c5bd0
 0(12519) malloc cd3e0 size 39 end cd407
 0(12519) loading module /home/mko/sip_router/lib/modules/tm.so
 0(12519) malloc c5bd8 size 16 end c5be8
 0(12519) malloc cd410 size 39 end cd437
 0(12519) loading module /home/mko/sip_router/lib/modules/rr.so
 0(12519) malloc c5bf0 size 16 end c5c00
 0(12519) malloc cd440 size 43 end cd46b
 0(12519) loading module /home/mko/sip_router/lib/modules/maxfwd.so
 0(12519) malloc c5c08 size 16 end c5c18
 0(12519) malloc cd478 size 43 end cd4a3
 0(12519) loading module /home/mko/sip_router/lib/modules/usrloc.so
 0(12519) malloc c5c20 size 16 end c5c30
 0(12519) malloc cd4b0 size 46 end cd4de
 0(12519) loading module /home/mko/sip_router/lib/modules/registrar.so
 0(12519) malloc c5c38 size 16 end c5c48
 0(12519) malloc cd4e8 size 41 end cd511
 0(12519) loading module /home/mko/sip_router/lib/modules/auth.so
 0(12519) malloc c5c50 size 16 end c5c60
 0(12519) malloc cd520 size 44 end cd54c
 0(12519) loading module /home/mko/sip_router/lib/modules/auth_db.so
 0(12519) malloc c5c68 size 16 end c5c78
 0(12519) malloc c5170 size 7 end c5177
 0(12519) malloc c5180 size 8 end c5188
 0(12519) malloc c5c80 size 9 end c5c89
 0(12519) set_mod_param_regex: usrloc matches module usrloc
 0(12519) set_mod_param_regex: found <db_mode> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12519) free c5c80
 0(12519) malloc c51c0 size 8 end c51c8
 0(12519) malloc c5c80 size 14 end c5c8e
 0(12519) malloc c5c98 size 10 end c5ca2
 0(12519) set_mod_param_regex: auth_db matches module auth_db
 0(12519) set_mod_param_regex: found <calculate_ha1> in module auth_db
[/home/mko/sip_router/lib/modules/auth_db.so]
 0(12519) free c5c98
 0(12519) malloc c51e0 size 8 end c51e8
 0(12519) malloc c5c98 size 16 end c5ca8
 0(12519) malloc c5cb0 size 9 end c5cb9
 0(12519) malloc c5cc8 size 10 end c5cd2
 0(12519) set_mod_param_regex: auth_db matches module auth_db
 0(12519) set_mod_param_regex: found <password_column> in module auth_db
[/home/mko/sip_router/lib/modules/auth_db.so]
 0(12519) free c5cc8
 0(12519) malloc c5210 size 3 end c5213
 0(12519) malloc c5cc8 size 15 end c5cd7
 0(12519) malloc c51a0 size 5 end c51a5
 0(12519) set_mod_param_regex: rr matches module rr
 0(12519) set_mod_param_regex: found <enable_full_lr> in module rr
[/home/mko/sip_router/lib/modules/rr.so]
 0(12519) free c51a0
 0(12519) malloc c6118 size 25 end c6131
 0(12519) malloc c5230 size 3 end c5233
 0(12519) find_export: found <mf_process_maxfwd_header> in module
maxfwd_module [/home/mko/sip_router/lib/modules/maxfwd.so]
 0(12519) malloc c6140 size 32 end c6160
 0(12519) malloc ccbd8 size 20 end ccbec
 0(12519) malloc ccbf8 size 20 end ccc0c
 0(12519) malloc c5cf8 size 14 end c5d06
 0(12519) malloc c5240 size 4 end c5244
 0(12519) malloc c5d10 size 14 end c5d1e
 0(12519) find_export: found <sl_send_reply> in module sl_module
[/home/mko/sip_router/lib/modules/sl.so]
 0(12519) malloc c6168 size 32 end c6188
 0(12519) malloc c6190 size 32 end c61b0
 0(12519) malloc c61b8 size 32 end c61d8
 0(12519) malloc ccc18 size 20 end ccc2c
 0(12519) malloc c5d28 size 14 end c5d36
 0(12519) malloc c5200 size 4 end c5204
 0(12519) malloc c5d40 size 16 end c5d50
[/home/mko/sip_router/lib/modules/sl.so]
 0(12519) malloc c61e0 size 32 end c6200
 0(12519) malloc c6208 size 32 end c6228
 0(12519) malloc c6230 size 32 end c6250
 0(12519) malloc c5d58 size 13 end c5d65
 0(12519) find_export: found <record_route> in module rr
[/home/mko/sip_router/lib/modules/rr.so]
 0(12519) malloc c6258 size 32 end c6278
 0(12519) malloc c5d70 size 12 end c5d7c
 0(12519) find_export: found <loose_route> in module rr
[/home/mko/sip_router/lib/modules/rr.so]
 0(12519) malloc c6280 size 32 end c62a0
 0(12519) malloc ccc38 size 20 end ccc4c
 0(12519) malloc c5220 size 8 end c5228
 0(12519) find_export: found <t_relay> in module tm
[/home/mko/sip_router/lib/modules/tm.so]
 0(12519) malloc c62a8 size 32 end c62c8
 0(12519) malloc c62d0 size 32 end c62f0
 0(12519) malloc c62f8 size 32 end c6318
 0(12519) malloc ccc58 size 20 end ccc6c
 0(12519) malloc c5d88 size 9 end c5d91
 0(12519) malloc ccc78 size 20 end ccc8c
 0(12519) malloc c51a0 size 5 end c51a5
 0(12519) malloc c5da0 size 9 end c5da9
 0(12519) find_export: found <save> in module registrar
[/home/mko/sip_router/lib/modules/registrar.so]
 0(12519) malloc c6320 size 32 end c6340
 0(12519) malloc c6348 size 32 end c6368
 0(12519) malloc c6370 size 32 end c6390
 0(12519) malloc c5250 size 7 end c5257
 0(12519) malloc c5db8 size 9 end c5dc1
 0(12519) find_export: found <lookup> in module registrar
[/home/mko/sip_router/lib/modules/registrar.so]
 0(12519) malloc c6398 size 32 end c63b8
 0(12519) malloc ccc98 size 20 end cccac
 0(12519) malloc cccb8 size 20 end ccccc
 0(12519) malloc c5dd0 size 14 end c5dde
 0(12519) malloc c5260 size 4 end c5264
 0(12519) malloc c5de8 size 10 end c5df2
 0(12519) find_export: found <sl_send_reply> in module sl_module
[/home/mko/sip_router/lib/modules/sl.so]
 0(12519) malloc c63c0 size 32 end c63e0
 0(12519) malloc c63e8 size 32 end c6408
 0(12519) malloc c6410 size 32 end c6430
 0(12519) malloc c6438 size 32 end c6458
 0(12519) malloc c5270 size 8 end c5278
 0(12519) find_export: found <t_relay> in module tm
[/home/mko/sip_router/lib/modules/tm.so]
 0(12519) malloc c6460 size 32 end c6480
 0(12519) malloc cccd8 size 20 end cccec
 0(12519) malloc cccf8 size 20 end ccd0c
 0(12519) malloc c5e00 size 15 end c5e0f
[/home/mko/sip_router/lib/modules/sl.so]
 0(12519) malloc c6488 size 32 end c64a8
 0(12519) malloc c64b0 size 32 end c64d0
 0(12519) routing table 0:
 0(12519) if ( 0(12519) NOT(  0(12519)  external_module_call( 0(12519)
f_ptr<fcef0fcc> 0(12519) , "10" 0(12519) );  0(12519)
external_module_call( 0(12519) f_ptr<fcef0fcc> 0(12519) , "10" 0(12519)
);  0(12519)  ) 0(12519) ) { 0(12519)  external_module_call( 0(12519)
f_ptr<fcf9185c> 0(12519) , "483" 0(12519) , "Too Many Hops" 0(12519) );
0(12519) drop( 0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519)
};  0(12519) if ( 0(12519) UNKNOWN 0(12519) <UNKNOWN> 0(12519) 65535
0(12519) ) { 0(12519)  external_module_call( 0(12519) f_ptr<fcf9185c>
0(12519) , "513" 0(12519) , "Message too big" 0(12519) );  0(12519)
drop( 0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519) };
0(12519)  external_module_call( 0(12519) f_ptr<fcf140d0> 0(12519) );
0(12519) if ( 0(12519)  external_module_call( 0(12519) f_ptr<fcf110d0>
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcf110d0>
0(12519) );  0(12519) ) { 0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );
0(12519) } else { 0(12519) };  0(12519) if ( 0(12519) uri 0(12519) ==
0(12519) _myself_ 0(12519) ) { 0(12519) if ( 0(12519) method 0(12519) ==
0(12519) "REGISTER" 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcea2bac> 0(12519) , "location" 0(12519) );  0(12519)
drop( 0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519) };
0(12519) if ( 0(12519) NOT(  0(12519)  external_module_call( 0(12519)
f_ptr<fcea1bb8> 0(12519) , "location" 0(12519) );  0(12519)
external_module_call( 0(12519) f_ptr<fcea1bb8> 0(12519) , "location"
0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcf9185c> 0(12519) , "404" 0(12519) , "Not Found"
0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );  0(12519) }
else { 0(12519) };  0(12519) } else { 0(12519) };  0(12519) if (
0(12519) NOT(  0(12519)  external_module_call( 0(12519) f_ptr<fcf4ea10>
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcf4ea10>
0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcf91878> 0(12519) );  0(12519) } else { 0(12519) };
0(12519) if ( 0(12519) UNKNOWN 0(12519) <UNKNOWN> 0(12519) 65535
0(12519) ) { 0(12519)  external_module_call( 0(12519) f_ptr<fcf9185c>
0(12519) , "513" 0(12519) , "Message too big" 0(12519) );  0(12519)
drop( 0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519) };
0(12519)  external_module_call( 0(12519) f_ptr<fcf140d0> 0(12519) );
0(12519) if ( 0(12519)  external_module_call( 0(12519) f_ptr<fcf110d0>
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcf110d0>
0(12519) );  0(12519) ) { 0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );
0(12519) } else { 0(12519) };  0(12519) if ( 0(12519) uri 0(12519) ==
0(12519) _myself_ 0(12519) ) { 0(12519) if ( 0(12519) method 0(12519) ==
0(12519) "REGISTER" 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcea2bac> 0(12519) , "location" 0(12519) );  0(12519)
drop( 0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519) };
0(12519) if ( 0(12519) NOT(  0(12519)  external_module_call( 0(12519)
f_ptr<fcea1bb8> 0(12519) , "location" 0(12519) );  0(12519)
external_module_call( 0(12519) f_ptr<fcea1bb8> 0(12519) , "location"
0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcf9185c> 0(12519) , "404" 0(12519) , "Not Found"
0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );  0(12519) }
else { 0(12519) };  0(12519) } else { 0(12519) };  0(12519) if (
0(12519) NOT(  0(12519)  external_module_call( 0(12519) f_ptr<fcf4ea10>
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcf4ea10>
0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcf91878> 0(12519) );  0(12519) } else { 0(12519) };
0(12519)  external_module_call( 0(12519) f_ptr<fcf140d0> 0(12519) );
0(12519) if ( 0(12519)  external_module_call( 0(12519) f_ptr<fcf110d0>
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcf110d0>
0(12519) );  0(12519) ) { 0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519) drop(
0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519) };  0(12519) if
( 0(12519) uri 0(12519) == 0(12519) _myself_ 0(12519) ) { 0(12519) if (
0(12519) method 0(12519) == 0(12519) "REGISTER" 0(12519) ) { 0(12519)
external_module_call( 0(12519) f_ptr<fcea2bac> 0(12519) , "location"
0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );  0(12519) }
else { 0(12519) };  0(12519) if ( 0(12519) NOT(  0(12519)
external_module_call( 0(12519) f_ptr<fcea1bb8> 0(12519) , "location"
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcea1bb8>
0(12519) , "location" 0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)
external_module_call( 0(12519) f_ptr<fcf9185c> 0(12519) , "404" 0(12519)
, "Not Found" 0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );
0(12519) } else { 0(12519) };  0(12519) } else { 0(12519) };  0(12519)
if ( 0(12519) NOT(  0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)
external_module_call( 0(12519) f_ptr<fcf91878> 0(12519) );  0(12519) }
else { 0(12519) };  0(12519) if ( 0(12519)  external_module_call(
0(12519) f_ptr<fcf110d0> 0(12519) );  0(12519)  external_module_call(
0(12519) f_ptr<fcf110d0> 0(12519) );  0(12519) ) { 0(12519)
external_module_call( 0(12519) f_ptr<fcf4ea10> 0(12519) );  0(12519)
drop( 0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519) };
0(12519) if ( 0(12519) uri 0(12519) == 0(12519) _myself_ 0(12519) ) {
0(12519) if ( 0(12519) method 0(12519) == 0(12519) "REGISTER" 0(12519) )
{ 0(12519)  external_module_call( 0(12519) f_ptr<fcea2bac> 0(12519) ,
"location" 0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );
0(12519) } else { 0(12519) };  0(12519) if ( 0(12519) NOT(  0(12519)
external_module_call( 0(12519) f_ptr<fcea1bb8> 0(12519) , "location"
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcea1bb8>
0(12519) , "location" 0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)
external_module_call( 0(12519) f_ptr<fcf9185c> 0(12519) , "404" 0(12519)
, "Not Found" 0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );
0(12519) } else { 0(12519) };  0(12519) } else { 0(12519) };  0(12519)
if ( 0(12519) NOT(  0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)
external_module_call( 0(12519) f_ptr<fcf91878> 0(12519) );  0(12519) }
else { 0(12519) };  0(12519) if ( 0(12519) uri 0(12519) == 0(12519)
_myself_ 0(12519) ) { 0(12519) if ( 0(12519) method 0(12519) == 0(12519)
"REGISTER" 0(12519) ) { 0(12519)  external_module_call( 0(12519)
f_ptr<fcea2bac> 0(12519) , "location" 0(12519) );  0(12519) drop(
0(12519) type<0> 0(12519) );  0(12519) } else { 0(12519) };  0(12519) if
( 0(12519) NOT(  0(12519)  external_module_call( 0(12519)
f_ptr<fcea1bb8> 0(12519) , "location" 0(12519) );  0(12519)
external_module_call( 0(12519) f_ptr<fcea1bb8> 0(12519) , "location"
0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcf9185c> 0(12519) , "404" 0(12519) , "Not Found"
0(12519) );  0(12519) drop( 0(12519) type<0> 0(12519) );  0(12519) }
else { 0(12519) };  0(12519) } else { 0(12519) };  0(12519) if (
0(12519) NOT(  0(12519)  external_module_call( 0(12519) f_ptr<fcf4ea10>
0(12519) );  0(12519)  external_module_call( 0(12519) f_ptr<fcf4ea10>
0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)  external_module_call(
0(12519) f_ptr<fcf91878> 0(12519) );  0(12519) } else { 0(12519) };
0(12519) if ( 0(12519) NOT(  0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519)  external_module_call( 0(12519)
f_ptr<fcf4ea10> 0(12519) );  0(12519)  ) 0(12519) ) { 0(12519)
external_module_call( 0(12519) f_ptr<fcf91878> 0(12519) );  0(12519) }
else { 0(12519) };  0(12519) 
0(12519) malloc cd558 size 320 end cd698
 0(12519) free cd558
 0(12519) malloc cd8a0 size 640 end cdb20
 0(12519) malloc cd558 size 88 end cd5b0
 0(12519) malloc c5e18 size 10 end c5e22
 0(12519) malloc cd5b8 size 88 end cd610
 0(12519) malloc c5e30 size 16 end c5e40
 0(12519) free cd8a0
 0(12519) malloc cd8a0 size 320 end cd9e0
 0(12519) free cd8a0
 0(12519) malloc cd8a0 size 640 end cdb20
 0(12519) malloc cd618 size 88 end cd670
 0(12519) malloc c5e48 size 10 end c5e52
 0(12519) malloc cd678 size 88 end cd6d0
 0(12519) malloc c5e60 size 16 end c5e70
 0(12519) free cd8a0
 0(12519) malloc cd8a0 size 320 end cd9e0
 0(12519) free cd8a0
 0(12519) malloc cd8a0 size 640 end cdb20
 0(12519) free cd8a0
 0(12519) malloc cd8a0 size 320 end cd9e0
 0(12519) free cd8a0
 0(12519) malloc cd8a0 size 640 end cdb20
 0(12519) free cd8a0
 0(12519) malloc c5280 size 5 end c5285
 0(12519) malloc c5e78 size 10 end c5e82
 0(12519) malloc c5f08 size 16 end c5f18
 0(12519) malloc c5ff8 size 10 end c6002
 0(12519) malloc c53e0 size 5 end c53e5
 0(12519) malloc c6028 size 16 end c6038
 0(12519) malloc c6040 size 16 end c6050
 0(12519) malloc c5430 size 8 end c5438
 0(12519) malloc c6058 size 16 end c6068
 0(12519) malloc ccd18 size 18 end ccd2a
 0(12519) malloc c6070 size 16 end c6080
 0(12519) malloc c5440 size 8 end c5448
 0(12519) malloc ce1e8 size 320 end ce328
 0(12519) free ce1e8
 0(12519) malloc ce1e8 size 640 end ce468
 0(12519) free ce1e8
 0(12519) malloc ce1e8 size 320 end ce328
 0(12519) free ce1e8
 0(12519) malloc ce1e8 size 640 end ce468
 0(12519) free ce1e8
 0(12519) malloc c5450 size 5 end c5455
 0(12519) malloc c6088 size 10 end c6092
 0(12519) malloc c60a0 size 16 end c60b0
 0(12519) malloc c60b8 size 10 end c60c2
 0(12519) malloc c5460 size 5 end c5465
 0(12519) malloc c60d0 size 16 end c60e0
 0(12519) malloc ce238 size 16 end ce248
 0(12519) malloc c5470 size 8 end c5478
 0(12519) malloc ce250 size 16 end ce260
 0(12519) malloc ccd38 size 18 end ccd4a
 0(12519) malloc ce268 size 16 end ce278
0(12519) malloc c5480 size 8 end c5488
Listening on 
             udp: 127.0.0.1 [127.0.0.1]:5060
             udp: 139.153.254.111 [139.153.254.111]:5060
             tcp: 127.0.0.1 [127.0.0.1]:5060
             tcp: 139.153.254.111 [139.153.254.111]:5060
Aliases: 
             tcp: loghost:5060
             tcp: sip.cs.stir.ac.uk:5060
             tcp: guilder:5060
             tcp: localhost:5060
             udp: loghost:5060
             udp: sip.cs.stir.ac.uk:5060
             udp: guilder:5060
             udp: localhost:5060
             *: cs.stir.ac.uk:*
             *: guilder.cs.stir.ac.uk:*

guilder mko ( ~/sip_router/sbin ) 252 > 0(12521) DEBUG: init_mod:
sl_module
stateless - initializing
 0(12521) malloc ce280 size 16 end ce290
 0(12521) DEBUG: register_fifo_cmd: new command (sl_stats) registered
 0(12521) malloc ce298 size 16 end ce2a8
 0(12521) DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58
 0(12521) DEBUG: init_mod: tm
 0(12521) TM - initializing...
 0(12521) Call-ID initialization: '2ff74dad'
 0(12521) malloc ce2b0 size 16 end ce2c0
 0(12521) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered
 0(12521) malloc ce2c8 size 16 end ce2d8
 0(12521) DEBUG: register_fifo_cmd: new command (t_hash) registered
 0(12521) DEBUG: lock_initialize: lock initialization started
 0(12521) malloc ccd58 size 24 end ccd70
 0(12521) malloc ce2e0 size 16 end ce2f0
 0(12521) DEBUG: register_fifo_cmd: new command (t_stats) registered
 0(12521) Warning: uac does not spread accross the whole hash table
 0(12521) DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed
 0(12521) DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a
 0(12521) malloc ce2f8 size 16 end ce308
 0(12521) malloc ce310 size 16 end ce320
 0(12521) DEBUG: init_mod: rr
 0(12521) rr - initializing
 0(12521) DEBUG: init_mod: maxfwd_module
Maxfwd module- initializing
 0(12521) DEBUG: init_mod: usrloc
 0(12521) usrloc - initializing
 0(12521) malloc ccd78 size 24 end ccd90
 0(12521) malloc ce328 size 16 end ce338
 0(12521) DEBUG: register_fifo_cmd: new command (ul_stats) registered
 0(12521) malloc ce340 size 16 end ce350
 0(12521) DEBUG: register_fifo_cmd: new command (ul_rm) registered
 0(12521) malloc ce358 size 16 end ce368
 0(12521) DEBUG: register_fifo_cmd: new command (ul_rm_contact)
registered
 0(12521) malloc ce370 size 16 end ce380
 0(12521) DEBUG: register_fifo_cmd: new command (ul_dump) registered
0(12521) malloc ce388 size 16 end ce398
 0(12521) DEBUG: register_fifo_cmd: new command (ul_flush) registered
 0(12521) malloc ce3a0 size 16 end ce3b0
 0(12521) DEBUG: register_fifo_cmd: new command (ul_add) registered
 0(12521) malloc ce3b8 size 16 end ce3c8
 0(12521) DEBUG: register_fifo_cmd: new command (ul_show_contact)
registered
 0(12521) DEBUG: init_mod: registrar
 0(12521) registrar - initializing
 0(12521) find_export: found <sl_send_reply> in module sl_module
[/home/mko/sip_router/lib/modules/sl.so]
 0(12521) find_export: found <ul_bind_usrloc> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_register_udomain> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_get_all_ucontacts> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_insert_urecord> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_delete_urecord> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_get_urecord> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_lock_udomain> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_unlock_udomain> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_release_urecord> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_insert_ucontact> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_delete_ucontact> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_get_ucontact> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) find_export: found <ul_update_ucontact> in module usrloc
[/home/mko/sip_router/lib/modules/usrloc.so]
 0(12521) DEBUG: init_mod: auth
 0(12521) auth module - initializing
 0(12521) find_export: found <sl_send_reply> in module sl_module
[/home/mko/sip_router/lib/modules/sl.so]
 0(12521) malloc c64d8 size 32 end c64f8
 0(12521) DEBUG: init_mod: auth_db
 0(12521) auth_db module - initializing
 0(12521) malloc c5490 size 6 end c5496
 0(12521) find_mod_export: found <db_use_table> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_init> in module mysql 
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_close> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_query> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_raw_query> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_free_query> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_insert> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_delete> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) find_mod_export: found <db_update> in module mysql
[/home/mko/sip_router/lib/modules/mysql.so]
 0(12521) malloc ccd98 size 24 end ccdb0
 0(12521) malloc ce1e8 size 38 end ce20e
 0(12521) malloc ce908 size 496 end ceaf8
 0(12521) free ce1e8
 0(12521) auth_db:mod_init(): Database connection opened successfuly
 0(12521) find_export: found <pre_auth> in module auth
[/home/mko/sip_router/lib/modules/auth.so]
 0(12521) find_export: found <post_auth> in module auth
[/home/mko/sip_router/lib/modules/auth.so]
 0(12521) find_export: found <sl_send_reply> in module sl_module
[/home/mko/sip_router/lib/modules/sl.so]
 0(0) fixing /home/mko/sip_router/lib/modules/maxfwd.so
mf_process_maxfwd_header
 0(0) free c5230
 0(0) fixing /home/mko/sip_router/lib/modules/sl.so sl_send_reply
 0(0) free c5240
 0(0) fixing /home/mko/sip_router/lib/modules/sl.so sl_send_reply
 0(0) free c5200
 0(0) fixing /home/mko/sip_router/lib/modules/rr.so record_route
 0(0) fixing /home/mko/sip_router/lib/modules/rr.so loose_route
 0(0) fixing /home/mko/sip_router/lib/modules/tm.so t_relay
 0(0) fixing /home/mko/sip_router/lib/modules/registrar.so save
 0(0) fixing /home/mko/sip_router/lib/modules/registrar.so lookup
 0(0) fixing /home/mko/sip_router/lib/modules/sl.so sl_send_reply
 0(0) free c5260
 0(0) fixing /home/mko/sip_router/lib/modules/tm.so t_relay
 0(0) fixing /home/mko/sip_router/lib/modules/sl.so sl_reply_error
 0(0) INFO: udp_init: SO_RCVBUF is initially 8192
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 16384
 0(0) DEBUG: setting SO_RCVBUF; set=16384,verify=16384
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 32768
 0(0) DEBUG: setting SO_RCVBUF; set=32768,verify=32768
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 65536
 0(0) DEBUG: setting SO_RCVBUF; set=65536,verify=65536
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 131072
 0(0) DEBUG: setting SO_RCVBUF; set=131072,verify=131072
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 262144
 0(0) DEBUG: setting SO_RCVBUF; set=262144,verify=262144
 0(0) INFO: udp_init: SO_RCVBUF is finally 262144
 0(0) INFO: udp_init: SO_RCVBUF is initially 8192
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 16384
 0(0) DEBUG: setting SO_RCVBUF; set=16384,verify=16384
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 32768
 0(0) DEBUG: setting SO_RCVBUF; set=32768,verify=32768
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 65536
 0(0) DEBUG: setting SO_RCVBUF; set=65536,verify=65536
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 131072
 0(0) DEBUG: setting SO_RCVBUF; set=131072,verify=131072
 0(0) DEBUG: udp_init: trying SO_RCVBUF: 262144
 0(0) DEBUG: setting SO_RCVBUF; set=262144,verify=262144
 0(0) INFO: udp_init: SO_RCVBUF is finally 262144
 1(0) DEBUG: init_mod_child (1): tm
 1(0) DEBUG: callid: '2ff74dad-0 at 127.0.0.1'
 1(0) DEBUG: init_mod_child (1): usrloc
 1(0) DEBUG: init_mod_child (1): auth_db
 1(0) free ce908
 1(0) free ccd98
 1(0) malloc ccd98 size 24 end ccdb0
 1(0) INFO: SIGCHLD received: we do not worry about grand-children
 2(0) DEBUG: init_mod_child (2): tm
 2(0) DEBUG: callid: '2ff74dad-0 at 127.0.0.1'
 2(0) DEBUG: init_mod_child (2): usrloc
 2(0) DEBUG: init_mod_child (2): auth_db
 2(0) free ce908
 2(0) free ccd98
 2(0) malloc ccd98 size 24 end ccdb0
 3(0) DEBUG: init_mod_child (3): tm
 3(0) DEBUG: callid: '2ff74dad-0 at 127.0.0.1'
 3(0) DEBUG: init_mod_child (3): usrloc
 3(0) DEBUG: init_mod_child (3): auth_db
 3(0) free ce908
 3(0) free ccd98
 3(0) malloc ccd98 size 24 end ccdb0
 4(0) DEBUG: init_mod_child (4): tm
 4(0) DEBUG: callid: '2ff74dad-0 at 127.0.0.1'
 4(0) DEBUG: init_mod_child (4): usrloc
 4(0) DEBUG: init_mod_child (4): auth_db
 4(0) free ce908
 4(0) free ccd98
4(0) malloc ccd98 size 24 end ccdb0
 5(12526) DEBUG: init_mod_child (1): tm
 5(12526) DEBUG: callid: '2ff74dad-12526 at 139.153.254.111'
 5(12526) DEBUG: init_mod_child (1): usrloc
 5(12526) DEBUG: init_mod_child (1): auth_db
 5(12526) free ce908
 5(12526) free ccd98
 5(12526) malloc ccd98 size 24 end ccdb0
 6(12527) DEBUG: init_mod_child (2): tm
 6(12527) DEBUG: callid: '2ff74dad-12527 at 139.153.254.111'
 6(12527) DEBUG: init_mod_child (2): usrloc
 6(12527) DEBUG: init_mod_child (2): auth_db
 6(12527) free ce908
 6(12527) free ccd98
 6(12527) malloc ccd98 size 24 end ccdb0
 7(12528) DEBUG: init_mod_child (3): tm
 7(12528) DEBUG: callid: '2ff74dad-12528 at 139.153.254.111'
 7(12528) DEBUG: init_mod_child (3): usrloc
 7(12528) DEBUG: init_mod_child (3): auth_db
 7(12528) free ce908
 7(12528) free ccd98
 7(12528) malloc ccd98 size 24 end ccdb0
 8(12529) DBG: open_uac_fifo: opening fifo...
 8(12529) DEBUG: init_mod_child (4): tm
 8(12529) DEBUG: callid: '2ff74dad-12529 at 139.153.254.111'
 8(12529) DEBUG: init_mod_child (4): usrloc
 8(12529) DEBUG: init_mod_child (4): auth_db
 8(12529) free ce908
 8(12529) free ccd98
 8(12529) malloc ccd98 size 24 end ccdb0
 8(12529) DEBUG: FIFO created @ /home/mko/sip_router/tmp/ser_fifo
 8(12529) DEBUG: fifo /home/mko/sip_router/tmp/ser_fifo opened, mode=432
 9(12530) INFO: fifo process starting: 12530
 9(12530) DEBUG: init_mod_child (-2): tm
 9(12530) DEBUG: callid: '2ff74dad-12530 at 127.0.0.1'
 9(12530) DEBUG: init_mod_child (-2): usrloc
 9(12530) DEBUG: init_mod_child (-2): auth_db
 9(12530) free ce908
 9(12530) free ccd98
 9(12530) malloc ccd98 size 24 end ccdb0

-------------- next part --------------
#
# $Id: ser.cfg,v 1.18 2003/05/06 16:19:15 janakj Exp $
#
# simple quick-start config script
#

# ----------- global configuration parameters ------------------------

#debug=3         # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no	# (cmd line: -E)

debug=9
fork=yes
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="/home/mko/sip_router/tmp/ser_fifo"
alias="guilder.cs.stir.ac.uk"
alias="cs.stir.ac.uk"

# ------------------ module loading ----------------------------------

# Uncomment this if you want to use SQL database
loadmodule "/home/mko/sip_router/lib/modules/mysql.so"

loadmodule "/home/mko/sip_router/lib/modules/sl.so"
loadmodule "/home/mko/sip_router/lib/modules/tm.so"
loadmodule "/home/mko/sip_router/lib/modules/rr.so"
loadmodule "/home/mko/sip_router/lib/modules/maxfwd.so"
loadmodule "/home/mko/sip_router/lib/modules/usrloc.so"
loadmodule "/home/mko/sip_router/lib/modules/registrar.so"

# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/home/mko/sip_router/lib/modules/auth.so"
loadmodule "/home/mko/sip_router/lib/modules/auth_db.so"

#loadmodule "/home/mko/sip_router/lib/modules/textops.so"
#loadmodule "/home/mko/sip_router/lib/modules/cpl-c.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")

modparam("rr", "enable_full_lr", 1)

#modparam("cpl-c","cpl_db","mysql://ser:heslo@localhost/ser")
#modparam("cpl-c","cpl_table","cpl")
#modparam("cpl-c","cpl_dtd_file","/home/mko/sip_router/etc/cpl-06.dtd")
#modparam("cpl-c","log_dir","/home/mko/sip_router/log/")
#modparam("cpl-c","proxy_recurse",0)

# -------------------------  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
	record_route();	
	# loose-route processing

       if (loose_route()) {
                t_relay();
                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=="INVITE") {
#        if ( !cpl_run_script("incoming") ) {
#            # script execution failed
#            t_reply("500","CPL script execution failed");
#            break;
#        };
#  }
		if (method=="REGISTER") {

# Uncomment this if you want to use digest authentication
#			if (!www_authorize("cs.stir.ac.uk", "subscriber")) {
#				www_challenge("cs.stir.ac.uk", "0");
#				break;
#			};
#			cpl_process_register();
			save("location");
			break;
		};

		# native SIP destinations are handled using our USRLOC DB

		if (!lookup("location")) {
			sl_send_reply("404", "Not Found");
			break;
		};
	};
	# forward to current uri now; use stateful forwarding; that
	# works reliably even if we forward from TCP to UDP
	if (!t_relay()) {
		sl_reply_error();
	};
}



More information about the Serdev mailing list