[Serusers] Differentiating between NO ANSWER and HANG UP

Zeus Ng zeus.ng at isquare.com.au
Thu Sep 30 03:04:59 CEST 2004


> Is there a way in my ser.cfg I can tell the difference 
> between calls when a user hangs up and when there is no 
> answer by the called UA?
> 
> It seems to me that the return codes are the same, ie 487.

You can use t_check_status(...) to check for status code. For caller
hang-up, ser will receive 487, Request Terminated, from the callee. For no
answer, the timer will expire and ser generate a 408, Request Timeout.

> RFC2543 needed to define return code 487 as NOANSWER and a 
> new code 488 as HUNGUP

RFC2543 is obsoleted by RFC3261. As explained above, the timer will expire
when no answer. There is no need to add new code here. Besides, how can one
determine no answer other than checking for timeout?

Zeus




More information about the sr-users mailing list