If you know the reason, why are you so puzzled by it?
I think you should not assume you understand what is happening unless you really do.

I think you need to provide an exact description of what you are doing so I can explain to you where you are making the mistake.

Make sure you are on latest SVN and reproduce this in a console log for us and add an exact description of what you are doing in detail.


On Thu, Nov 5, 2009 at 11:44 AM, Artem Shiyanov <shiyanov@gmail.com> wrote:
Hello!

I have to deal with classic problem: "Leaking stream handle" in FS console. I also know the reason - firstly channel is sent to the extension with "playback" and later it is transfered to another extensions with "execute_extension" or, another trouble-case - channel is bridged to some addres.
I do not ask (but I wish to) why FS doesn't close stream automatically when channel is gone.
I ask whether it is possible to use some "try.. finally" construction in diaplan? If "yes" then I can simply stop playback in the "finally" block..

Any thoughs?

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400