This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cookbooks:devel:pseudovariables [2019/10/28 13:01] miconda tcp variable |
cookbooks:devel:pseudovariables [2019/10/30 21:59] 127.0.0.1 external edit |
||
---|---|---|---|
Line 2103: | Line 2103: | ||
===== sdpops module variables ===== | ===== sdpops module variables ===== | ||
- | * $sdp(body) - full SDP body (read only) | + | * $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) | * $sdp(sess_version) - sess-version -attribute from SDP o= -line. When set to special value -1, current value is incremented. (read + write) | ||
Line 2114: | Line 2114: | ||
$ltt(key) - return local generated To-tag when Kamailio sends a reply | $ltt(key) - return local generated To-tag when Kamailio sends a reply | ||
- | | + | |
- | * $ltt(t) - the to-tag used in transaction stateful replies (transaction has to be created at that time, eg., by t_newtran() or in a branch/ | + | * $ltt(t) - the to-tag used in transaction stateful replies (transaction has to be created at that time, eg., by t_newtran() or in a branch/ |
- | * $ltt(x) - $ltt(t) if the transaction was created already, otherwise $ltt(s) | + | * $ltt(x) - $ltt(t) if the transaction was created already, otherwise $ltt(s) |
- | ===== $tcp(key) | + | ===== tcpops module variable |
$tcp(key) - return TCP connection attributes. | $tcp(key) - return TCP connection attributes. | ||
The key can be: | The key can be: | ||
- | | + | * c_si - connection source ip (useful with HAProxy connections) |
- | | + | * c_sp - connection source port (useful with HAProxy connections) |
- | | + | * conid - connection id |
===== $C(xy) - Foreground and background colors ===== | ===== $C(xy) - Foreground and background colors ===== | ||