SIP Header manipulation

I’m new to SIP and I have a problem that I think can be solved with an iRule.

Within my SIP header I need the CONTACT information to reflect the VIP address and not the private address of my SIP server. Currently the packet looks lie this:

--cut--

Contact:

Contact Binding:

URI:

SIP contact address: sip:10.12.1.25

--cut--

I need it to look like this:

Contact: (hiding complete address)

Contact Binding:

URI:

SIP contact address: sip:66.43.x.x

I should clarify, that when I said “if the string you want to replace is within the data of the packet (as opposed to the header)” I meant the payload of the TCP or UDP packet the SIP is being sent in.

Aaron

I appreciate the response.

I’ve actually looked into a stream profile, but I don’t see a way to apply a stream profile to UDP traffic. Is that possible?