User Tools

Site Tools


cookbooks:devel:selects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cookbooks:devel:selects [2013/12/04 00:19]
miconda
cookbooks:devel:selects [2018/11/23 11:55]
miconda
Line 1: Line 1:
-====== Kamailio SIP Server v4.2.x (devel): Selects Variables ======+====== Kamailio SIP Server v5.3.x (devel): Selects Variables ======
  
 The **select** is a READ-ONLY "function", that helps to get direct access to some parts of SIP message within the script (like @to, @cseg.method, @msg["P-anyheader-youwant"]), but generally it could be seen as a function with a certain number of parameters that returns a string. The **select** is a READ-ONLY "function", that helps to get direct access to some parts of SIP message within the script (like @to, @cseg.method, @msg["P-anyheader-youwant"]), but generally it could be seen as a function with a certain number of parameters that returns a string.
 +
 +Selects are available via pseudo-variable $sel(...), respectively **@name** corresponds to **$sel(name)**.
  
 Each module can extend the syntax the select framework understands by registering its own select table. Look at the TLS module or db_ops as good samples. Each module can extend the syntax the select framework understands by registering its own select table. Look at the TLS module or db_ops as good samples.
cookbooks/devel/selects.txt ยท Last modified: 2021/04/27 09:39 by miconda