<!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> 0(704) SIP Reply
(status):<BR> 0(704) version: <SIP/2.0><BR> 0(704)
status: <404><BR> 0(704) reason: <CLIR
Inactive><SPAN class=706544909-15012006> <----- 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> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=706544909-15012006>Using avpops the
pseude variables $rr and $rs are <null> 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>
if (t_check_status("404") )
{<BR>
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>
}</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> 0(740)
DEBUG:avpops:print_avp: p=0xb6177838, flags=2<BR> 0(740)
DEBUG:
id=<32><BR> 0(740)
DEBUG:
val_str=<The reply: <null>, <null>><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>