Explorar o código

kamailio-kemi-framework: docs for forward functions

Daniel-Constantin Mierla %!s(int64=7) %!d(string=hai) anos
pai
achega
4f39974120
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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")`