SIP MRF ALG Support for RFC-7315 Implicit Registration
Problem this snippet solves: The SIP MRF ALG, when used with an LSN pool, provides the ability to inspect SIP messages and modify all of the appropriate headers with a CGNAT LSN pool.
However, in ...
Published Sep 13, 2018
Version 1.0torzillo_89761
Historic F5 Account
Joined November 19, 2008
torzillo_89761
Historic F5 Account
Joined November 19, 2008
torzillo_89761
Sep 13, 2018Historic F5 Account
I think the audioport, videoport, and applicationport need to be modified as follows:
Check if there is an audioport, if so append audio information to header
Audioport is in the SDP information and is m=audio followed by a port number like m=audio 24680 RTP/AVP 98 99
if { $audioport ne "" } {
set UE "\"\[$clientaddr\]:$audioport\""
append header ",audio;src=$UE;msrc=\"\[[IP::local_addr]\]:$audioport\";dst=\"\[$vip\]:$vipport\""
}
Append application port to header if applicable
if { $applicationport ne "" } {
set UE "\"\[$clientaddr\]:$applicationport\""
append header ",application;src=$UE;msrc=\"\[[IP::local_addr]\]:$applicationport\";dst=\"\[$vip\]:$vipport\""
}
Append video port to header if applicable
if { $videoport ne "" } {
set UE "\"\[$clientaddr\]:$videoport\""
append header ",video;src=$UE;msrc=\"\[[IP::local_addr]\]:$videoport\";dst=\"\[$vip\]:$vipport\""
}