Browse Source

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

Daniel-Constantin Mierla 5 years ago
parent
commit
20bc0a05b7
1 changed files with 14 additions and 0 deletions
  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()`