Thank a lot. $T_reply_code works.
I tried all variables in pv doc ($rc, $err.rcode, $rs ... ) and none of them works,



On Thu, Dec 29, 2011 at 9:27 AM, Andrew Pogrebennyk <apogrebennyk@sipwise.com> wrote:
On 12/29/2011 03:21 PM, Robert R wrote:
> 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?

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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users