Browse Source

ensure the list is non-empty

3.17
karl anderson 12 years ago
parent
commit
ff89e4dfc6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/dispatcher-role.cfg

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

@ -65,7 +65,7 @@ route[DISPATCHER_FIND_ROUTES]
} }
#!endif #!endif
if (!ds_select_dst("$var(ds_group)", "0")) {
if (!ds_select_dst("$var(ds_group)", "0") || $(avp(ds_dst)[0]) == $null) {
# if we selected from group 1, try again in group 2 # if we selected from group 1, try again in group 2
if ($var(ds_group) == 1) { if ($var(ds_group) == 1) {
if (!ds_select_dst("2", "0")) { if (!ds_select_dst("2", "0")) {


Loading…
Cancel
Save