Hi Michael,I set in my dialplan:<action application="set" data="session_in_hangup_hook=true"/>and in my hangup hook I am doing this:sub hupHook{freeswitch::consoleLog("err","In Sub hupHook\n");my $endDispo = $api->executeString("uuid_getvar $uuid endpoint_disposition XML");chomp($endDispo);#freeswitch::consoleLog("INFO","Endpoint dispostion huphook is: $endDispo\n");}on console its showing this:2013-05-15 11:51:13.157662 [INFO] switch_cpp.cpp:1275 Endpoint dispostion huphook is: -ERR No such channel!
On Wed, May 15, 2013 at 3:42 AM, Michael Collins <msc@freeswitch.org> wrote:On Mon, May 13, 2013 at 10:31 PM, Ashish gautam <ashish@nms.co.in> wrote:
Session gets dissolved in hangupHook and we cannot do anything on the basis of UUIDNormally yes, but that's why we have the chan var session_in_hangup_hook. Try setting that to true and then using your api_hangup_hook.
-MCOn Mon, May 13, 2013 at 2:34 PM, Telecube - John <john@telecube.com.au> wrote:
If you are using Lua script there is ' session:setHangupHook' detailed here: http://wiki.freeswitch.org/wiki/Mod_lua#session:setHangupHook
I assume there's something similar in the xml configs
Regards,
John
On 13/05/13 5:20 PM, Ashish gautam wrote:
Hi,
Is there anything like hangup extension which gets executed after the call is hung up for which the UUID is same and based on that I can do things for the same call like we have in Asterisk?
Thanks.
Regards,
--Ashish
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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