hi vitalii,
just add this line into your Lua script:
session:execute("sleep","5000")
i hope this is what you need.
-nandy
Hi dear community,I am using a Lua script that is being executed when a call reaches a particular extension, say 1001.It works ok, but it answers immediately when call reaches the system.How can I make it to wait 5-10 seconds (so the caller will hear several ringtones) and only after that the Lua script should answer and start the processing?Thank you,Vitalie
_______________________________________________
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