This should work, last parameter is the originate timeout in seconds. s = freeswitch.Session(); s:originate(session, "sofia/internal/1000@192.168.1.1", 10); /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Dmitry Saratsky [simpot@simpot.com] Skickat: den 5 mars 2011 20:53 Till: freeswitch-users@lists.freeswitch.org Ämne: [Freeswitch-users] How do I originiate new session from within LUA script? Hello all, According to wiki: http://wiki.freeswitch.org/wiki/Mod_lua#session:originate I can use: “session:originate” command in LUA script to originate new session, but I can’t understand how should I do it and can’t find any example how I use this command. Can you help, guys? Thanks, Dmitry. !DSPAM:4d72960532761307510204!