Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions kamailio-kemi-framework/docs/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")`

Expand All @@ -188,7 +188,7 @@ if(KSR.is_method("INVITE")) {
}
```

### KSR.is_method_in() ###
### KSR.is_method_in(...) ###

`bool is_method_in(str "vmethod")`

Expand Down Expand Up @@ -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()`

Expand Down
4 changes: 2 additions & 2 deletions kamailio-kemi-framework/docs/kemimods.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`

Expand All @@ -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()`

Expand Down