Can you pastebin a debug log of working vs. non-working? It would probably be helpful to see the entire extension as well as a complete Lua script. (You can write a minimal Lua script that demonstrates the behavior and then others can test.) Of course, the most important question: are you running latest HEAD? :)<br>
<br>-MC<br><br><div class="gmail_quote">On Mon, Oct 4, 2010 at 1:36 AM, Eli Hayun <span dir="ltr"><<a href="mailto:elihayunfs@gmail.com">elihayunfs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
Hi<br>
When I am dialing from A phone to B phone and I do :<br>
<br>
<action application="set" data="sip_auto_answer=true" /><br>
<action application="set" data="sip_h_Call-Info=<sip:${domain_name}>;answer-after=2" /><br>
<br>
everything is OK<br>
<br>
When I try from lua script <br>
api:executeString("originate [originate string] AUTO_ANS xml default")<br>
<br>
and in the dialplan I put the set autoanswer=true it is not working.<br>
<br>
any help?<br><font color="#888888">
<br>
Eli
</font></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>