Browse Source

fix invite format (#93)

4.0
lazedo 9 years ago
committed by bitbashing
parent
commit
5c7c93eba1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      kamailio/default.cfg

+ 3
- 1
kamailio/default.cfg View File

@ -555,6 +555,7 @@ route[PREPARE_INITIAL_REQUESTS]
if ( is_method("INVITE|MESSAGE|NOTIFY") && isflagset(FLAG_INTERNALLY_SOURCED) && $hdr(X-KAZOO-AOR) != $null && registered("location", "$hdr(X-KAZOO-AOR)"))
{
$avp(kazoo_aor) = $hdr(X-KAZOO-AOR);
$avp(kazoo_du) = $xavp(ulrcd=>received);
xlog("L_INFO", "$ci|end|setting aor avp : AOR : $hdr(X-KAZOO-AOR)");
};
@ -585,7 +586,8 @@ route[INTERNAL_TO_EXTERNAL_RELAY]
if( $avp(kazoo_aor) != $null)
{
lookup("location", "$avp(kazoo_aor)");
# lookup("location", "$avp(kazoo_aor)");
$du = $avp(kazoo_du);
xlog("L_INFO", "$ci|end|routing to $ruid : AOR : $avp(kazoo_aor)");
}


Loading…
Cancel
Save