Skip to content

Commit

Permalink
replace kamailio functions with library functions
Browse files Browse the repository at this point in the history
  • Loading branch information
boettner committed Sep 27, 2018
1 parent d53b24f commit 7577f72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/kamailio/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ function actions.relay_message()
end

if KSR.tm.t_relay()<0 then
KSR.sl.sl_reply_error();
reply.with_stateless_error_and_exit()
end
KSR.x.exit();
core.exit();
end

function actions.route_to_location()
Expand All @@ -79,10 +79,10 @@ function actions.route_to_location()
if message.is_invite() then
core.set_flag(FLT_ACCMISSED)
end

actions.relay_message()
core.exit()

end

return actions
return actions

0 comments on commit 7577f72

Please sign in to comment.