Jelajahi Sumber

kamailio-kemi-framework: some examples for uri/dst-uri functions

Daniel-Constantin Mierla 7 tahun lalu
induk
melakukan
29920d6034
1 mengubah file dengan 18 tambahan dan 0 penghapusan
  1. 18 0
      kamailio-kemi-framework/docs/core.md

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

@@ -357,14 +357,32 @@ KSR.seturi("sip:[email protected]");
 
 `bool KSR.setuser(str "user")`
 
+Example:
+
+```
+KSR.setuser("alice");
+```
+
 ### KSR.sethost(...) ###
 
 `bool KSR.sethost(str "host")`
 
+Example:
+
+```
+KSR.sethost("voip.com");
+```
+
 ### KSR.setdsturi(...) ###
 
 `bool KSR.setdsturi(str "uri")`
 
+Example:
+
+```
+KSR.setdsturi("sip:voip.com:5061;transport=tls");
+```
+
 ### KSR.resetdsturi(...) ###
 
 `bool KSR.resetdsturi()`