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....
Shay_Ben-David1
Nimbostratus
Feb 09, 2009here is something that helped me:
when SIP_REQUEST {
pool mypool
set id "[persist lookup sip [SIP::call_id]]"
log local0.alert "ID found in lookup is: $id"
if { [llength $id] } {
log local0.alert "In if select pool"
return
}
set id "[SIP::call_id] any virtual"
set sessionInfo [session lookup uie $id]
log local0.alert "Session information found is: $sessionInfo"
if { [llength $sessionInfo] } {
log local0.alert "Choosing member acording to session info"
pool mypool member $sessionInfo
}
}
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
