Browse Source

listed kemi core functions for checking method type

Daniel-Constantin Mierla 7 years ago
parent
commit
c4f63e284d
1 changed files with 52 additions and 0 deletions
  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")`