Forum Discussion
Evelin_195902
Nimbostratus
Aug 20, 2015SIP 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 LT...
SyedNazir_20946
Aug 21, 2015Historic F5 Account
Hi Evelin,
It is little tricky here as F5 has to act as a ALG. F5 has to update/insert the Record-Record header based on where the request/response is coming from.
If the request/response is coming from Client without Record-Route header then F5 has to insert the header with SNAT IP. But if the header is already present with VIP as value then F5 has to update the value with SNAT IP.
If the request/response is coming from SIP server without Record-Route header then F5 has to insert the header with VIP. But if the header is already present with value as SNAT IP then F5 has to update the value with VIP.
To know whether SIP message is coming from Client or SIP server you can use clientside command.
if { [clientside] } { Message from Client
SIP::header insert "Record-Route" SNATIP
} else { Message from Server
SIP::header insert "Record-Route" VIP
}
- Syed Nazir
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
