|
|
@ -25,7 +25,7 @@ tcp_children=8 |
|
|
###################################################################### |
|
|
###################################################################### |
|
|
## Core Logging Parameters |
|
|
## Core Logging Parameters |
|
|
###################################################################### |
|
|
###################################################################### |
|
|
debug=4 |
|
|
|
|
|
|
|
|
debug=3 |
|
|
sip_warning=0 |
|
|
sip_warning=0 |
|
|
log_stderror=no |
|
|
log_stderror=no |
|
|
log_facility=LOG_LOCAL0 |
|
|
log_facility=LOG_LOCAL0 |
|
|
@ -430,7 +430,7 @@ route |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# is not from media servers |
|
|
# is not from media servers |
|
|
if (!ds_is_in_list("$si", "$sp", "1")) |
|
|
|
|
|
|
|
|
if (!ds_is_in_list("$si", "$sp", "1") and !ds_is_in_list("$si", "$sp", "2")) |
|
|
{ |
|
|
{ |
|
|
if(cache_fetch("memcached_callid_hash", "$ci", $avp(i:55))) |
|
|
if(cache_fetch("memcached_callid_hash", "$ci", $avp(i:55))) |
|
|
{ |
|
|
{ |
|
|
@ -444,8 +444,6 @@ route |
|
|
|
|
|
|
|
|
ds_select_domain("1", "4"); |
|
|
ds_select_domain("1", "4"); |
|
|
|
|
|
|
|
|
xlog("L_INFO", " Selecting domain from set 1 using round-robin [$rd]"); |
|
|
|
|
|
|
|
|
|
|
|
t_on_failure("1"); |
|
|
t_on_failure("1"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -533,9 +531,9 @@ failure_route[1] |
|
|
|
|
|
|
|
|
if (t_check_status("(408)|(5[0-9][0-9])")) |
|
|
if (t_check_status("(408)|(5[0-9][0-9])")) |
|
|
{ |
|
|
{ |
|
|
xlog("L_ERR", " Media server [$rd] did not reply, disabling"); |
|
|
|
|
|
|
|
|
xlog("L_ERR", " Media server [$rd] replied with error [$rs] for [$ru], disabling"); |
|
|
|
|
|
|
|
|
ds_mark_dst(); |
|
|
|
|
|
|
|
|
ds_mark_dst("p"); |
|
|
|
|
|
|
|
|
if (ds_next_domain()) |
|
|
if (ds_next_domain()) |
|
|
{ |
|
|
{ |
|
|
@ -548,7 +546,7 @@ failure_route[1] |
|
|
exit; |
|
|
exit; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else if (isbflagset(16) && t_check_status("[34][0-9][0-9]")) |
|
|
|
|
|
|
|
|
else if(!cache_fetch("memcached_callid_hash", "$ci", $avp(i:55))) |
|
|
{ |
|
|
{ |
|
|
xlog("L_INFO", " Failed to route call from carrier, sending 486"); |
|
|
xlog("L_INFO", " Failed to route call from carrier, sending 486"); |
|
|
|
|
|
|
|
|
|