[Asterisk-Dev] agent calls not recorded as agent-

Even Kristoffersen even at circlestorm.org
Mon Jun 20 01:29:48 MST 2005

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

Hope that helps!

Even Kristoffersen 

More information about the asterisk-dev mailing list