Ver código fonte

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

Дилян Палаузов 1 mês atrás
pai
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
 SIP response to source port.
 
-### KSR.is_method() ###
+### KSR.is_method(...) ###
 
 `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")`
 
@@ -882,13 +882,13 @@ Example:
 KSR.setdsturi("sip:voip.com:5061;transport=tls");
 ```
 
-### KSR.resetdsturi(...) ###
+### KSR.resetdsturi() ###
 
 `bool KSR.resetdsturi()`
 
 Reset the destination URI (aka: outbound proxy address, dst_uri, $du).
 
-### KSR.isdsturiset(...) ###
+### 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
 module function.
 
-### KSR.x.exit(...) ###
+### 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
 can trigger the stop of the application, in this case stopping Kamailio completely.
 
-### KSR.x.drop(...) ###
+### KSR.x.drop() ###
 
 `void KSR.x.drop()`