Ver código fonte

kamailio-kemi-framework: docs for forward functions

Daniel-Constantin Mierla 7 anos atrás
pai
commit
4f39974120
1 arquivos alterados com 10 adições e 0 exclusões
  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")`