SIP MRF ALG Support for RFC-7315 Implicit Registration
Published Sep 13, 2018
Version 1.0Was this article helpful?
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\""
}