[Freeswitch-users] Javascript: inconsistent session.ready() result when originating a call

Marc Kellem mkellem at vontoo.com
Mon Jun 28 10:37:33 PDT 2010


Anthony - I ported my test script to Lua and it has the same problem.

newSession = freeswitch.Session("{ignore_early_media=true}sofia/
192.168.1.10/1000")

if newSession:ready() then
    freeswitch.consoleLog("info", "Call connected\n" )
else
    local cause = newSession:hangupCause()
    freeswitch.consoleLog("err", "Call not connected. Cause: " .. cause ..
"\n" )
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100628/9c201c83/attachment.html 


More information about the FreeSWITCH-users mailing list