浏览代码

kamailio-kemi-framework: docs for forward functions

Daniel-Constantin Mierla 7 年之前
父节点
当前提交
4f39974120
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      kamailio-kemi-framework/docs/core.md

+ 10 - 0
kamailio-kemi-framework/docs/core.md

@@ -386,10 +386,20 @@ Note: it doesn't not stop the execution of KEMI script, see KSR.x.drop().
 
 `int KSR.forward()`
 
+Forward the SIP request in stateless mode to the address set in destination
+URI ($du), or, if this is not set, to the address in request URI ($ru).
+
 ### KSR.forward_uri(...) ###
 
 `int KSR.forward_uri(str "uri")`
 
+Forward the SIP request in stateless mode to the address provided in the SIP
+URI parameter.
+
+```
+KSR.forward_uri("sip:127.0.0.1:5080;transport=tcp");
+```
+
 ### KSR.hdr.append(...) ###
 
 `int KSR.hdr.append(str "hdrval")`