[Home]

Summary:ASTERISK-06073: [patch] code clean and minor change in chan_agent.c
Reporter:Peng Yong (ppyy)Labels:
Date Opened:2006-01-13 09:06:19.000-0600Date Closed:2011-06-07 14:10:19
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_agent
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) patch.chan_agent
Description:1. code clean
2. in most case, p->acknowledged is true, so we can remove one judgement(p->chan).
if (!p->acknowledged && !p->ackcall && p->chan && (p->chan->_state == AST_STATE_UP))
3. add "ackcall = always" in Manager API
Comments:By: Kevin P. Fleming (kpfleming) 2006-02-14 18:28:21.000-0600

Are you absolutely positive that calling ast_setstate while p->lock is still held is not going to cause a problem?

By: Olle Johansson (oej) 2006-04-05 14:50:23

No answer from reporter.