Hi,
What is the Pseudo-variables for "Status-Line" filed of SIP response messages (2xx, 3xx,4xx,5xx,6xx)? i.e., is there a Pseudo-variables to display the SIP response code?
Thanks, R
On 12/29/2011 03:21 PM, Robert R wrote:
You can test it with tm function t_check_status(...) or get it in a config variable $T_reply_code:
http://www.kamailio.org/wiki/cookbooks/3.2.x/pseudovariables#t_reply_code
On 12/29/2011 03:36 PM, Robert R wrote:
Actually the $rs pseudo-variable should also work as described here: http://sip-router.org/wiki/cookbooks/pseudo-variables/devel#sip_reply_s_stat...
Good that it helps.
On 12/29/11 3:42 PM, Andrew Pogrebennyk wrote:
$rs works in onreply_routes, but I guess Robert needed it in failure_route, where the $T_reply_code is the right option.
Cheers, Daniel