[Freeswitch-users] LUA script has problem with bridge action?

Vincent Xia gmangudai at gmail.com
Mon Jun 10 08:19:38 MSD 2013


i set the dialplan to call test.lua by adding
<action application="lua" data="test.lua"/>

it works fine when placing it before a "bridge" action, like
<action application="lua" data="test.lua"/>
<action application="bridge" data="user/${dialed_extension}"/>

but if i put "lua" after "bridge"
<action application="bridge" data="user/${dialed_extension}"/>
<action application="lua" data="test.lua"/>

then test.lua is not executed, no matter the dialed_extension answered the
call or not,

my question is:
1. why is this happening?
2. how can i get test.lua get executed after "bridge"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130610/6b5f3888/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list