|
|
|
@ -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"); |
|
|
|
|