Hi, Some leads in the text, or as Peter told, you can also use ESL that maybe 'll scale better... Regards, Gled. Le 09/09/2011 15:23, Saugort Dario Garcia Tovar a écrit :
Hi,
I am playing with freeswitch scripting with lua. I want call to number, ex 1000, a script lua will process the call ( as an IVR), then transfer the call to an extension (or transfer the call to a queue, to get a free agent). Questions: How I add a pair data (key/value. ex ID/1234) to the call in the lua script? Check channel vars ( set / get / export ). How can check the data attached is avaliable to the end extension? Read vars ( getVar ). What you use to make screen pop call data when the call ring in the extension?
use the execute_on_answer or execute_on_ring variables, they allow you to fire a script when that condition is met.
Thanks
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
-- ********************************** * Tristan Mahé * * TELEMAQUE * * 80 route des Lucioles * * 06560 Valbonne * * Tel: +33 4.92.90.99.85 * * Mob: +33 6.24.16.43.01 * **********************************