Forum Discussion
SIP SDP::media conn <media-index> “new value” re-write command not working</media-index>
Blake, Looks like this is still a issue, did you get any where with this?
- dustin_l_campbeNov 28, 2016
Nimbostratus
I had to modify the same information and couldn't get it to fully remove/replace the private IP information from the Contact portion of the SDP body. I did however, get it to add a second line for "Connection Information" through an iRule and now calls are working correctly. Here's the iRule I used:
when SIP_RESPONSE_SEND {
SIP::header remove Contact
SIP::header insert Contact
SDP::media conn 0 "IN IP4 xx.xx.xx.xx" }
I removed the SIP header "Contact" and inserted the appropriate IP, which for me was the VIP. Then the SDP line adds the VIP in the SDP body portion of the packet. Again, this doesn't remove the other private IP information from my server on the inside, but it does add another contact line and the end user/clients seem to be using that last line so calls (SIP and RTP) are now flowing through the F5.
The rest of my setup includes two virtual servers; one for UDP 5060 with a SIP profile, SIP-persistence profile, and a UDP profile. The second (RTP VS) is for all UDP services with only a UDP profile. I know it's super late on this thread, but I see another comment from 3 weeks ago so I decided to respond.
-Dustin
- ____177053Dec 12, 2018
Cirrus
Hi Dustin.I used SDP::media conn 0 "IN IP4 xx.xx.xx.xx",but the "Connection Information" still was not changed.Do you have some suggestion?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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