[SR-Users] How to access reason phrase of winning reply in failure_route
agranig at sipwise.com
Mon Jul 2 11:04:03 CEST 2012
On 07/02/2012 10:29 AM, Barthel Marco (CI/AFU1) wrote:
> how do I access the reason phrase of winning reply in failure_route?
> The reply code can be accessed via $T_reply_code. Is there something similar for the reason phrase?
The tmx module exports $T_rpl(), which you can use like this to access
the reason: $T_rpl($rr)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
More information about the sr-users