

switch_ivr_play_say.c:1942 done playing file /usr/share/freeswitch/sounds/en/us/callie/ivr/ivr-welcome_to_freeswitch.wav switch_cpp.cpp:1376 About to play 'ivr/ivr-welcome_to_freeswitch.wav switch_channel.c:3781 Callstate Change EARLY -> ACTIVE Output mod_dialplan_xml.c:637 Processing altanai ->5000 in context publicĮXECUTE lua(/etc/freeswitch/dialplan/lua_session_answer_prompt_a) "ivr-welcome_to_freeswitch.wav"įnsoleLog("WARNING","About to play '".
#Zoiper no transports left to try 503 windows#
Windows users do this instead pathsep = '' Create a string with path and filename of a sound file Session:streamFile("silence_stream://100000")ģ.Program to answer call, play file and hangup using session class methods - Answer call, play a prompt, hang up we could also check is session is active and play a file inot the call if session:ready() then In the program, we could get status and print to console log local api = freeswitch.API()Ģ.

Saves on the effort to resatrt the freeswitch server while loading updated script.

Among many programming engines supported by FreeSWITCH and Kamailio, Lua is very handy to add business logic to call control by integrating with the telecom server.įorm the a multiple choice, Lua is the prefered language for scripting in SIP server which is due to Lua ( ) is a small, powerful and lightweight scripting language, mostly used for embedded and gaming use cases.
