<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I've compiled SER 0.94, including support for persistent auth (module
mysql). It seemed to work pretty well, but after a while i keep getting
segmentation faults when restarting ser. Only a complete rebuild of the
database with the ser_mysql script seems to fix things for a while.
I've inluded my ser.cfg and the output from 'ser -E 2>serlog' . The
problem only seems to happen when i use the auth_db module. <br>
<br>
<br>
<br>
++++++++++++++ SER Debug output below ++++++++++++++++++<br>
<br>
0(4067) loading module /usr/local/lib/ser/modules/mysql.so<br>
0(4067) loading module /usr/local/lib/ser/modules/sl.so<br>
0(4067) loading module /usr/local/lib/ser/modules/tm.so<br>
0(4067) loading module /usr/local/lib/ser/modules/rr.so<br>
0(4067) loading module /usr/local/lib/ser/modules/maxfwd.so<br>
0(4067) loading module /usr/local/lib/ser/modules/usrloc.so<br>
0(4067) loading module /usr/local/lib/ser/modules/registrar.so<br>
0(4067) loading module /usr/local/lib/ser/modules/exec.so<br>
0(4067) loading module /usr/local/lib/ser/modules/uri.so<br>
0(4067) loading module /usr/local/lib/ser/modules/acc.so<br>
0(4067) loading module /usr/local/lib/ser/modules/textops.so<br>
0(4067) loading module /usr/local/lib/ser/modules/auth.so<br>
0(4067) loading module /usr/local/lib/ser/modules/auth_db.so<br>
0(4067) set_mod_param_regex: usrloc matches module usrloc<br>
0(4067) set_mod_param_regex: found <db_mode> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(4067) set_mod_param_regex: auth_db matches module auth_db<br>
0(4067) set_mod_param_regex: found <calculate_ha1> in module
auth_db [/usr/local/lib/ser/modules/auth_db.so]<br>
0(4067) set_mod_param_regex: auth_db matches module auth_db<br>
0(4067) set_mod_param_regex: found <password_column> in module
auth_db [/usr/local/lib/ser/modules/auth_db.so]<br>
0(4067) set_mod_param_regex: rr matches module rr<br>
0(4067) set_mod_param_regex: found <enable_full_lr> in module rr
[/usr/local/lib/ser/modules/rr.so]<br>
0(4067) set_mod_param_regex: rr matches module rr<br>
0(4067) set_mod_param_regex: found <enable_double_rr> in module
rr [/usr/local/lib/ser/modules/rr.so]<br>
0(4067) set_mod_param_regex: rr matches module rr<br>
0(4067) set_mod_param_regex: found <add_username> in module rr
[/usr/local/lib/ser/modules/rr.so]<br>
0(4067) find_export: found <mf_process_maxfwd_header> in module
maxfwd [/usr/local/lib/ser/modules/maxfwd.so]<br>
0(4067) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]<br>
0(4067) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]<br>
0(4067) find_export: found <record_route> in module rr
[/usr/local/lib/ser/modules/rr.so]<br>
0(4067) find_export: found <loose_route> in module rr
[/usr/local/lib/ser/modules/rr.so]<br>
0(4067) find_export: found <append_hf> in module textops
[/usr/local/lib/ser/modules/textops.so]<br>
0(4067) find_export: found <append_hf> in module textops
[/usr/local/lib/ser/modules/textops.so]<br>
0(4067) find_export: found <www_authorize> in module auth_db
[/usr/local/lib/ser/modules/auth_db.so]<br>
0(4067) find_export: found <www_challenge> in module auth
[/usr/local/lib/ser/modules/auth.so]<br>
0(4067) find_export: found <save> in module registrar
[/usr/local/lib/ser/modules/registrar.so]<br>
0(4067) find_export: found <lookup> in module registrar
[/usr/local/lib/ser/modules/registrar.so]<br>
0(4067) find_export: found <append_hf> in module textops
[/usr/local/lib/ser/modules/textops.so]<br>
0(4067) find_export: found <lookup> in module registrar
[/usr/local/lib/ser/modules/registrar.so]<br>
0(4067) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]<br>
0(4067) find_export: found <append_hf> in module textops
[/usr/local/lib/ser/modules/textops.so]<br>
0(4067) find_export: found <t_relay> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(4067) find_export: found <sl_reply_error> in module sl_module
[/usr/local/lib/ser/modules/sl.so]<br>
0(4067) routing table 0:<br>
0(4067) if ( 0(4067) NOT( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7f32db0> 0(4067) , "10" 0(4067) ); 0(4067)
external_module_call( 0(4067) f_ptr<0xb7f32db0> 0(4067) , "10"
0(4067) ); 0(4067) ) 0(4067) ) { 0(4067) external_module_call(
0(4067) f_ptr<0xb7de7790> 0(4067) , "483" 0(4067) , "Too Many
Hops" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) if ( 0(4067) UNKNOWN 0(4067)
<UNKNOWN> 0(4067) 2048 0(4067) ) { 0(4067) external_module_call(
0(4067) f_ptr<0xb7de7790> 0(4067) , "513" 0(4067) , "Message too
big" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) external_module_call( 0(4067)
f_ptr<0xb7f384f0> 0(4067) ); 0(4067) if ( 0(4067)
external_module_call( 0(4067) f_ptr<0xb7f36c30> 0(4067) );
0(4067) external_module_call( 0(4067) f_ptr<0xb7f36c30> 0(4067)
); 0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: rr-enforced<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) ) { 0(4067) if (
0(4067) method 0(4067) == 0(4067) "REGISTER" 0(4067) ) { 0(4067) if (
0(4067) NOT( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) ) 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d6eb10> 0(4067) ,
"newbridges.nl" 0(4067) , "0" 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d8a800> 0(4067) ,
"location" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "aliases" 0(4067) ); 0(4067) if (
0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound alias<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) "^<a class="moz-txt-link-freetext"
href="sip:%5B5-7">si</a><a class="moz-txt-link-rfc2396E"
href="mailto:%5Esip:%5B5-7%5D%5B0-9%5D%7B2,3%7D@.*">"^sip:[5-7][0-9]{2,3}@.*"</a>
0(4067) )
{ 0(4067) log( 0(4067) 1 0(4067) , "LOG: PBX call, contacting gateway...<br>
" 0(4067) ); 0(4067) route( 0(4067) 2 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) <a class="moz-txt-link-rfc2396E"
href="sip:%5B0-9%5D%7B5,20%7D@.*">"sip:[0-9]{5,20}@.*"</a> 0(4067) ) {
0(4067) if ( 0(4067) method 0(4067) == 0(4067) "INVITE" 0(4067) ) {
0(4067) log( 0(4067) 1 0(4067) , "LOG: PSTN call, contacting gateway...<br>
" 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067) route( 0(4067) 3
0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) }
else { 0(4067) }; 0(4067) if ( 0(4067) NOT( 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d87d60> 0(4067) ,
"location" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "location" 0(4067) ); 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7de7790> 0(4067) , "404" 0(4067) , "User Not Found /
Offline" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: usrloc applied<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) if ( 0(4067)
UNKNOWN 0(4067) <UNKNOWN> 0(4067) 2048 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7de7790> 0(4067) , "513"
0(4067) , "Message too big" 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7f384f0> 0(4067) );
0(4067) if ( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7f36c30> 0(4067) ); 0(4067) external_module_call(
0(4067) f_ptr<0xb7f36c30> 0(4067) ); 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: rr-enforced<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) ) { 0(4067) if (
0(4067) method 0(4067) == 0(4067) "REGISTER" 0(4067) ) { 0(4067) if (
0(4067) NOT( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) ) 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d6eb10> 0(4067) ,
"newbridges.nl" 0(4067) , "0" 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d8a800> 0(4067) ,
"location" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "aliases" 0(4067) ); 0(4067) if (
0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound alias<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) "^<a class="moz-txt-link-freetext"
href="sip:%5B5-7">si</a><a class="moz-txt-link-rfc2396E"
href="mailto:%5Esip:%5B5-7%5D%5B0-9%5D%7B2,3%7D@.*">"^sip:[5-7][0-9]{2,3}@.*"</a>
0(4067) )
{ 0(4067) log( 0(4067) 1 0(4067) , "LOG: PBX call, contacting gateway...<br>
" 0(4067) ); 0(4067) route( 0(4067) 2 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) <a class="moz-txt-link-rfc2396E"
href="sip:%5B0-9%5D%7B5,20%7D@.*">"sip:[0-9]{5,20}@.*"</a> 0(4067) ) {
0(4067) if ( 0(4067) method 0(4067) == 0(4067) "INVITE" 0(4067) ) {
0(4067) log( 0(4067) 1 0(4067) , "LOG: PSTN call, contacting gateway...<br>
" 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067) route( 0(4067) 3
0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) }
else { 0(4067) }; 0(4067) if ( 0(4067) NOT( 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d87d60> 0(4067) ,
"location" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "location" 0(4067) ); 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7de7790> 0(4067) , "404" 0(4067) , "User Not Found /
Offline" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: usrloc applied<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067)
external_module_call( 0(4067) f_ptr<0xb7f384f0> 0(4067) );
0(4067) if ( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7f36c30> 0(4067) ); 0(4067) external_module_call(
0(4067) f_ptr<0xb7f36c30> 0(4067) ); 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: rr-enforced<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) ) { 0(4067) if (
0(4067) method 0(4067) == 0(4067) "REGISTER" 0(4067) ) { 0(4067) if (
0(4067) NOT( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) ) 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d6eb10> 0(4067) ,
"newbridges.nl" 0(4067) , "0" 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d8a800> 0(4067) ,
"location" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "aliases" 0(4067) ); 0(4067) if (
0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound alias<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) "^<a class="moz-txt-link-freetext"
href="sip:%5B5-7">si</a><a class="moz-txt-link-rfc2396E"
href="mailto:%5Esip:%5B5-7%5D%5B0-9%5D%7B2,3%7D@.*">"^sip:[5-7][0-9]{2,3}@.*"</a>
0(4067) )
{ 0(4067) log( 0(4067) 1 0(4067) , "LOG: PBX call, contacting gateway...<br>
" 0(4067) ); 0(4067) route( 0(4067) 2 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) <a class="moz-txt-link-rfc2396E"
href="sip:%5B0-9%5D%7B5,20%7D@.*">"sip:[0-9]{5,20}@.*"</a> 0(4067) ) {
0(4067) if ( 0(4067) method 0(4067) == 0(4067) "INVITE" 0(4067) ) {
0(4067) log( 0(4067) 1 0(4067) , "LOG: PSTN call, contacting gateway...<br>
" 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067) route( 0(4067) 3
0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) }
else { 0(4067) }; 0(4067) if ( 0(4067) NOT( 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d87d60> 0(4067) ,
"location" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "location" 0(4067) ); 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7de7790> 0(4067) , "404" 0(4067) , "User Not Found /
Offline" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: usrloc applied<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) if (
0(4067) external_module_call( 0(4067) f_ptr<0xb7f36c30> 0(4067)
); 0(4067) external_module_call( 0(4067) f_ptr<0xb7f36c30>
0(4067) ); 0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: rr-enforced<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) ) { 0(4067) if (
0(4067) method 0(4067) == 0(4067) "REGISTER" 0(4067) ) { 0(4067) if (
0(4067) NOT( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) ) 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d6eb10> 0(4067) ,
"newbridges.nl" 0(4067) , "0" 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d8a800> 0(4067) ,
"location" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "aliases" 0(4067) ); 0(4067) if (
0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound alias<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) "^<a class="moz-txt-link-freetext"
href="sip:%5B5-7">si</a><a class="moz-txt-link-rfc2396E"
href="mailto:%5Esip:%5B5-7%5D%5B0-9%5D%7B2,3%7D@.*">"^sip:[5-7][0-9]{2,3}@.*"</a>
0(4067) )
{ 0(4067) log( 0(4067) 1 0(4067) , "LOG: PBX call, contacting gateway...<br>
" 0(4067) ); 0(4067) route( 0(4067) 2 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) <a class="moz-txt-link-rfc2396E"
href="sip:%5B0-9%5D%7B5,20%7D@.*">"sip:[0-9]{5,20}@.*"</a> 0(4067) ) {
0(4067) if ( 0(4067) method 0(4067) == 0(4067) "INVITE" 0(4067) ) {
0(4067) log( 0(4067) 1 0(4067) , "LOG: PSTN call, contacting gateway...<br>
" 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067) route( 0(4067) 3
0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) }
else { 0(4067) }; 0(4067) if ( 0(4067) NOT( 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d87d60> 0(4067) ,
"location" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "location" 0(4067) ); 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7de7790> 0(4067) , "404" 0(4067) , "User Not Found /
Offline" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: usrloc applied<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) if ( 0(4067)
NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) ) 0(4067) ) {
0(4067) external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067)
, "P-hint: outbound<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) ) { 0(4067) if (
0(4067) method 0(4067) == 0(4067) "REGISTER" 0(4067) ) { 0(4067) if (
0(4067) NOT( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d67d80> 0(4067) , "newbridges.nl" 0(4067) ,
"subscriber" 0(4067) ); 0(4067) ) 0(4067) ) { 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d6eb10> 0(4067) ,
"newbridges.nl" 0(4067) , "0" 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d8a800> 0(4067) ,
"location" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "aliases" 0(4067) ); 0(4067) if (
0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound alias<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) "^<a class="moz-txt-link-freetext"
href="sip:%5B5-7">si</a><a class="moz-txt-link-rfc2396E"
href="mailto:%5Esip:%5B5-7%5D%5B0-9%5D%7B2,3%7D@.*">"^sip:[5-7][0-9]{2,3}@.*"</a>
0(4067) )
{ 0(4067) log( 0(4067) 1 0(4067) , "LOG: PBX call, contacting gateway...<br>
" 0(4067) ); 0(4067) route( 0(4067) 2 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) <a class="moz-txt-link-rfc2396E"
href="sip:%5B0-9%5D%7B5,20%7D@.*">"sip:[0-9]{5,20}@.*"</a> 0(4067) ) {
0(4067) if ( 0(4067) method 0(4067) == 0(4067) "INVITE" 0(4067) ) {
0(4067) log( 0(4067) 1 0(4067) , "LOG: PSTN call, contacting gateway...<br>
" 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067) route( 0(4067) 3
0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) }
else { 0(4067) }; 0(4067) if ( 0(4067) NOT( 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d87d60> 0(4067) ,
"location" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "location" 0(4067) ); 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7de7790> 0(4067) , "404" 0(4067) , "User Not Found /
Offline" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: usrloc applied<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) if ( 0(4067)
uri 0(4067) == 0(4067) _myself_ 0(4067) ) { 0(4067) if ( 0(4067) method
0(4067) == 0(4067) "REGISTER" 0(4067) ) { 0(4067) if ( 0(4067) NOT(
0(4067) external_module_call( 0(4067) f_ptr<0xb7d67d80> 0(4067)
, "newbridges.nl" 0(4067) , "subscriber" 0(4067) ); 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d67d80> 0(4067) ,
"newbridges.nl" 0(4067) , "subscriber" 0(4067) ); 0(4067) ) 0(4067) )
{ 0(4067) external_module_call( 0(4067) f_ptr<0xb7d6eb10>
0(4067) , "newbridges.nl" 0(4067) , "0" 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d8a800> 0(4067) ,
"location" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "aliases" 0(4067) ); 0(4067) if (
0(4067) NOT( 0(4067) uri 0(4067) == 0(4067) _myself_ 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d75650> 0(4067) , "P-hint: outbound alias<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) "^<a class="moz-txt-link-freetext"
href="sip:%5B5-7">si</a><a class="moz-txt-link-rfc2396E"
href="mailto:%5Esip:%5B5-7%5D%5B0-9%5D%7B2,3%7D@.*">"^sip:[5-7][0-9]{2,3}@.*"</a>
0(4067) )
{ 0(4067) log( 0(4067) 1 0(4067) , "LOG: PBX call, contacting gateway...<br>
" 0(4067) ); 0(4067) route( 0(4067) 2 0(4067) ); 0(4067) drop(
0(4067) type<0> 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067)
if ( 0(4067) uri 0(4067) =~ 0(4067) <a class="moz-txt-link-rfc2396E"
href="sip:%5B0-9%5D%7B5,20%7D@.*">"sip:[0-9]{5,20}@.*"</a> 0(4067) ) {
0(4067) if ( 0(4067) method 0(4067) == 0(4067) "INVITE" 0(4067) ) {
0(4067) log( 0(4067) 1 0(4067) , "LOG: PSTN call, contacting gateway...<br>
" 0(4067) ); 0(4067) } else { 0(4067) }; 0(4067) route( 0(4067) 3
0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) }
else { 0(4067) }; 0(4067) if ( 0(4067) NOT( 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d87d60> 0(4067) ,
"location" 0(4067) ); 0(4067) external_module_call( 0(4067)
f_ptr<0xb7d87d60> 0(4067) , "location" 0(4067) ); 0(4067) )
0(4067) ) { 0(4067) external_module_call( 0(4067)
f_ptr<0xb7de7790> 0(4067) , "404" 0(4067) , "User Not Found /
Offline" 0(4067) ); 0(4067) drop( 0(4067) type<0> 0(4067) );
0(4067) } else { 0(4067) }; 0(4067) } else { 0(4067) }; 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: usrloc applied<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067)
external_module_call( 0(4067) f_ptr<0xb7d75650> 0(4067) ,
"P-hint: usrloc applied<br>
" 0(4067) ); 0(4067) route( 0(4067) 1 0(4067) ); 0(4067) route(
0(4067) 1 0(4067) ); 0(4067) <br>
0(4067) routing table 1:<br>
0(4067) if ( 0(4067) NOT( 0(4067) external_module_call( 0(4067)
f_ptr<0xb7dbc1e0> 0(4067) ); 0(4067) external_module_call(
0(4067) f_ptr<0xb7dbc1e0> 0(4067) ); 0(4067) ) 0(4067) ) {
0(4067) external_module_call( 0(4067) f_ptr<0xb7de77d0> 0(4067)
); 0(4067) } else { 0(4067) }; 0(4067) <br>
0(4067) routing table 2:<br>
0(4067) sethostport( 0(4067) "192.168.1.244:5060" 0(4067) ); 0(4067)
forward( 0(4067) type<11> 0(4067) , type<12> 0(4067) );
0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) forward(
0(4067) type<11> 0(4067) , type<12> 0(4067) ); 0(4067)
drop( 0(4067) type<0> 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) <br>
0(4067) routing table 3:<br>
0(4067) sethostport( 0(4067) "192.168.1.244:5060" 0(4067) ); 0(4067)
forward( 0(4067) type<11> 0(4067) , type<12> 0(4067) );
0(4067) drop( 0(4067) type<0> 0(4067) ); 0(4067) forward(
0(4067) type<11> 0(4067) , type<12> 0(4067) ); 0(4067)
drop( 0(4067) type<0> 0(4067) ); 0(4067) drop( 0(4067)
type<0> 0(4067) ); 0(4067) <br>
WARNING: no fork mode and more than one listen address found(will use
only the the first one)<br>
0(4067) shm_mem_init: success<br>
0(0) core dump limits set to 4294967295<br>
0(0) DEBUG: init_mod: sl_module<br>
stateless - initializing<br>
0(0) DEBUG: register_fifo_cmd: new command (sl_stats) registered<br>
0(0) unixsock_register_cmd: New command (sl_stats) registered<br>
0(0) DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58<br>
0(0) DEBUG: init_mod: tm<br>
0(0) TM - (size of cell=2776, sip_msg=760) initializing...<br>
0(0) Call-ID initialization: '7bee7c3b'<br>
0(0) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (t_uac_cancel) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (t_hash) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (t_reply) registered<br>
0(0) unixsock_register_cmd: New command (t_uac_dlg) registered<br>
0(0) unixsock_register_cmd: New command (t_uac_cancel) registered<br>
0(0) unixsock_register_cmd: New command (t_hash) registered<br>
0(0) unixsock_register_cmd: New command (t_reply) registered<br>
0(0) DEBUG: lock_initialize: lock initialization started<br>
0(0) DEBUG: register_fifo_cmd: new command (t_stats) registered<br>
0(0) unixsock_register_cmd: New command (t_stats) registered<br>
0(0) DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed<br>
0(0) DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a<br>
0(0) DEBUG: init_mod: rr<br>
0(0) rr - initializing<br>
0(0) DEBUG: init_mod: maxfwd<br>
0(0) Maxfwd module- initializing<br>
0(0) DEBUG: init_mod: usrloc<br>
0(0) usrloc - initializing<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_stats) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_rm) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_dump) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_flush) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_add) registered<br>
0(0) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered<br>
0(0) unixsock_register_cmd: New command (ul_stats) registered<br>
0(0) unixsock_register_cmd: New command (ul_rm) registered<br>
0(0) unixsock_register_cmd: New command (ul_rm_contact) registered<br>
0(0) unixsock_register_cmd: New command (ul_dump) registered<br>
0(0) unixsock_register_cmd: New command (ul_flush) registered<br>
0(0) unixsock_register_cmd: New command (ul_add) registered<br>
0(0) unixsock_register_cmd: New command (ul_show_contact) registered<br>
0(0) find_mod_export: found <db_use_table> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_init> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_close> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_query> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_raw_query> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_free_result> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_insert> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_delete> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_update> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) DEBUG: init_mod: registrar<br>
0(0) registrar - initializing<br>
0(0) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]<br>
0(0) find_export: found <ul_bind_usrloc> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_register_udomain> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_get_all_ucontacts> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_insert_urecord> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_delete_urecord> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_get_urecord> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_lock_udomain> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_unlock_udomain> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_release_urecord> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_insert_ucontact> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_delete_ucontact> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_get_ucontact> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_update_ucontact> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_register_watcher> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_unregister_watcher> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) find_export: found <ul_register_ulcb> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so]<br>
0(0) DEBUG: init_mod: exec<br>
exec - initializing<br>
0(0) DEBUG: init_mod: acc<br>
acc - initializing<br>
0(0) find_export: found <load_tm> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <register_tmcb> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_newtran> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_relay_to_tcp> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_relay_to_udp> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_relay> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_reply> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_reply_with_body> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_is_local> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_get_trans_ident> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_lookup_ident> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_add_blind> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_forward_nonack> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_request_within> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_request_outside> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_request> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <new_dlg_uac> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <dlg_response_uac> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <new_dlg_uas> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <dlg_request_uas> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <free_dlg> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <print_dlg> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) find_export: found <t_gett> in module tm
[/usr/local/lib/ser/modules/tm.so]<br>
0(0) DEBUG: init_mod: textops<br>
textops - initializing<br>
0(0) DEBUG: init_mod: auth<br>
0(0) auth module - initializing<br>
0(0) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]<br>
0(0) DEBUG: init_mod: auth_db<br>
0(0) auth_db module - initializing<br>
0(0) find_mod_export: found <db_use_table> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_init> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_close> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_query> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_raw_query> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_free_result> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_insert> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_delete> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_mod_export: found <db_update> in module mysql
[/usr/local/lib/ser/modules/mysql.so]<br>
0(0) find_export: found <pre_auth> in module auth
[/usr/local/lib/ser/modules/auth.so]<br>
0(0) find_export: found <post_auth> in module auth
[/usr/local/lib/ser/modules/auth.so]<br>
0(0) find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]<br>
0(0) fixing /usr/local/lib/ser/modules/maxfwd.so
mf_process_maxfwd_header<br>
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply<br>
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply<br>
0(0) fixing /usr/local/lib/ser/modules/rr.so record_route<br>
0(0) fixing /usr/local/lib/ser/modules/rr.so loose_route<br>
0(0) fixing /usr/local/lib/ser/modules/textops.so append_hf<br>
0(0) fixing /usr/local/lib/ser/modules/textops.so append_hf<br>
0(0) fixing /usr/local/lib/ser/modules/auth_db.so www_authorize<br>
0(0) get_connection(): Connection not found in the pool<br>
0(0) release_connection(): Removing connection from the pool<br>
0(0) fixing /usr/local/lib/ser/modules/auth.so www_challenge<br>
0(0) fixing /usr/local/lib/ser/modules/registrar.so save<br>
0(0) get_connection(): Connection not found in the pool<br>
<br>
<div class="moz-signature">++++++++++ Config file below
+++++++++++++++++++<br>
<br>
# ----------- global configuration parameters ------<br>
<br>
# Debugging<br>
#<br>
# Max level = 9, or ser -ddddddddd<br>
# Don't use forking while debugging<br>
<br>
debug=9<br>
fork=no<br>
log_stderror=yes # (cmd line: -E)<br>
<br>
# -- Debug mode --<br>
/* <br>
fork=no<br>
debug=6<br>
log_stderror=yes<br>
*/<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>
alias=newbridges.nl<br>
alias=192.168.1.247<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>
# added 30-06-05<br>
loadmodule "/usr/local/lib/ser/modules/exec.so"<br>
loadmodule "/usr/local/lib/ser/modules/uri.so"<br>
loadmodule "/usr/local/lib/ser/modules/acc.so"<br>
loadmodule "/usr/local/lib/ser/modules/textops.so"<br>
<br>
<br>
# 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>
<br>
# Use this for non-persistent data storage<br>
#modparam("usrloc", "db_mode", 0)<br>
<br>
# use this for persistent storage (and comment the previous line)<br>
modparam("usrloc", "db_mode", 2)<br>
<br>
# -- auth params --<br>
<br>
modparam("auth_db", "calculate_ha1", yes)<br>
<br>
<br>
# If you set "calculate_ha1" parameter to yes (which true in this
config), <br>
# uncomment also the following parameter)<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>
modparam("rr", "enable_double_rr", 1)<br>
modparam("rr", "add_username", 1)<br>
<br>
<br>
# ------------------------- request routing logic -------------------<br>
<br>
# main routing logic<br>
<br>
#<br>
# This defines the handling of incorrect and Register messages,<br>
# and sends message to other routes :<br>
#<br>
# 1) (main route)<br>
# 2) PBX<br>
# 3) PSTN / Gateway traffic<br>
<br>
<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>
<br>
if (msg:len >= 2048 ) {<br>
sl_send_reply("513", "Message too big");<br>
break;<br>
};<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();<br>
<br>
# subsequent messages withing a dialog should take the<br>
# path determined by record-routing<br>
# ACKS follow this path<br>
if (loose_route()) {<br>
# mark routing logic in request<br>
append_hf("P-hint: rr-enforced\r\n"); <br>
route(1);<br>
break;<br>
};<br>
<br>
if (!uri==myself) {<br>
<br>
# mark routing logic in request<br>
append_hf("P-hint: outbound\r\n"); <br>
route(1);<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("newbridges.nl", "subscriber")) {<br>
www_challenge("newbridges.nl", "0");<br>
break;<br>
};<br>
<br>
save("location");<br>
break;<br>
};<br>
<br>
lookup("aliases");<br>
if (!uri==myself) {<br>
append_hf("P-hint: outbound alias\r\n"); <br>
route(1);<br>
break;<br>
};<br>
<br>
<br>
# This part handles numbers (5xx,6xx,7xx) and (5xxx,6xxx,7xxx)<br>
# which are internal numbers for the PABX<br>
#<br>
if (uri=~"^<a class="moz-txt-link-freetext" href="sip:%5B5-7">si</a><a
class="moz-txt-link-rfc2396E"
href="mailto:%5Esip:%5B5-7%5D%5B0-9%5D%7B2,3%7D@.*">"^sip:[5-7][0-9]{2,3}@.*"</a>)
{<br>
log(1, "LOG: PBX call, contacting gateway...\n");<br>
route(2);<br>
break;<br>
};<br>
<br>
<br>
#<br>
# Gateway traffic directly to PSTN<br>
#<br>
# The assumption is that other all<br>
# numeric usernames between 5 and 20 digits are really pstn
numbers<br>
# and so they are routed to the gateway<br>
if (uri=~<a class="moz-txt-link-rfc2396E"
href="sip:%5B0-9%5D%7B5,20%7D@.*">"sip:[0-9]{5,20}@.*"</a>) {<br>
<br>
if (method=="INVITE"){<br>
log(1, "LOG: PSTN call, contacting gateway...\n");<br>
};<br>
route(3);<br>
break;<br>
};<br>
<br>
<br>
# native SIP destinations are handled using our USRLOC DB<br>
if (!lookup("location")) {<br>
sl_send_reply("404", "User Not Found / Offline");<br>
break;<br>
};<br>
};<br>
<br>
<br>
append_hf("P-hint: usrloc applied\r\n"); <br>
route(1);<br>
}<br>
<br>
<br>
# main route<br>
route[1] <br>
{<br>
# send it out now; use stateful forwarding as it works reliably<br>
# even for UDP2TCP<br>
if (!t_relay()) {<br>
sl_reply_error();<br>
};<br>
}<br>
<br>
# PBX/gateway traffic<br>
# the '01' prefix specifies which port the gateway should use<br>
route[2]<br>
{<br>
rewritehostport("192.168.1.244:5060");<br>
forward(uri:host, uri:port);<br>
break;<br>
<br>
} /* end of route 2 - PBX traffic*/<br>
<br>
<br>
# PSTN/gateway traffic<br>
# the '01' prefix specifies which port the gateway should use<br>
route[3]<br>
{<br>
rewritehostport("192.168.1.244:5060");<br>
forward(uri:host, uri:port);<br>
break;<br>
<br>
} /* end of route 3 - PSTN traffic*/<br>
<br>
<br>
<style>
BODY {
font-family: Arial;
font-size: 10pt;
color: 000000;
background-position: top left;
background-repeat: no-repeat;
}
</style>
<hr align="left" width="50%">
<table style="border-width: 0pt; border-collapse: collapse;" border="0"
bordercolor="#111111" cellpadding="0" cellspacing="0" width="62%">
<tbody>
<tr>
<td style="border-style: none; border-width: medium;" width="37%">
<font face="Arial" size="2"> Hilco de Lathouder<br>
<br>
New Bridges<br>
<i>Voice Processing Engineers</i><br>
</font> <font face="Arial" size="1"> Calandstraat 44<br>
3316 EA Dordrecht<br>
The Netherlands (timezone: GMT+1)<br>
+31 (78) 6548787<br>
(<a href="mailto:lathouder@NewBridges.nl">lathouder@newbridges.nl</a>)</font></td>
<td style="border-style: none; border-width: medium;" width="63%">
<p> </p>
<p><font face="Arial" size="2"><a
href="http://www.databadge.net/igv2005/reg/?link=61dba23572386211a324"
target="_blank"> <br>
</a></font> </p>
<p> </p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p> </p>
</div>
</body>
</html>