[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeswitch-dev
Subject:    Re: [Freeswitch-dev] lua executing application after hangup
From:       Anthony Minessale <anthony.minessale () gmail ! com>
Date:       2011-10-07 17:14:12
Message-ID: CAKbxfG9Ciwh2kgzxnvAdEy6fw=GuKG6Gk1tZL=_cmUTcYtHcag () mail ! gmail ! com
[Download RAW message or body]

you need to update to lastest git and execute the app set_zombie_exec
before the channel has hungup.



On Fri, Oct 7, 2011 at 7:13 AM, succer110@tiscali.it
<succer110@tiscali.it> wrote:
> Hi,
> I'm writing some part of dialplan in lua and after bridge a have to execute
> an application.
> I receive this: "Channel is hungup, aborting execution of application:
> antani-postdial".
> Of course i've tried all the kind of app interface flags.
> my dialstring contains right variable:
> 2011-10-07 13:07:51.817103 [DEBUG] switch_event.c:1168 Parsing variable
> [continue_on_fail]=[true]
> 2011-10-07 13:07:51.817103 [DEBUG] switch_event.c:1168 Parsing variable
> [hangup_after_bridge]=[false]
> p.s.
> in the docs i can find "SAF_ZOMBIE_EXEC" but it's not in my switch_types.h
> 
> what can i do to exec my postdial application in my lua?
> 
> dialstring="{ignore_early_media=true,originate_timeout=90,continue_on_fail=true,hangup_after_bridge=false}"..dialstring
>  local sessionB = freeswitch.Session(dialstring);
> freeswitch.bridge(session, sessionB)
> session:execute("antani-postdial", i);
> 
> 
> Thank you! =)
> 
> 
> 
> E' nata indoona: chiama, videochiama e messaggia Gratis.
> Scarica indoona per iPhone, Android e PC
> 
> 
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> 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
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900

_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic