瀏覽代碼

listed kemi core functions for checking method type

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

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

@@ -83,6 +83,58 @@ if KSR.is_method_in("IABC") then
 end
 ```
 
+### KSR.is_INVITE() ###
+
+`bool is_INVITE()`
+
+### KSR.is_ACK() ###
+
+`bool is_ACK()`
+
+### KSR.is_BYE() ###
+
+`bool is_BYE()`
+
+### KSR.is_CANCEL() ###
+
+`bool is_CANCEL()`
+
+### KSR.is_REGISTER() ###
+
+`bool is_REGISTER()`
+
+### KSR.is_MESSAGE() ###
+
+`bool is_MESSAGE()`
+
+### KSR.is_SUBSCRIBE() ###
+
+`bool is_SUBSCRIBE()`
+
+### KSR.is_PUBLISH() ###
+
+`bool is_PUBLISH()`
+
+### KSR.is_NOTIFY() ###
+
+`bool is_NOTIFY()`
+
+### KSR.is_OPTIONS() ###
+
+`bool is_OPTIONS()`
+
+### KSR.is_INFO() ###
+
+`bool is_INFO()`
+
+### KSR.is_UPDATE() ###
+
+`bool is_UPDATE()`
+
+### KSR.is_PRACK() ###
+
+`bool is_PRACK()`
+
 ### KSR.is_myself(...) ###
 
 `bool KSR.is_myself("uri")`