Commit Graph

38 Commits

Author SHA1 Message Date
MelwareDE a054dff7ae Added patch to support Asterisk 13 from Michael Kuron. 2017-01-15 17:12:14 +00:00
MelwareDE 955b02d460 Added changes from
Thanks to Mihai Moldovan
2015-02-28 16:35:31 +00:00
MelwareDE e0484c4db5 Reset EC if hold reported by netwwork 2010-11-10 14:07:51 +00:00
MelwareDE b6811a3bc2 Add MWI Client 2010-10-15 14:43:58 +00:00
MelwareDE cba80e7f25 Allow "," as capicommand option separator (needed from asterisk 1.6) 2010-09-26 10:51:45 +00:00
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:
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 999b9e306b Customer reported unexpected behavior after incoming call with redirection number information element. The problem is caused by destruction of internal structures of libc and arrives not on every system but
on system of interest (Debian Lenny) confirmed with asterisk 1.4 and 1.6.
Code review shhown that i->owner->cid.cid_rdnis can be changed by ast_(strdup,free) and by standard C library functions at same time.                  
To resolve this and future problems generally change malloc -> ast_malloc, strdup -> as_strdup and free -> ast_free.
2010-08-19 08:44:21 +00:00
MelwareDE 3e891c11c1 Asterisk 1.8 2010-08-13 21:18:02 +00:00
MelwareDE fa901efa62 added FACILITY_IND log for CD 2010-07-24 18:26:43 +00:00
MelwareDE aa71b0c410 FACILITY_CONF of CD is not unhandled. 2010-03-23 10:47:44 +00:00
MelwareDE d315cb6105 Compatibility for new asterisk svn trunk. 2009-07-24 20:30:47 +00:00
MelwareDE ffcf6757d6 Runtime optimization 2009-03-12 15:56:20 +00:00
MelwareDE c657085a36 Warnings 2009-03-10 22:35:24 +00:00
MelwareDE 40015a959a Update copyright years. 2009-01-17 17:35:55 +00:00
MelwareDE cb12234f83 String conversion of debug/verbose messages to use external changes. 2008-02-24 12:57:52 +00:00
MelwareDE 25966a7046 updated copyright 2008-02-05 11:16:25 +00:00
MelwareDE cb35b4aad2 Hopefully fixed 'transfer on bridge', but it works with
asterisk 1.4 only and holdtype=hold is needed for that.
2007-10-20 12:05:26 +00:00
MelwareDE ab0108b92b Reset state for HOLD if switch didn't allow HOLD. 2007-10-10 10:15:15 +00:00
MelwareDE 0708150113 Fixed ECT usage on bridge. 2007-10-01 15:36:04 +00:00
MelwareDE cb3a84b98f Handle retrieve facility conf. 2007-08-16 09:07:04 +00:00
MelwareDE 1b50367e34 - more restructuring
- chat handle null-plci voice frames
2007-04-29 22:28:30 +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 1756447915 Fixed capi_sendf() capi command setting. 2007-04-24 13:03:56 +00:00
MelwareDE 892b24eb2a In case of INFO_IND(DISC) in stay-online mode, wait a little bit
for further infos like CCBS retain info before sending HANGUP to
2007-04-24 11:45:54 +00:00
MelwareDE 643081eb2f removed debug code 2007-04-23 22:33:45 +00:00
MelwareDE 625b1b6205 On CCBS callback, create a new channel event on given
2007-04-23 22:18:36 +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 7764d339cd - simplified function to get ccbsnr link. 2007-04-21 07:46:20 +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 cadf4f5700 Clean all CCBS ids when reference is unused. 2007-04-20 17:28:22 +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