SIP Record-route problem
Hi guys, I would need your help regarding inserting Record-route header information in SIP profile. The scenario is as follows:
SIP agent -> Virtual Server+SIP+SNAT Automap profile applied on LTM -> SIP server as a pool member
In order to avoid direct communication between SIP agent and SIP server I got Record-route header insertion applied in my SIP profile. The thing is that record route inserts my Virtual server IP so any new request coming from SIP agent hit VIP and then get translated using Automap (source address of the IP request is LTM's private IP) and hit SIP server, same for the replies. So far so go good, but when SIP server needs to initiate a SIP request (like OPTIONS, BYE, INFO) it uses the Record-route information (pointing to Public Virtual server IP, instead of the private LTM IP) and construct a ROUTE header and sends its request to public Virtual server address instead of the private LTM IP. This is making a loop as SIP server sends SIP requests to its VIP, hense itself. My question is how can I make SIP server to sends its SIP requests to the Automap private IP instead of to public Virtual server ip.
Thank you!