Chapter 1.
RPC Exports for core
Lists all RPC methods supported by the server.
Returns an array.
2. system.methodSignature
Returns signature of given method.
Print the help string for given method.
Returns the strings given as parameters.
Returns an array.
Returns the integers given as parameters.
Returns an array.
Returns back its parameters.
Returns an array.
Returns the version string of the server.
Returns the compile flags.
Verbose info, including version number, compile flags,
compiler,repository hash a.s.o.
Returns uptime of SER server.
Returns the description of running SER processes.
Returns an array.
Returns the detailed description of running SER processes.
Returns the working directory of SER server.
Returns an array.
Returns the list of command line arguments used on SER startup.
Returns an array.
Sends the given signal to SER.
Returns shared memory info. It has an optional parameter that
specifies the measuring unit: b - bytes (default), k or kb, m
or mb, g or gb. Note: when using something different from
bytes, the value is truncated.
Returns tcp related info.
Returns active tcp options.
Returns tcp connections details.
Returns active sctp options. With one parameter it returns the
sctp options set in the kernel for a specific
socket(debugging), with 0 filled in for non-kernel related
options. The parameter can be: "default" |
"first" | address[:port] . With no parameters it
returns ser's idea of the current sctp options (intended
non-debugging use).
Returns sctp related info.
Returns udp4_raw related info.
List local SIP server host aliases
List local SIP server listen sockets
dns cache dump in a human-readable format
deletes all the non-permanent entries from the DNS cache
deletes all the entries from the DNS cache including the
permanent ones
adds an A record to the DNS cache
adds an AAAA record to the DNS cache
adds an SRV record to the DNS cache
deletes an A record from the DNS cache
deletes an AAAA record from the DNS cache
deletes an SRV record from the DNS cache
deletes a NAPTR record from the DNS cache
deletes a CNAME record from the DNS cache
deletes a TXT record from the DNS cache
deletes an EBL record from the DNS cache
deletes an PTR record from the DNS cache
43. dst_blacklist.mem_info
dst blacklist memory usage info.
dst blacklist debug info.
dst blacklist dump in human-readable format.
46. dst_blacklist.delete_all
Deletes all the entries from the dst blacklist except the
permanent ones.
Adds a new entry to the dst blacklist.
Chapter 2.
RPC Exports for cfg_rpc
Set the value of a configuration variable and commit the change
immediately
Set the value of a configuration variable and commit the change
immediately
Set the value of a configuration variable and commit the change
immediately
Set the value of a configuration variable and commit the change
immediately
Set the value of a configuration variable and commit the change
immediately
Delete the value of a configuration variable from a group
instance and commit the change immediately
Prepare the change of a configuration variable, but does not
commit the new value yet
Prepare the change of a configuration variable, but does not
commit the new value yet
9. cfg.set_delayed_string
Prepare the change of a configuration variable, but does not
commit the new value yet
Prepare the deletion of the value of a configuration variable
from a group instance, but does not commit the change yet
Commit the previously prepared configuration changes
Drop the prepared configuration changes
Get the value of a configuration variable
Print the description of a configuration variable
List the configuration variables
List the pending configuration changes that have not been
committed yet
Add a new instance to an existing configuration group
Delte an instance of a configuration group
Chapter 4.
RPC Exports for counters
get counter value (takes group and counter name as parameters)
reset counter (takes group and counter name as parameters)
get raw counter value (debugging version)
list all the counter group names
Returns an array.
list all the counters names in a specified group
Returns an array.
list all counter names and values in a specified group
print the description of a counter (group and counter name
required).
Chapter 10.
RPC Exports for dialog
Print all dialogs with associated context
Print dialog based on callid and fromtag
Print dialog with associated context based on callid and
fromtag
End a given dialog based on [h_entry] [h_id]
Returns the number of dialogs belonging to a profile
Lists all the dialogs belonging to a profile
Bridge two SIP addresses in a call using INVITE(hold)-REFER-BYE
mechanism: to, from, [outbound SIP proxy]
Chapter 21.
RPC Exports for malloc_test
Allocates the specified number of bytes (debugging/test
function).Use b|k|m|g to specify the desired size unit
Frees the specified number of bytes, previously allocated by
one of the other malloc_test functions (e.g. mt.mem_alloc or
the script mt_mem_alloc). Use b|k|m|g to specify the desired
size unit.Returns the number of bytes freed (can be higher or
smaller then the requested size)
Reallocates the specified number of bytes from a pre-allocated
randomly selected memory chunk. If no pre-allocated memory
chunks exists, it will fail. Make sure mt.mem_used is non 0 or
call mt.mem_alloc prior to calling this function. Returns the
difference in bytes (<0 if bytes were freed, >0 if more
bytes were allocated).Use b|k|m|g to specify the desired size
unit
Returns how many memory chunks and how many bytes are currently
allocated via the mem_alloc module functions. Use b|k|m|g to
specify the desired size unit.
Takes 4 parameters: min, max, total_size and an optional unit
(b|k|m|g). It will allocate total_size memory, in pieces of
random size betweenmin .. max (inclusive).
Takes 7 parameters: min, max, total_size, min_interval,
max_interval, test_time and an optional size unit (b|k|m|g).
All the time units are ms. It will run a memory allocation test
for test_time ms. At a random interval between min_interval and
max_interval ms. it will allocate a memory chunk with random
size, between min and max. Each time total_size is reached, it
will free all the memory allocated and start again.Returns the
test id (integer)
Takes 1 parameter: the test id. It will stop the corresponding
test.Note: the test is stopped, but not destroyed.
Takes 1 parameter: the test id. It will destroy the
corresponding test.
9. mt.mem_test_destroy_all
It will destroy all the tests (running or stopped).
If a test id parameter is provided it will list the
corresponding test, else it will list all of them. Use b |k | m
| g as a second parameter for the size units (default bytes)
Chapter 28.
RPC Exports for pipelimit
Print pipelimit statistics: <id> <load>
<counter>
Print pipes info: <id> <algorithm> <limit>
<counter>
Sets a pipe params: <pipe_id> <pipe_algorithm>
<pipe_limit>
Print PID Controller parameters for the FEEDBACK algorithm:
<ki> <kp> <kd>
Sets the PID Controller parameters for the FEEDBACK algorithm:
<ki> <kp> <kd>
Force the value of the load parameter for FEEDBACK algorithm:
<load>
Chapter 30.
RPC Exports for ratelimit
Print ratelimit statistics: PIPE[<pipe_id>]:
<last_counter>/<pipe_limit> (drop rate:
<drop_rate>)
Print pipes info: PIPE[<pipe_id>]:
<pipe_algo_id>:<pipe_algo>
<last_counter>/<pipe_limit> (drop rate:
<drop_rate>) [<current_counter>]
Sets a pipe params: <pipe_id> <pipe_algorithm>
<pipe_limit>
Print queues info: QUEUE[queue_id]:
<pipe_id>:<queue_method>
Sets queue params: <quue_id> <queue_method>
<pipe_id>
Print PID Controller parameters for the FEEDBACK algorithm:
<ki> <kp> <kd>
Sets the PID Controller parameters for the FEEDBACK algorithm:
<ki> <kp> <kd>
Force the value of the load parameter for FEEDBACK algorithm:
<load>
Sets the ratelimit debug/monitoing logs: 0-off 1-on
Chapter 31.
RPC Exports for sca
Documentation missing (sca_rpc_show_all_subscriptions_doc).
Documentation missing (sca_rpc_show_subscription_doc).
Documentation missing (sca_rpc_show_subscribers_doc).
4. sca.deactivate_all_subscriptions
Documentation missing
(sca_rpc_deactivate_all_subscriptions_doc).
5. sca.deactivate_subscription
Documentation missing (sca_rpc_deactivate_subscription_doc).
Documentation missing (sca_rpc_show_all_appearances_doc).
Documentation missing (sca_rpc_show_appearance_doc).
Documentation missing (sca_rpc_seize_appearance_doc).
Documentation missing (sca_rpc_update_appearance_doc).
10. sca.release_appearance
Documentation missing (sca_rpc_release_appearance_doc).
Chapter 36.
RPC Exports for tm
Cancel a pending transaction
Print transaction statistics.
Prints hash table statistics (can be used only if tm is
compiled with -DTM_HASH_STATS).
starts a tm uac using a list of string parameters: method,
ruri, dst_uri, send_sock, headers (CRLF separated) and body
(optional)
starts a tm uac and waits for the final reply, using a list of
string parameters: method, ruri, dst_uri send_sock, headers
(CRLF separated) and body (optional)
Returns an array.