Browse Source

slight tweaks to the opensips.cfg

3.12
Karl Anderson 15 years ago
parent
commit
88bc742ae0
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      opensips/opensips.cfg

+ 5
- 7
opensips/opensips.cfg View File

@ -25,7 +25,7 @@ tcp_children=8
######################################################################
## Core Logging Parameters
######################################################################
debug=4
debug=3
sip_warning=0
log_stderror=no
log_facility=LOG_LOCAL0
@ -430,7 +430,7 @@ route
}
# 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)))
{
@ -444,8 +444,6 @@ route
ds_select_domain("1", "4");
xlog("L_INFO", " Selecting domain from set 1 using round-robin [$rd]");
t_on_failure("1");
}
@ -533,9 +531,9 @@ failure_route[1]
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())
{
@ -548,7 +546,7 @@ failure_route[1]
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");


Loading…
Cancel
Save