Browse Source

update to query correctly

KAZOO-5650
Mark Magnusson 9 years ago
parent
commit
048f9e4528
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/default.cfg

+ 1
- 1
kamailio/default.cfg View File

@ -602,7 +602,7 @@ route[INTERNAL_TO_EXTERNAL_RELAY]
if ($hdr(X-KAZOO-AOR) != $null) {
xlog("L_INFO", "$ci|log|using AOR $hdr(X-KAZOO-AOR)\n");
if ($hdr(X-KAZOO-INVITE-FORMAT) == "contact") {
if(lookup("location") > 0){
if(lookup("location", "$hdr(X-KAZOO-AOR)") > 0){
xlog("L_INFO", "$ci|end|routing to contact $ru\n");
} else {
xlog("L_INFO", "$ci|end|lookup for AOR $hdr(X-KAZOO-AOR) failed\n");


Loading…
Cancel
Save