Hello,I'm writing a simple script with LUA to connect an inbound call to e new outbound call.Everything work fine but I can't set the ringback tone nor a waiting music on the leg A and also the call_timeout variable.The legA is in silence while the legB is ringing and the call_timeout is always the default 60 seconds.What is wrong with this code?ThanksThis is the code:...legA:streamFile("/usr/share/freeswitch/sounds/wait.wav")legA:setVariable("ringback", "$${uk-ring}")legA:setVariable("call_timeout", 30)legB = freeswitch.Session("{ignore_early_media=true, hangup_after_bridge=true, origination_caller_id_number=1234}sofia/internal/0123456789@myserver)if legB:ready() thenfreeswitch.bridge(legA, legB)endStefano Favaro
Sviluppo Servizi ed Applicazioni
_____________________