Browse Source

fix syntax

drop_requests
lazedo 8 years ago
committed by GitHub
parent
commit
533c2306db
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      kamailio/dispatcher-role.cfg

+ 3
- 3
kamailio/dispatcher-role.cfg View File

@ -22,7 +22,7 @@ modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_ping_reply_codes", "501,403,404,400,200") modparam("dispatcher", "ds_ping_reply_codes", "501,403,404,400,200")
modparam("dispatcher", "ds_ping_from", "sip:sipcheck@MY_HOSTNAME") modparam("dispatcher", "ds_ping_from", "sip:sipcheck@MY_HOSTNAME")
#!include_file "dispatcher-network-params.cfg"
#!import_file "dispatcher-network-params.cfg"
## Dispatcher Groups: ## Dispatcher Groups:
## 1 - Primary media servers ## 1 - Primary media servers
@ -34,7 +34,7 @@ modparam("dispatcher", "ds_ping_from", "sip:sipcheck@MY_HOSTNAME")
####### Dispatcher Logic ######## ####### Dispatcher Logic ########
route[DISPATCHER_CLASSIFY_SOURCE] route[DISPATCHER_CLASSIFY_SOURCE]
{ {
#!include_file "dispatcher-network-classify.cfg"
#!import_file "dispatcher-network-classify.cfg"
if (is_myself("$ou")) { if (is_myself("$ou")) {
xlog("L_INFO", "$ci|log|original R-URI ($ou) is this proxy, treating as external sources\n"); xlog("L_INFO", "$ci|log|original R-URI ($ou) is this proxy, treating as external sources\n");
@ -83,7 +83,7 @@ route[DISPATCHER_FIND_ROUTES]
route(FAST_PICKUP_ATTEMPT); route(FAST_PICKUP_ATTEMPT);
#!endif #!endif
#!include_file "dispatcher-network-find.cfg"
#!import_file "dispatcher-network-find.cfg"
if (!ds_select_dst("$var(ds_primary_group)", "0") || $(avp(ds_dst)[0]) == $null) { if (!ds_select_dst("$var(ds_primary_group)", "0") || $(avp(ds_dst)[0]) == $null) {
# if we selected from primary group, try again in backup group # if we selected from primary group, try again in backup group


Loading…
Cancel
Save