# STREAM::expression Issues

**URL:** <https://community.f5.com/t/stream-expression-issues/38517>\
**Category:** Technical Forums\
**Tags:** dev, irules, devops, application-delivery\
**Created:** [April 20, 2009, 12:17pm UTC](https://community.f5.com/t/stream-expression-issues/38517 "2009-04-20T12:17:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnowina\_63180](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mnowina\_63180](https://community.f5.com/u/mnowina_63180)\
**Post date:** [April 20, 2009, 12:17pm UTC](https://community.f5.com/t/stream-expression-issues/38517/1 "2009-04-20T12:17:23Z")

</div>

Hi,

We recently upgraded our LTMs from 9.4.4 Hotfix 73 to 9.4.7 320.1 Final and have found that the following section of one of our iRules is no longer working:

regexp {(/[\w]+)(/[\w]+)\*.sdp} [RTSP::uri] request

if {($uri contains “something”)} {

STREAM::expression “@$request@/something.3gp@”

}

else {

STREAM::expression “@$request@/something\_else.3gp@”

}

STREAM::enable

}

I have verified the STREAM::esxpression is firing by adding the following event to the end of the rule:

when STREAM\_MATCHED {

log local0. “Matched: [STREAM::match]”

}

and it matches $request, but it no longer replaces the request with the new URI. Any thoughts on what might have changed across versions? This was working previously.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![hoolio](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@hoolio](https://community.f5.com/u/hoolio)\
**Post date:** [April 20, 2009, 4:39pm UTC](https://community.f5.com/t/stream-expression-issues/38517/2 "2009-04-20T16:39:47Z")

</div>

Hi Matt,

I did a simple test of a stream profile and iRule on 9.4.7 and it worked as expected. I’d suggest opening a case with F5 to troubleshoot this. If it’s something interesting, can you reply with what you find out?

Thanks,

Aaron

---

<div class="post-metadata">

**Author:** ![mnowina\_63180](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mnowina\_63180](https://community.f5.com/u/mnowina_63180)\
**Post date:** [April 20, 2009, 7:30pm UTC](https://community.f5.com/t/stream-expression-issues/38517/3 "2009-04-20T19:30:39Z")

</div>

Thanks hoolio, I’ll let you know what they come back with. Its very puzzling.

Matt

---

<div class="post-metadata">

**Author:** ![mnowina\_63180](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mnowina\_63180](https://community.f5.com/u/mnowina_63180)\
**Post date:** [April 28, 2009, 12:46pm UTC](https://community.f5.com/t/stream-expression-issues/38517/4 "2009-04-28T12:46:14Z")

</div>

So I’ve heard back from support and they’ve indicated that the stream command in RTSP events is not supported as of 9.4.6. Does anyone know why or what the last version was that supports stream commands in RTSP events?

I had this working in 9.4.4 Hotfix 73.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![markp\_58161](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@markp\_58161](https://community.f5.com/u/markp_58161)\
**Post date:** [June 19, 2009, 6:01pm UTC](https://community.f5.com/t/stream-expression-issues/38517/5 "2009-06-19T18:01:50Z")

</div>

The following CR has been created to track this issue: CR123590
