This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:devel:pseudovariables [2019/09/06 09:28] henningw [$Au - Acc username and realm/domain] |
cookbooks:devel:pseudovariables [2019/10/28 13:01] miconda tcp variable |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{ : | {{ : | ||
- | ====== Kamailio SIP Server v5.3.x (devel): Pseudo-Variables ====== | + | ====== Kamailio SIP Server v5.4.x (devel): Pseudo-Variables ====== |
===== Introduction ===== | ===== Introduction ===== | ||
Line 2117: | Line 2117: | ||
* $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) ===== | ||
+ | |||
+ | $tcp(key) - return TCP connection attributes. | ||
+ | |||
+ | 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 ===== | ||