|
|
@ -586,7 +586,7 @@ onreply_route[INTERNAL_REPLY] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
##### CALL-PARK #### |
|
|
##### CALL-PARK #### |
|
|
if (is_method("REFER") && $T_reply_code == "202" ) { |
|
|
|
|
|
|
|
|
if (is_method("REFER") && t_check_status("(200)|(202)") ) { |
|
|
$sht(park=>$(avp(refer_to_uri){uri.user})@$(avp(refer_to_uri){uri.domain})) = "sip:" + $(ct{tobody.uri}{uri.host}) + ":" + $(ct{tobody.uri}{uri.port}); |
|
|
$sht(park=>$(avp(refer_to_uri){uri.user})@$(avp(refer_to_uri){uri.domain})) = "sip:" + $(ct{tobody.uri}{uri.host}) + ":" + $(ct{tobody.uri}{uri.port}); |
|
|
xlog("L_INFO", "PARK $(avp(refer_to_uri){uri.user})@$(avp(refer_to_uri){uri.domain}) = sip:$(ct{tobody.uri}{uri.host}):$(ct{tobody.uri}{uri.port})"); |
|
|
xlog("L_INFO", "PARK $(avp(refer_to_uri){uri.user})@$(avp(refer_to_uri){uri.domain}) = sip:$(ct{tobody.uri}{uri.host}):$(ct{tobody.uri}{uri.port})"); |
|
|
} |
|
|
} |
|
|
|