[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Allan Sandfeld Jensen <linux@c...>
 Subject :  Re: [yate] CDR Status 'accepted'?
 Date :  Thu, 27 May 2010 15:45:40 +0200
On Thursday 27 May 2010, Milan Rukavina wrote:
> Hi All,
> This is ongoing problem for us but we're still not sure what is the
> cause. So some (not all) incoming calls to IVR php applications (even
> very simple like recorder or forwarder) and ended in status accepted but
> not answered. We cannot find any problem in applications. It strange
> because these calls have billtime > 0 and reason is empty but status
> accepted.
> Is there any particular place we should look at?
> And when exactly calls become answered?
> What is you suggestion should we treat these calls like regular
> (billtime >  0, reason = '', status = 'accepted')?
Yes, the cdrbuilder is asynchronous and does not necessarily handle messages 
inorder. So it may get to status 'answered' and then go back to the state 
'accepted'. It is safer to just rely on billtime > 0.000 meaning 'answered'.