瀏覽代碼

kamailio-kemi-framework: docs for myself checks for dst uri and next hop uri

Daniel-Constantin Mierla 5 年之前
父節點
當前提交
20bc0a05b7
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      kamailio-kemi-framework/docs/core.md

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

@@ -322,6 +322,13 @@ if KSR.is_myself("sip:127.0.0.1:5060") then
 end
 ```
 
+### KSR.is_myself_duri() ###
+
+`bool is_myself_duri()`
+
+Return true if the destination URI (`$du`) matches a local socket (IP) or local
+domain.
+
 ### KSR.is_myself_furi() ###
 
 `bool is_myself_furi()`
@@ -335,6 +342,13 @@ if KSR.is_myself_furi() then
 end
 ```
 
+### KSR.is_myself_nhuri() ###
+
+`bool is_myself_nhuri()`
+
+Return true if the next hop URI (`$nh(u)`) matches a local socket (IP) or local
+domain.
+
 ### KSR.is_myself_ruri() ###
 
 `bool is_myself_ruri()`