Forum Discussion
Stephane_Deshai
Nimbostratus
Sep 11, 2012Change 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" }{
...
hoolio
Cirrostratus
Sep 12, 2012Hi Stephane,
You can use getfield to split off the % and get just the IP:
set ip [getfield "1.1.1.1%10" "%" 1]
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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