<html><head><title>change failure status if reason is q.850 cause=31</title>
<META http-equiv=Content-Type content="text/html; charset=windows-1257">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Hello,<br>
<br>
How can I change the status where Reason: q.850;cause=31. ?<br>
<br>
This code change status for all where we receive status 480 to 404. Is it possible to this code also to add second condition - if reason is like "q.850;cause=31"<br>
<br>
failure_route[MANAGE_FAILURE] {<br>
...<br>
<br>
        if (t_check_status("480")) {<br>
                t_reply("404","Unallocated number");<br>
                        exit;<br>
        }<br>
<br>
Need to modify this massage.<br>
<br>
<b>SIP/2.0 480 Temporarily Not Available.<br>
</b>Allow: UPDATE,REFER,INFO.<br>
Call-ID: 6b11b153405a5103330697b774b97f5a@192.168.2.2:5060.<br>
Contact: <sip:192.168.3.3:5060>.<br>
CSeq: 102 INVITE.<br>
From: "380668375820" <sip:380668375820@192.168.2.2>;tag=as445242c0.<br>
<b>Reason: q.850;cause=31.<br>
</b>Server: Cirpack/v4.76 (gw_sip).<br>
To: <sip:9052946032@192.168.3.3:5060>;tag=00-07929-6e4a3079-75447e2a5.<br>
Content-Length: 0.<br>
<br>
Thanks.<br>
<br>
BR,<br>
Aleksandr</body></html>