[Freeswitch-dev] lua executing application after hangup
Anthony Minessale
anthony.minessale at gmail.com
Fri Oct 7 21:14:12 MSD 2011
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 at tiscali.it
<succer110 at 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 at 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list