Module: kamailio
Branch: master
Commit: 5ceb3b857d448fed1e819812dcb4a9724243cdb8
URL:
https://github.com/kamailio/kamailio/commit/5ceb3b857d448fed1e819812dcb4a97…
Author: surendratiwari3 <surendratiwari3(a)gmail.com>
Committer: surendratiwari3 <surendratiwari3(a)gmail.com>
Date: 2018-05-05T12:48:31+05:30
misc:kemi_lua append_hf to append
---
Modified: misc/examples/kemi/kamailio-basic-kemi-lua.lua
---
Diff:
https://github.com/kamailio/kamailio/commit/5ceb3b857d448fed1e819812dcb4a97…
Patch:
https://github.com/kamailio/kamailio/commit/5ceb3b857d448fed1e819812dcb4a97…
---
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