Hello!
I have two extensions in one lua context:
["55555"] = function(c ,e)
app.noop("AAAAAAAAAA")
app.gosub(c, "test", 1)
app.noop("ZZZZZZZZZZZZ")
app.hangup()
end;
["test"] = function(c ,e)
app.noop("BBBBBBBBBBBB: " .. e)
app['return']()
end;
After executing “test” extension it is not returning to extension 55555. Where is the error? I have this lines in console:
-- Executing [55555@kamailio:1] noop("SIP/siptest-00000007", "AAAAAAAAAA")
-- Executing [55555@kamailio:1] gosub("SIP/siptest-00000007", "kamailio,test,1")
-- Executing [test@kamailio:1] noop("SIP/siptest-00000007", "BBBBBBBBBBBB: test")
-- Executing [test@kamailio:1] return("SIP/siptest-00000007", "")
-- Auto fallthrough, channel 'SIP/siptest-00000007' status is 'UNKNOWN'