Browse Source

add cflags from contact to branch flags

* sets nat flags if device is registered
  and kazoo invite format is not contact
master
lazedo 6 years ago
parent
commit
20df3987b7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      kamailio/default.cfg

+ 1
- 0
kamailio/default.cfg View File

@ -865,6 +865,7 @@ route[ROUTE_TO_AOR]
} else if (reg_fetch_contacts("location", "$hdr(X-KAZOO-AOR)", "callee")) {
$du = $(ulc(callee=>received));
$fs = $(ulc(callee=>socket));
$bf = $bf | $(ulc(callee=>cflags));
xlog("L_INFO", "$ci|log|routing $hdr(X-KAZOO-AOR) to $du via $fs\n");
$avp(aor) = $hdr(X-KAZOO-AOR);
} else {


Loading…
Cancel
Save