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? :)

-MC

On Mon, Oct 4, 2010 at 1:36 AM, Eli Hayun <elihayunfs@gmail.com> wrote:
Hi
When I am dialing from A phone to B phone and I do :

      <action application="set" data="sip_auto_answer=true" />
       <action application="set" data="sip_h_Call-Info=<sip:${domain_name}>;answer-after=2" />

everything is OK

When I try from lua script
api:executeString("originate [originate string] AUTO_ANS xml default")

and in the dialplan I put the set autoanswer=true it is not working.

any help?

Eli

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org