Hi.
I am doing outbound call using below lua script
obSession = freeswitch.Session("sofia/gateway/voipms/14165555555");
if obSession:ready() then
obSession:execute("sched_hangup","+60 alloted_timeout");
freeswitch.bridge(session,obSession);
else
local obCause = obSession:hangupCause()
freeswitch.consoleLog("info", "obSession:hangupCause() = " .. obCause )
if ( obCause == "USER_BUSY" ) then
elseif ( obCause == "NO_ANSWER" ) then
-- Call them back in an hour
elseif ( obCause == "ORIGINATOR_CANCEL" ) then
-- May need to check for network congestion or problems
else
-- Log these issues
end
endAfter call established (phone is ringing not answered) , immediately its get getting disconnected after that.
Since, I could not able to use patebin ( Its asking user name and password again and again , no success )