User Tools

Site Tools


cookbooks:devel:selects

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
cookbooks:devel:selects [2011/12/16 23:52]
miconda created
cookbooks:devel:selects [2017/11/18 17:20]
miconda
Line 1: Line 1:
-====== Kamailio SIP Server and SER v3.3.x (devel): Selects Variables ======+====== Kamailio SIP Server v5.2.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