Browse Source

misc:kemi_lua append_hf to append

surendratiwari3 7 năm trước cách đây
mục cha
commit
5ceb3b857d

+ 1 - 1
misc/examples/kemi/kamailio-basic-kemi-lua.lua

@@ -325,7 +325,7 @@ end
 function ksr_route_sipout()
 function ksr_route_sipout()
 	if KSR.is_myself(KSR.pv.get("$ru")) then return 1; end
 	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_route_relay();
 	KSR.x.exit();
 	KSR.x.exit();
 end
 end