[SR-Users] Pseudo-variables for "Status-Line"

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 29 16:01:20 CET 2011



On 12/29/11 3:42 PM, Andrew Pogrebennyk wrote:
> On 12/29/2011 03:36 PM, Robert R wrote:
>> Thank a lot. $T_reply_code works.
>> I tried all variables in pv doc ($rc, $err.rcode, $rs ... ) and none of
>> them works,
> Actually the $rs pseudo-variable should also work as described here:
> http://sip-router.org/wiki/cookbooks/pseudo-variables/devel#sip_reply_s_status_status-code_response-code_reply-code
>
> Good that it helps.
$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

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list