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
cookbooks:selects:devel [2009/08/24 12:20]
miconda
cookbooks:selects:devel [2010/03/29 12:06]
andrei removed <note>, because it broke page formatting/toc
Line 1: Line 1:
 ====== Selects ====== ====== Selects ======
  
-The **select** is 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 could be seen as function returning string with certainnumber of parameters.+The **select** is 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. 
 + 
 +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. 
 +For a more detailed overview check [[ref_manual:selects|The Select Framework]].
  
-Each module can extend the syntax the select framework understands registering it's own select table. Look on TLS module or db_ops as good samples. 
  
 ===== Select Classes ===== ===== Select Classes =====
  
 ==== contact ==== ==== contact ====
 +
 +Select handling Contact headers.
  
 ==== from ==== ==== from ====
 +
 +Select handling From header
  
 ==== msg ==== ==== msg ====
 +
 +Select handling SIP message.
  
 ==== ruri ==== ==== ruri ====
 +
 +Select handling R-URI.
  
 Syntax: Syntax:
Line 24: Line 34:
  
 ==== tls ==== ==== tls ====
 +
 +Select handling TLS environment.
  
 ==== to ==== ==== to ====
 +
 +Select handling To header.
  
 ==== via ==== ==== via ====
 +
 +Select handling Via header.
  
 Syntax: Syntax:
Line 50: Line 66:
 ==== xmlrpc ==== ==== xmlrpc ====
  
-===== Raw List =====+Select handling XMLRPC requests via XMLRPC module. 
 + 
 +===== Complete Select List ===== 
 + 
 + 
 +**For a list with all the selects defined in the devel version (the master branch) see the auto-generated [[http://sip-router.org/docbook/sip-router/branch/master/select_list/select_list.html]].** 
 + 
 +The list presented on this page is **obsolete**. 
 + 
 + 
  
 This part is auto-generated from ser_objdump CSV output. If you want to add description, examples, comments, etc., please add entries above. This part is auto-generated from ser_objdump CSV output. If you want to add description, examples, comments, etc., please add entries above.
Line 3697: Line 3723:
  
 Exported by: xmlrpc Exported by: xmlrpc
- 
- 
- 
- 

Navigation

Wiki

Other

QR Code
QR Code cookbooks:selects:devel (generated for current page)