Forum Discussion
albert_forster_
Nimbostratus
Mar 31, 2005Session Persistency via Irules using RTSP
Hi,
we have the following problem (challenge):
we have to route RTSP streaming requests to a particular Helix Server based on a field value contained in the RTSP methods.
For example if we start with streaming the first method is the OPTION method, which does not contain full URL:
OPTIONS rtsp://158.226.219.222:554 RTSP/1.0
The following RTSP methods however contain the full URL, e.g.
DESCRIBE rtsp://158.226.219.222:554/real9video.rm?msisdn=022222220&transid=8767882&plan=pre&opcoid=CUSTOMER&iver=3>ime=1112096056&tokenname=opco1&guid=6834bee082744027ffa30003ba17d11c&life=0&key=5ED2B43301E4FDF4F5E0D1BAF38CA1FE RTSP/1.0
What we want to do is, everytime when a request comes to the F5 LB, the LB should analyze the URL and if e.g plan=pre, then the request shall be transferred to a particular pool member (Helix Server).
How can we define the appropriate IRule for this? We deactivated the HTTP profile on the LB to enable "native" RTSP streaming so that we don't have access to the HTTP methods for the IRule.
Probably we have to use the TCP (e.g. payload) method or something else.
We tried different things but it does not work properly.
Any ideas would be greatful.
Thanks a lot
Osman (osman.oendogan@siemens.com)
3 Replies
- Anthony_King_85Historic F5 AccountYou have two options:
- Ryan_Ooh_80360
Nimbostratus
Hi, when u said use tcp_payload to parse the DESCRIBE method, what did you mean by that? Do you have any rule example that i can refer? As i am facing the same problem with rtsp that use OPTION follow by DESCRIBE. Thanks - unRuleY_95363Historic F5 AccountTry searching the forum for examples. The TCP payload approach is quite involved and I'd highly recommend using the native rtsp support provided with the rtsp profile.
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