<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>Can anyone please 
give me a hint how to access the reply reason in failure_route - or is it really 
not possible to trigger some event on the response _reason_.</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=706544909-15012006></SPAN></FONT><SPAN 
class=706544909-15012006>
<DIV><FONT face=Arial size=2>&nbsp;0(704) SIP Reply&nbsp; 
(status):<BR>&nbsp;0(704)&nbsp; version: &lt;SIP/2.0&gt;<BR>&nbsp;0(704)&nbsp; 
status:&nbsp; &lt;404&gt;<BR>&nbsp;0(704)&nbsp; reason:&nbsp; &lt;CLIR 
Inactive&gt;<SPAN class=706544909-15012006>&nbsp;&nbsp; &lt;----- I want 
this!</SPAN><BR></FONT></DIV></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>There is a pseudo 
variable for that, but no function can search the replied 
reason!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>Is it really true, 
that you can use the reply status only 
(t_check_status("404"))?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=706544909-15012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>Using avpops the 
pseude variables $rr and $rs are &lt;null&gt; at that moment. Do I miss 
something?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>I'm doing 
that:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=706544909-15012006>failure_route[3]<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (t_check_status("404") ) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
avp_printf("$reason", "The reply: $rr, $rs");</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=706544909-15012006>log("\n----------------------------------------\n");<BR>avp_print();<BR>log("\n----------------------------------------\n");</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=706544909-15012006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=706544909-15012006>}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>resulting 
in:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>&nbsp;0(740) 
DEBUG:avpops:print_avp: p=0xb6177838, flags=2<BR>&nbsp;0(740) 
DEBUG:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
id=&lt;32&gt;<BR>&nbsp;0(740) 
DEBUG:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
val_str=&lt;The reply: &lt;null&gt;, &lt;null&gt;&gt;<BR><BR></SPAN></FONT><FONT 
size=+0><SPAN class=706544909-15012006><FONT face=Arial size=2>Any hints 
welcome.</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=706544909-15012006><FONT face=Arial 
size=2>/Walter</FONT></SPAN></DIV></FONT></BODY></HTML>