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
cookbooks:devel:selects [2011/12/16 23:52]
miconda created
cookbooks:devel:selects [2021/04/27 09:39] (current)
miconda
Line 1: Line 1:
-====== Kamailio SIP Server and SER v3.3.x (devel): Selects Variables ======+====== Selects Variables ====== 
 + 
 +Version: Kamailio SIP Server v5.6.x (devel)
  
 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.
Line 41: Line 45:
  
 Select handling To header. Select handling To header.
 +
 +==== sys ====
 +
 +Select handling system values
  
 ==== via ==== ==== via ====
Line 2365: Line 2373:
 Exported by: tls Exported by: tls
  
 +==== @tls.my.subject.uid ====
 +
 +Exported by: tls
 +
 +==== @tls.my.subject.uniqueIdentifier ====
 +
 +Exported by: tls
 +
 +==== @tls.my.subject.unique_identifier ====
 +
 +Exported by: tls
  
 ==== @tls.my.uri ==== ==== @tls.my.uri ====
Line 3362: Line 3381:
  
 ==== @tls.peer.subject.unit ==== ==== @tls.peer.subject.unit ====
 +
 +Exported by: tls
 +
 +==== @tls.peer.subject.uid ====
 +
 +Exported by: tls
 +
 +==== @tls.peer.subject.uniqueIdentifier ====
 +
 +Exported by: tls
 +
 +==== @tls.peer.subject.unique_identifier ====
  
 Exported by: tls Exported by: tls
Line 3460: Line 3491:
 Exported by: core Exported by: core
  
 +==== @sys.now ====
 +
 +Exported by: core
 +
 +==== @sys.pid ====
 +
 +Exported by: core
 +
 +==== @sys.unique ====
 +
 +Exported by: core
 +
 +==== @sys.now.utc ====
 +
 +Exported by: core
 +
 +==== @sys.now.gmt ====
 +
 +Exported by: core
 +
 +==== @sys.now.local ====
 +
 +Exported by: core
  
 ==== @v ==== ==== @v ====
cookbooks/devel/selects.1324075957.txt.gz · Last modified: 2011/12/16 23:52 by miconda