[Asterisk-Dev] agent calls not recorded as agent-
Asterisk
asterisk at dotr.com
Mon Jun 20 02:39:27 MST 2005
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
>
>
More information about the asterisk-dev
mailing list