User Tools

Site Tools


cookbooks:devel:pseudovariables

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:pseudovariables [2018/09/25 08:42]
miconda [GeoIP module Pseudo-Variables]
cookbooks:devel:pseudovariables [2018/10/26 19:31]
miconda [$TV(name)]
Line 1490: Line 1490:
 ==== $TV(name) ==== ==== $TV(name) ====
  
-Seconds and microseconds taken from struct timeval.+Seconds and microseconds taken from struct timeval. The time at that moment is represented by **seconds.microseconds**.
  
   * $TV(s) - seconds (cached at first call per sip message)   * $TV(s) - seconds (cached at first call per sip message)
   * $TV(u) - microseconds (cached at first call per sip message)   * $TV(u) - microseconds (cached at first call per sip message)
-  * $TV(sn) - seconds (not cached) +  * $TV(sn) - seconds (not cached, taken at that moment
-  * $TV(un) - microseconds (not cached+  * $TV(un) - microseconds (corresponding to the moment $TV(sn) is retrieved
-  * $TV(Sn) - string representation seconds.microseconds (not cached) +  * $TV(Sn) - string representation seconds.microseconds (not cached, taken at that moment)
 ===== Next hop address ===== ===== Next hop address =====
  
Line 1546: Line 1545:
  
   * rpl_str - return REDIS_REPLY_STRING   * rpl_str - return REDIS_REPLY_STRING
-  * rpl_str - return REDIS_REPLY_ARRAY +  * rpl_arr - return REDIS_REPLY_ARRAY 
-  * rpl_str - return REDIS_REPLY_INTEGER +  * rpl_int - return REDIS_REPLY_INTEGER 
-  * rpl_str - return REDIS_REPLY_NIL +  * rpl_nil - return REDIS_REPLY_NIL 
-  * rpl_str - return REDIS_REPLY_STATUS +  * rpl_sts - return REDIS_REPLY_STATUS 
-  * rpl_str - return REDIS_REPLY_ERROR+  * rpl_err - return REDIS_REPLY_ERROR
  
 $redisd(rpl_XYZ) can be compared with $redis(r=>type). $redisd(rpl_XYZ) can be compared with $redis(r=>type).
Line 2064: Line 2063:
 </code> </code>
  
 +
 +===== sdpops module variables =====
 +
 +  *  $sdp(body) - full SDP body (read only)
 +  * $sdp(sess_version) - sess-version -attribute from SDP o= -line. When set to special value -1, current value is incremented. (read + write)
 +
 +===== kex module variables =====
 +
 +  * $sruid - return unique ID
 ===== $C(xy) - Foreground and background colors ===== ===== $C(xy) - Foreground and background colors =====
  
cookbooks/devel/pseudovariables.txt · Last modified: 2022/04/11 15:24 by henningw