MelwareDE
c02af7806f
Added patch from Michael Gernoth to fix bridging by removing codec 'none'.
4 years ago
MelwareDE
07f6d27017
- fixed check of asterisk version with asterisk binary if another install path is used.
...
- prepared check for asterisk version 14.
6 years ago
MelwareDE
7de878e54d
Hide error output if version.h of Asterisk is not found.
6 years ago
MelwareDE
a054dff7ae
Added patch to support Asterisk 13 from Michael Kuron.
6 years ago
MelwareDE
c6946a40c8
Fixed typo in setting hangupcause for asterisk-11 code.
7 years ago
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>
7 years ago
MelwareDE
955b02d460
Added changes from https://github.com/Ionic/chan_capi
...
Thanks to Mihai Moldovan
8 years ago
MelwareDE
f143a92dd1
Detect threeway call.
10 years ago
MelwareDE
840557751c
Check for bchannel information element on incoming call.
10 years ago
MelwareDE
72111c4049
- Adapt to new cache argument for ast_devstate_changed()
10 years ago
MelwareDE
20eef6a35a
Refuse to reload on active channels.
11 years ago
MelwareDE
850e8c24d1
try to check for asterisk version 11
11 years ago
MelwareDE
2ceebff2d9
restart changes
11 years ago
MelwareDE
36c44f6e3f
Added hint for Asterisk 1.8
11 years ago
MelwareDE
0a308ee538
Fixed compilation for new Asterisk-10 and new gcc.
11 years ago
MelwareDE
eb21edd1cf
Using bfdload.bin newer v.24/112-20 this is possible to activate noise supression in Tx direction too.
11 years ago
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.
11 years ago
MelwareDE
50df20964f
Do not access channel->fds directly, use ast_channel_set_fd if available
11 years ago
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
12 years ago
MelwareDE
02c9627241
Multiple customers complained that asterisk cant start if CAPI is not loaded
12 years ago
MelwareDE
670b17998c
Original idea was to use L1/L2 state to manage mapping of outgoing calls to available hardware resources for E.1/T.1 only. This functionality is not availeble for BRI: the state of L2 is newer known: even if we know local L2 activation policy we do not know the remote on and do not know if L2 activation works without problems. But now it is requested to show the state of BRI interfaces. The code is modified to maintain two states: functional and visual one. Functional is used for E.1/T.1 only. Visual is used for every one.
12 years ago
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
12 years ago
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.
12 years ago
MelwareDE
011b8e71f9
Clean up
12 years ago
MelwareDE
a195a39a55
Compaibility with asterisk 10.0 BETA1
12 years ago
MelwareDE
0f986eebc9
RTP changes for asterisk 1.8
12 years ago
MelwareDE
6307669221
Added missing cause message for CUG.
12 years ago
MelwareDE
49d3f54fcc
Add support for tx stream counter polling
12 years ago
MelwareDE
7cb0fe0e8f
/dev/mem is accessible for root user only. Implement system call instead of mapping using /dev/mem to access stream counter.
12 years ago
MelwareDE
00b4758564
Fixed descriptor leak
12 years ago
MelwareDE
c1e0bc653b
Fixed triggered by disconnect collision crash
12 years ago
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).
12 years ago
MelwareDE
4411cbc18c
Work around processing of fast sequence of events (overlapped receiving of called party number)
12 years ago
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.
12 years ago
MelwareDE
c5a0982ee5
Add support for host based protocol code
12 years ago
MelwareDE
c4bc7f524b
Spelling
12 years ago
MelwareDE
78fd7fb7e5
Only noise supression command should be sent to Data PLCI
12 years ago
MelwareDE
524cc0f1ac
Move data related debug output to verbosity level 8
12 years ago
MelwareDE
21aa254147
Add distclean and sysclean clean targets (for development use).
12 years ago
MelwareDE
274a293f76
Add access to Diva trace driver
12 years ago
MelwareDE
b684805ca1
Restored compilation with version 1.2
12 years ago
MelwareDE
53915531f5
Add copyright
12 years ago
MelwareDE
578b7005c7
Add module to write traces to Diva trace driver. Restore compilation with version 1.2
12 years ago
MelwareDE
08db9b6db3
Do not update CAPI LI state if PLCI is about to be removed. This reduces the overall sysm load in case high amount of users leaves the conference
12 years ago
MelwareDE
58cf952292
Add sending of CALL PROCEEDING messages
12 years ago
MelwareDE
ca1b241cdf
For unknown reason NULL PLCI queue is not properly processed while line interconnect is in process. The queue grows from line interconnect to line interconnect and causes long delay. This behavior to be investigated. Current solutionis to drom queue if exceeds practicelly acceptable limits
12 years ago
MelwareDE
bad928afca
Add 'capi show bridges' to show used by group based conference resources. Add information about state of tx stream to 'capi show resources'
12 years ago
MelwareDE
02d04c7e9d
Use const to improve optimization
12 years ago
MelwareDE
22833e5ec7
Group based conference, debug
12 years ago
MelwareDE
c4a5d9e6d4
Allow use of group based conference for resource PLCIand for TDM connections
12 years ago