[Serusers] HELP: how to get correct call duration??

Charles Wang lazy.charles at gmail.com
Thu Apr 28 04:07:32 CEST 2005


Hi,

I think that the ACK after INVITE is only the callee(UAC) receives my
INVITE and ready to start RINGING. But this time is not the really
Call Start.
Generally, the start time of call should be callee hangup the phone
after ringing.
Do you have any idea about it? 

On 4/28/05, info at beeplove.com <info at beeplove.com> wrote:
> 
> Actually, to get call duration, you need to use ACK and BYE (both should
> have status 200).
> INVITE sends an request to other party to initiate a call.
> Other party send ACK with status 200 to receive the call.
> 
> Original Message:
> -----------------
> From: Charles Wang lazy.charles at gmail.com
> Date: Thu, 28 Apr 2005 02:49:42 +0800
> To: serusers at lists.iptel.org
> Subject: [Serusers] HELP: how to get correct call duration??
> 
> 
> Hi, ALL:
> 
> I know ser can insert INVITE & BYE records to acc table.
> Maybe the timestamp of BYE record is correct but the timestamp
> of INVITE is not equal to the call start(after the callee answered).
> Is there any method to generate a record with timestamp when the callee
> answer?
> I think that it should be the callee responses "200 OK" after "100 Trying".
> How to do it???
> 
> --
> 
> Best Regards
> Charles
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> 


-- 

Best Regards
Charles




More information about the sr-users mailing list