Browse Source

core/kemi: functions KSR.is_method() and KSR.is_method() are with parameters

Дилян Палаузов 1 month ago
parent
commit
e9100a40be

+ 4 - 4
kamailio-kemi-framework/docs/core.md

@@ -175,7 +175,7 @@ end
 Add rport parameter to the top Via of the incoming request and sent the
 Add rport parameter to the top Via of the incoming request and sent the
 SIP response to source port.
 SIP response to source port.
 
 
-### KSR.is_method() ###
+### KSR.is_method(...) ###
 
 
 `bool is_method(str "vmethod")`
 `bool is_method(str "vmethod")`
 
 
@@ -188,7 +188,7 @@ if(KSR.is_method("INVITE")) {
 }
 }
 ```
 ```
 
 
-### KSR.is_method_in() ###
+### KSR.is_method_in(...) ###
 
 
 `bool is_method_in(str "vmethod")`
 `bool is_method_in(str "vmethod")`
 
 
@@ -882,13 +882,13 @@ Example:
 KSR.setdsturi("sip:voip.com:5061;transport=tls");
 KSR.setdsturi("sip:voip.com:5061;transport=tls");
 ```
 ```
 
 
-### KSR.resetdsturi(...) ###
+### KSR.resetdsturi() ###
 
 
 `bool KSR.resetdsturi()`
 `bool KSR.resetdsturi()`
 
 
 Reset the destination URI (aka: outbound proxy address, dst_uri, $du).
 Reset the destination URI (aka: outbound proxy address, dst_uri, $du).
 
 
-### KSR.isdsturiset(...) ###
+### KSR.isdsturiset() ###
 
 
 `bool KSR.isdsturiset()`
 `bool KSR.isdsturiset()`
 
 

+ 2 - 2
kamailio-kemi-framework/docs/kemimods.md

@@ -25,7 +25,7 @@ this function, check if it has fixup and fixup-free functions in the C code in o
 If you are not sure how to do the check, ask on sr-users mailing list if it is safe to use it for a specific
 If you are not sure how to do the check, ask on sr-users mailing list if it is safe to use it for a specific
 module function.
 module function.
 
 
-### KSR.x.exit(...) ###
+### KSR.x.exit() ###
 
 
 `void KSR.x.exit()`
 `void KSR.x.exit()`
 
 
@@ -49,7 +49,7 @@ from the main KEMI callback functions (e.g., for SIP request routing do `return`
 IMPORTANT: be careful with the native `exit` functions in some KEMI interpreters, such as Lua, because they
 IMPORTANT: be careful with the native `exit` functions in some KEMI interpreters, such as Lua, because they
 can trigger the stop of the application, in this case stopping Kamailio completely.
 can trigger the stop of the application, in this case stopping Kamailio completely.
 
 
-### KSR.x.drop(...) ###
+### KSR.x.drop() ###
 
 
 `void KSR.x.drop()`
 `void KSR.x.drop()`