You are right, true is "not zero".
FYI patch #4551 was comitted to cvs to fix this issue.
Julian.
Simon Lockhart wrote:
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
_______________________________________________
Asterisk-Dev mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev