Fix for IMS call between UEs not supporting preconditioning
This commit is contained in:
@@ -130,6 +130,14 @@ route[NATMANAGE] {
|
||||
return;
|
||||
#!endif
|
||||
|
||||
# Fix for calling between UEs not supporting preconditioning
|
||||
if(sdp_get_line_startswith("$avp(mline)", "a=inactive")) {
|
||||
xlog("m-line: $avp(mline)\n");
|
||||
sdp_remove_line_by_prefix("a=inactive");
|
||||
$sdp(body) = $sdp(body) + "a=sendrecv\r\n";
|
||||
msg_apply_changes();
|
||||
}
|
||||
|
||||
if ((is_reply() && ($T_req($tt) != $null)) || (is_request() && has_totag())) {
|
||||
if (($fU != $null && is_in_profile("caller", "$fU")) ||
|
||||
($tU != $null && is_in_profile("callee", "$tU"))) {
|
||||
|
Reference in New Issue
Block a user