Forum Discussion
Raymond_Feng_97
Apr 20, 2005Historic F5 Account
How to use irules to do SIP outbounding proxy?
Hi, everyone
I am trying to do SIP proxy server loadbalance. By now, we can do loadbalance for inbound SIP request, I mean , from the client to the proxy server , just using SIP persistant....
Ulf_Wätterstam
Nimbostratus
Feb 25, 2008Hi,
Did you make this work?
We do something similar and have found out some things that can be good to know for anyone trying to load balance sip.
For me it felt natural to use mode because I was working with sip but that did not work together with keyword any
Example
On vs_1
session add sip [SIP::call_id] [LB::server addr] 180
session add uie [SIP::call_id] [LB::server addr] 180
On vs_2
session lookup sip "[SIP::call_id] any virtual"
This do not get back the stored value
session lookup uie "[SIP::call_id] any virtual"
But this do..
Simply use uie instead of sip, but it is strange that it did not work with mode sip.
Another thing that can be confusing is that when you choose a sip profile in your vs you will get the SIP::call_id as persistence value even though you choose None as your Default Persistence Profile. I'm not sure this make a different but we created a SIP persistence profile that never match and used that insted. With this we only have the values we set and want to use.
All this is valid for 9.4.3, I do not know if it is updated in any hotfix or in 9.4.4. Does anyone know?
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
