Module: kamailio
Branch: master
Commit: 1dc11a0d8bde968586b1388fe1e021e920d5ea22
URL:
https://github.com/kamailio/kamailio/commit/1dc11a0d8bde968586b1388fe1e021e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-04-27T15:07:49+02:00
examples/kemi: fixed return code for lua script handling requests within dlg
---
Modified: examples/kemi/kamailio-basic-kemi-lua.lua
---
Diff:
https://github.com/kamailio/kamailio/commit/1dc11a0d8bde968586b1388fe1e021e…
Patch:
https://github.com/kamailio/kamailio/commit/1dc11a0d8bde968586b1388fe1e021e…
---
diff --git a/examples/kemi/kamailio-basic-kemi-lua.lua
b/examples/kemi/kamailio-basic-kemi-lua.lua
index 56f9e09..99d5236 100644
--- a/examples/kemi/kamailio-basic-kemi-lua.lua
+++ b/examples/kemi/kamailio-basic-kemi-lua.lua
@@ -154,7 +154,7 @@ end
-- Handle requests within SIP dialogs
function ksr_route_withindlg()
- if KSR.siputils.has_totag()<0 then return -255; end
+ if KSR.siputils.has_totag()<0 then return 1; end
-- sequential request withing a dialog should
-- take the path determined by record-routing