Forum Discussion
Stephane_Deshai
Sep 11, 2012Nimbostratus
Change IP in a SIP INVITE
I'm managed to change the IP in a SIP INVITE with this iRule :
when SIP_REQUEST {
if {[SIP::method] == "INVITE" && [SIP::uri] contains "10.215.186.38" }{
...
hooleylist
Sep 12, 2012Cirrostratus
Hi Stephane,
You can use getfield to split off the % and get just the IP:
set ip [getfield "1.1.1.1%10" "%" 1]
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects