Module: kamailio
Branch: master
Commit: b4a837ca0f3426ca30e7f51a6c21113462f3463e
URL:
https://github.com/kamailio/kamailio/commit/b4a837ca0f3426ca30e7f51a6c21113…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2018-05-05T09:37:27+02:00
Merge pull request #1523 from surendratiwari3/kamailio_lua_config_append_hf
misc:kemi_lua append_hf to append
---
Modified: misc/examples/kemi/kamailio-basic-kemi-lua.lua
---
Diff:
https://github.com/kamailio/kamailio/commit/b4a837ca0f3426ca30e7f51a6c21113…
Patch:
https://github.com/kamailio/kamailio/commit/b4a837ca0f3426ca30e7f51a6c21113…
---
diff --git a/misc/examples/kemi/kamailio-basic-kemi-lua.lua
b/misc/examples/kemi/kamailio-basic-kemi-lua.lua
index ed973f171b..295d502aa1 100644
--- a/misc/examples/kemi/kamailio-basic-kemi-lua.lua
+++ b/misc/examples/kemi/kamailio-basic-kemi-lua.lua
@@ -325,7 +325,7 @@ end
function ksr_route_sipout()
if KSR.is_myself(KSR.pv.get("$ru")) then return 1; end
- KSR.hdr.append_hf("P-Hint: outbound\r\n");
+ KSR.hdr.append("P-Hint: outbound\r\n");
ksr_route_relay();
KSR.x.exit();
end