F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. CrowdSRC
  3. CodeShare

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.0
application delivery
iRules
LTM
mrf sip alg
p-associated-uri
rfc-7315
sip
sip implicit registration
torzillo_89761's avatar
torzillo_89761
Historic F5 Account
Joined November 19, 2008
View Profile
torzillo_89761's avatar
torzillo_89761
Historic F5 Account
Sep 13, 2018

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\""
            }     


Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2024 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information