Commit Graph

510 Commits

Author SHA1 Message Date
MelwareDE c02af7806f Added patch from Michael Gernoth to fix bridging by removing codec 'none'. 2019-01-22 08:03:48 +00:00
MelwareDE a054dff7ae Added patch to support Asterisk 13 from Michael Kuron. 2017-01-15 17:12:14 +00:00
MelwareDE c6946a40c8 Fixed typo in setting hangupcause for asterisk-11 code. 2016-10-30 18:57:44 +00:00
MelwareDE ea23483041 CAPI specs (5th edition diagrams in section A.5) say that early B3 should
trigger on progress indication ("Progress tones available") and this is
how chan_capi actually worked before revision 101 (2005-09-04).

Q.931 (05.98) sections 5.1.2 and 5.4 also specify similar handling on lower
level (they also add "Call is not end-to-end ISDN; further call progress
information may be available in-band" as possible triggering indication).

This patch adds 't' option to dial string that allows switching chan_capi
to such mode of operation.
Without this option set chan_capi works as it did previously.

While we are at it also let's clean up handling of 'DISCONNECT' message
received via INFO_IND - 'case 2' had unnecessary dependency on 'doB3' variable
(only one value is possible by this point in code with i->outgoing being set),
'case 4' had unreachable branch and unnecessary predicates (which were always
true).
These changes should not cause any differences in operation.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2016-07-11 14:32:43 +00:00
MelwareDE 955b02d460 Added changes from https://github.com/Ionic/chan_capi
Thanks to Mihai Moldovan
2015-02-28 16:35:31 +00:00
MelwareDE f143a92dd1 Detect threeway call. 2013-10-22 10:25:45 +00:00
MelwareDE 840557751c Check for bchannel information element on incoming call. 2013-08-09 10:56:22 +00:00
MelwareDE 20eef6a35a Refuse to reload on active channels. 2012-11-15 10:37:50 +00:00
MelwareDE eb21edd1cf Using bfdload.bin newer v.24/112-20 this is possible to activate noise supression in Tx direction too. 2012-05-22 12:52:08 +00:00
MelwareDE 37f2ff6580 This is not good to take a global lock and jump into the asterisk code. It looks like following situation appears: while held iflock and waiting for channels->lock in asterisk other thread which already held channels->lock jumps jumps some where iflock is required. 2012-04-11 09:45:19 +00:00
MelwareDE 50df20964f Do not access channel->fds directly, use ast_channel_set_fd if available 2012-03-02 22:36:08 +00:00
MelwareDE 29b662a4b6 asterisk -rx "module reload chan_capi" works now. This allows to start Asterisk while CAPI is not loaded and reload chan_capi after CAPI received available. This is the same as unload and load module and does not preserves active connections 2011-11-16 21:43:04 +00:00
MelwareDE 02c9627241 Multiple customers complained that asterisk cant start if CAPI is not loaded 2011-11-16 10:01:28 +00:00
MelwareDE 9fdc04e405 Error in 'capidev_acquire_locks_from_thread_context' for asterisk >= 1.8. ast_channel_unlock was called after ast_channel_unref. In case ast_channel_unref released channel memory this resulted in access to already freed memory area 2011-10-05 09:56:42 +00:00
MelwareDE dcbb83ac1f Called from capi thread context 'ast_set_callerid' updates CDR. At same time CDR is updated from context of pbx thread (__ast_pbx_run). Pbx thread doen not uses channel lock. As resut memory blocks greed multiple times. 2011-10-05 09:09:23 +00:00
MelwareDE 011b8e71f9 Clean up 2011-10-04 08:55:41 +00:00
MelwareDE a195a39a55 Compaibility with asterisk 10.0 BETA1 2011-10-04 08:41:28 +00:00
MelwareDE c1e0bc653b Fixed triggered by disconnect collision crash 2011-05-11 09:03:17 +00:00
MelwareDE 43e2232a0e Activate work around for processing fast sequences of CPN/DTMF/KEY events. Please see main/channel.c (call to tech->read or tech.read and processing of DTMF frames). 2011-04-29 09:44:26 +00:00
MelwareDE 4411cbc18c Work around processing of fast sequence of events (overlapped receiving of called party number) 2011-04-21 21:04:29 +00:00
MelwareDE f0c37c2067 Allow to Dial without sending complete i.e. This is necessary if dialing is done in overlapped mode but signeling network does not supports sending of initla message witout CPN: SS7 IAM without CPN results in protocol error if send to switch (vendor?) but works B2B with Diva. 2011-04-21 20:44:45 +00:00
MelwareDE 78fd7fb7e5 Only noise supression command should be sent to Data PLCI 2011-03-07 09:57:43 +00:00
MelwareDE 578b7005c7 Add module to write traces to Diva trace driver. Restore compilation with version 1.2 2011-02-04 17:18:05 +00:00
MelwareDE 58cf952292 Add sending of CALL PROCEEDING messages 2010-12-21 19:14:27 +00:00
MelwareDE 6decf34007 Group based conference, remove groups only if enture conference is in idle state, clean up 2010-12-14 16:28:18 +00:00
MelwareDE a952dcd336 Add group based conference, in progress 2010-12-10 22:46:01 +00:00
MelwareDE 733395c63d Crash if controller list is sparse 2010-11-26 17:11:07 +00:00
MelwareDE c8baf15baa Implement chat_connect for all supported Diva hardware 2010-11-24 21:44:22 +00:00
MelwareDE a60f4cf67a Add chat_connect to interconnect two chat roouss using NULL PLCI 2010-11-24 17:08:11 +00:00
MelwareDE e0484c4db5 Reset EC if hold reported by netwwork 2010-11-10 14:07:51 +00:00
MelwareDE 9f1b2b83cc Update connected line info after reception of Called Party Name 2010-11-09 09:20:29 +00:00
MelwareDE 9a3483e6a0 Process Party Changed Events. Update Connected Name 2010-11-09 09:03:41 +00:00
MelwareDE 4f4b5bb6b6 Add device state for interfaces 2010-11-05 21:58:49 +00:00
MelwareDE e4de99914f Add device state for chat conference rooms 2010-11-05 13:13:12 +00:00
MelwareDE 9c3cceccda Add AMI CapichatList 2010-11-03 22:04:22 +00:00
MelwareDE bb674f18c1 Apply Digital gain and AGC commands to line side of resource PLCI. Extended CLI interface by 'capi exec' to apply capicommand commands using CLI. 2010-11-02 14:14:43 +00:00
MelwareDE 90557f5ced Moved CLI functionality to separate file. Clean up. 2010-10-29 18:54:15 +00:00
MelwareDE 17658c5edf Better call distribution algorithm 2010-10-26 22:22:25 +00:00
MelwareDE 5940695186 Changed 'capi show channels' to show state of selected channel only 2010-10-26 10:41:23 +00:00
MelwareDE e957372537 Add 'capi ifcstatus' CLI command 2010-10-26 09:53:16 +00:00
MelwareDE 8fb2018db7 Use information about hardware for distribution of media processing resources across CAPI controllers. Clean up. 2010-10-25 21:21:31 +00:00
MelwareDE e534562827 Use provided by Diva hardware status information for distribution of outgoing calls between CAPI controllers 2010-10-22 22:44:50 +00:00
MelwareDE f7e19c4cad Diva interface status 2010-10-19 13:44:06 +00:00
MelwareDE 341d1a2d31 Clean up MWI code 2010-10-15 16:50:41 +00:00
MelwareDE 01d9dbfa34 Typos and coding style. 2010-10-14 08:07:55 +00:00
MelwareDE 5076ada4c7 Add MWI Server 2010-10-13 23:17:33 +00:00
MelwareDE 2c636c7484 Coding style, formatting. 2010-10-09 08:29:39 +00:00
MelwareDE e7da2a3aed Connected number shopuld reflect the type of number and numbering plan of called party number. This is still possible to change it using CALLEDTON variable 2010-10-06 14:07:44 +00:00
MelwareDE 8d916f3f90 Forgotten to add slinear16 to list of HD Audio codecs 2010-09-30 22:27:39 +00:00
MelwareDE eae8d38988 Typo. 2010-09-26 13:20:38 +00:00