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?
It cleans up after itself fine, but it is an indication of some issue in the code we need to address. if you can reproduce this in svn trunk, please file a bug on jira.freeswitch.org with details how to reproduce. mike On Nov 5, 2009, at 12:44 PM, Artem Shiyanov 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
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Closed. As (almost) usual the reason was me. Anthony's hint works perfectly: api uuid_transfer <uuid> bridge:sofia/gateway/<somegateway>/<somenumber> inline Sorry for bothering! On Sat, Nov 7, 2009 at 3:08 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
participants (3)
-
Anthony Minessale
-
Artem Shiyanov
-
Michael Jerris