Forum Discussion
Romel_77740
Nimbostratus
Jun 14, 2010manipulating SIP request URI domain name
I need to replace the domain name of a SIP Request-URI to the local Virutal IP addr of my LTM only if domain name is xyz.com. How can I do this?
- hoolio
Cirrostratus
Hi Romel,when SIP_REQUEST { Check if URI contains xyz.com if {[SIP::uri] contains "xyz.com" }{ Replace xyz.com with the VIP address SIP::uri [string map "xyz.com [IP::local_addr]" [SIP::uri]] } }
- Romel_77740
Nimbostratus
Thanks for the reply. - hoolio
Cirrostratus
It's not "my" wiki per se--I'm not an F5 employee--but it's our wiki as users. Any logged in user can edit any of the wiki pages, so you should be able to do that now. In fact it would be great if you wanted to add an example.
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