[Asterisk-Dev] agent calls not recorded as agent-
Simon Lockhart
simon at slimey.org
Mon Jun 20 02:00:45 MST 2005
On Mon Jun 20, 2005 at 10:29:48AM +0200, Even Kristoffersen wrote:
> Julian wrote:
> >agent_read: line 487 ..
> >
> > if (recordagentcalls && f == &answer_frame)
>
> >(recordagentcalls is -1, I did check that).
>
> recordagentcalls needs to be higher than zero for the expresion to evaluate
> to true.
>
> the expression reads:
> if recordagentcalls is true (ie, higher than zero) and f equals the
> reference to answer_frame
Errr, as I understand it, true is "not zero", not "higher than zero".
Simon
--
Simon Lockhart | * Sun Server Colocation * ADSL * Domain Registration *
Director | * Domain & Web Hosting * Internet Consultancy *
Bogons Ltd | * http://www.bogons.net/ * Email: info at bogons.net *
More information about the asterisk-dev
mailing list