Browse Source

freeswitch 1.6.20 has trouble finding params

drop_requests
lazedo 8 years ago
committed by GitHub
parent
commit
0132ccf2f7
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/fast-pickup-role.cfg

+ 3
- 3
kamailio/fast-pickup-role.cfg View File

@ -81,14 +81,14 @@ route[FAST_PICKUP_ATTEMPT]
if($du != $null) {
if($(kzR{kz.json,Other-Leg-Call-ID}) == "") {
## not bridged
$var(rep) = $_s($hdr(Replaces);a-leg=true);
$var(rep) = $_s($var(replaced_call_id);a-leg=true);
} else {
## ensure early-only=true
$var(rep) = $_s($(hdr(Replaces){re.subst,/;early-only//});early-only=true);
$var(rep) = $_s($var(replaced_call_id);early-only=true);
}
remove_hf_re("^Replaces");
append_hf("Replaces: $var(rep)\r\n");
xlog("L_INFO", "$ci|log|call-id $var(replaced_call_id) found redirecting call ($(ru{uri.user})) to $du\n");
xlog("L_INFO", "$ci|log|call-id $var(replaced_call_id) found, redirecting call ($(ru{uri.user})) to $du => $var(rep)\n");
route(EXTERNAL_TO_INTERNAL_RELAY);
exit();
} else {


Loading…
Cancel
Save