[asterisk-dev] Does anybody know how to do a producer/consumer based buffered writer in C?

Kevin P. Fleming kpfleming at digium.com
Tue Jul 18 09:55:43 MST 2006


----- Matt King <m at orderlysoftware.com> wrote:
> If so I think we can fix the big thread deadlock bug (6626 and
> related) 
> that's been plaguing busy call centres for the last two years.

We are likely (very likely) going to deprecate the usage of AgentCallbackLogin in the Asterisk 1.4 release. With the proper dialplan logic, the entire function it provides can be done without the use of proxy channels and additional locking. When the deprecation occurs, we will also include a file in the doc/ directory showing an example dialplan of how to replicate the functionality.

We (Digium) just converted our PBX from using chan_agent callback mode to using dynamic queue members via dialplan logic and it solved a number of problems we were having, with no loss of functionality. This mirrors the experiences of other customers we have helped (through our support department) do the same thing. Given that, it seems to be a significant waste of resources to try to fix the locking problems caused by chan_agent when it provides no additional value.

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.




More information about the asterisk-dev mailing list