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:3.2.x:pseudovariables [2011/12/19 20:30] 85.178.73.159 [Broken-down time] |
cookbooks:3.2.x:pseudovariables [2012/02/02 10:38] klaus3000 [Username in SIP Request's URI] |
||
---|---|---|---|
Line 259: | Line 259: | ||
**$ml** - reference to SIP message length | **$ml** - reference to SIP message length | ||
+ | |||
+ | ==== SIP Message Type ==== | ||
+ | |||
+ | **$mt** - returns 1 if the sip message is a request, returns 2 if the sip message is a reply | ||
+ | |||
==== Domain in SIP Request' | ==== Domain in SIP Request' | ||
Line 331: | Line 336: | ||
**$rm** - reference to request' | **$rm** - reference to request' | ||
+ | |||
+ | ==== Request Method ID ==== | ||
+ | |||
+ | **$rmid** - returns internal integer representation of SIP method type | ||
+ | |||
==== SIP request' | ==== SIP request' | ||
Line 365: | Line 375: | ||
<fc # | <fc # | ||
+ | |||
+ | ==== URI Scheme of Request URI ==== | ||
+ | |||
+ | **$rz** - returns R-URI scheme, possible values: sip, sips, tel and tels, R-URI scheme parsing error should be reflected by value: none | ||
==== Received IP address ==== | ==== Received IP address ==== | ||
Line 928: | Line 942: | ||
* reply_code - alias to $T_reply_code | * reply_code - alias to $T_reply_code | ||
* branch_index - alias to $T_branch_idx | * branch_index - alias to $T_branch_idx | ||
+ | * reply_type - 1 if it is a local generated reply, 0 - if no reply for transaction or it is a received reply | ||
Note: the pair (id_index, | Note: the pair (id_index, |