Commit Graph

14 Commits

Author SHA1 Message Date
MelwareDE e590876769 From CAPI thread locks are taken in the wrong order. The right ordr is ast_channel_lock followed by i->lock. But from CAPI thread
i->lock was taken firsst and ast_channel_lock after by call to one of asterisk functions (get variable, set variable).
As result CAPI thread was blocked in one deadlock condition and stopped the processing of CAPI messages.
The resulting behavior is reported by: http://www.ipphoneforum.eu/showthread.php?t=220051.
Timeouts for CONNECT_CONF and DISC with 'incompatible destination' for opposite side.

But this is still problem: this is delayed channel work which is done without ast_channel_lock held (or channel reference count increassed in
asterisk 1.8(). As result this iss still possible that channel is freed (by asterisk) before the delayed work is executed.
This should be addressed in the next time.
2010-09-12 08:52:18 +00:00
MelwareDE 40015a959a Update copyright years. 2009-01-17 17:35:55 +00:00
MelwareDE 25966a7046 updated copyright 2008-02-05 11:16:25 +00:00
MelwareDE 025d7c827c - don't show error if capi_read has no message.
- supplementary should not export internal structure
- added preliminary capicommand(chat)
2007-04-27 23:02:27 +00:00
MelwareDE 117ae4eb13 Finalized CCBS implementation. 2007-04-24 20:21:04 +00:00
MelwareDE 14abf19bb2 Cleanup all CCBS/CCNR/peerlink IDs correctly. 2007-04-22 10:03:52 +00:00
MelwareDE 246e5b21cb Added command to deactivate CCBS. 2007-04-21 20:32:27 +00:00
MelwareDE 1b95f0ca10 Better reference value handling. 2007-04-21 17:59:12 +00:00
MelwareDE 60f76b3c70 - ccbsnr struct is now allocated, no static array any more.
- added command to set the local party to 'busy' or 'free' status.
2007-04-21 07:19:44 +00:00
MelwareDE 131740cb89 Added more CCBS message handling (not working yet). 2007-04-20 16:42:20 +00:00
MelwareDE 3204ffe743 Moved qsig capicommand functions into qsig core file (iflock is not
needed here I think, because list is read only).
Added preliminary ccbs command.
2007-04-18 11:48:07 +00:00
MelwareDE a9c2413461 Added linkage id handling for CCBS/CCNR. 2007-04-17 21:04:42 +00:00
MelwareDE cd18383e0e Moved more utilities into own files. 2007-04-15 20:29:12 +00:00
MelwareDE 5d65ee3566 - first step for cleanup to move some functions into specific files. 2007-04-15 19:39:49 +00:00