<div dir="ltr"><div>i set the dialplan to call test.lua by adding</div><div><action application="lua" data="test.lua"/></div><div><br></div><div>it works fine when placing it before a "bridge" action, like </div>
<div><action application="lua" data="test.lua"/></div><div><action application="bridge" data="user/${dialed_extension}"/></div><div><br></div><div>but if i put "lua" after "bridge"</div>
<div><action application="bridge" data="user/${dialed_extension}"/></div><div><action application="lua" data="test.lua"/></div><div><br></div><div>then test.lua is not executed, no matter the dialed_extension answered the call or not,</div>
<div><br></div><div>my question is:</div><div>1. why is this happening?</div><div>2. how can i get test.lua get executed after "bridge"?</div><div><br></div></div>