Forum Discussion
Mauricio_Cusine
Nimbostratus
May 04, 2007RTCP Irule for version 9.4 using rtcp prifile
Hello,
We are using streaming with not problem in version 9.4, but We need to find a string ("MOT") in the rtcp header for balance motorola movile.
when RTSP_REQUEST {
if { not [R...
Deb_Allen_18
May 05, 2007Historic F5 Account
Hi Mauricio --
It looks like you are getting 2 different errors, at 2 different test points...
For the logical comparison error ("can't use empty string..."), you might try enclosing the "RTSP::header exists" function in () before negating it:
when RTSP_REQUEST {
if { !([RTSP::header exists "sesion"])}{
RTSP::header insert sesion 1
if {[RTSP::header value "User-Agent"] starts_with "MOT-"} {
pool VIDEOSTR_HELIX_RM
log VIDEOSTR_HELIX_RM
} else {
pool VIDEOSTR_HELIX_GATEWAY
log VIDEOSTR_HELIX_GATEWAY
}
}
}Not sure about the other. Usually means a node has already been selected and you're trying to re-select another without detaching first. The solutions I've seen for that are either to add a OneConnect profile to the virtual server or to add the "LB::detach" command to the iRule immediately before choosing a new node/pool.HTH
/deb
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
