You can use t_check_status("487") to check the code in failure_route[1].
Richard
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Zhang Wei
Sent: Friday, September 03, 2004 8:30 PM
To: Jan Janak
Cc: serusers(a)lists.iptel.org
Subject: [Serusers] How can I distinguish 487 and 603 reply?
hello,Jan
I meet some trouble when I use SER .I hope that when the call timeouts
or is declined by the callee the call would be forward to SEMS. In my
ser.cfg ,I wrote :
if (method=="INVITE")
{
t_on_failure("1");
}
But when the caller cancels the call,487 reply the callee sends aslo
make INVITE enter the failure_route. I don't export it. So how can I
distinguish 487 and 603 ?
Thanks for your help
Wei