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