Commit Graph

142 Commits

Author SHA1 Message Date
MelwareDE b45e940762 Added 'faxdetecttime' config setting. 2008-06-29 11:33:46 +00:00
MelwareDE a835372f49 - fixed controller count when creating NULL-PLCI interface and
simplified check for unused controller.
2008-03-23 13:04:30 +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 a9c3419d9e Increased number of maximum CAPI controllers. 2008-02-05 11:02:18 +00:00
MelwareDE bde5812980 - Adapt to new asterisk 1.6 API
- fix compilation for asterisk 1.2
2008-01-19 22:24:44 +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 ce3e2d7017 Wait for ECT indication before returning to asterisk. 2007-10-01 16:10:37 +00:00
MelwareDE f9799f6eb6 Added transfergroup config option. Prepared transfer on bridge feature. 2007-09-30 21:09:15 +00:00
MelwareDE 6748df728f Send digits as DTMF, if PROGRESS already arrived. 2007-07-20 11:52:40 +00:00
MelwareDE 9ae64305da QSIG:
- more work on addressing data elements
 - completed CallTransfer handling with inbound bridging
 - first outbound Path Replacement support for inbound bridging
    Code isn't first class yet. There may be some errors still there.
2007-07-05 19:48:19 +00:00
MelwareDE cae2b60cd4 - corrected an wrong condition in bridging code (should be a very rare case)
QSIG:
 - enabled automatic call transfer and path replacement on bridge attempt
 - nicer output of debugging informations
 - removed wrong data from SendingComplete CAPI struct (usage of sendf)
2007-06-04 18:37:12 +00:00
MelwareDE e013fdd7f5 QSIG:
- some code cleanups
 - enhanced debugging output (Object Identifier Decoder)
 - prepared name handling for call transfer
   this code would also allow to send an CONNECTED NAME facility
2007-05-27 18:14:24 +00:00
MelwareDE a25c5ee55c QSIG:
- outbound call transfer
 - outbound path replacement after propose from switch
 - correct handling of outbound QSIG variants
2007-05-16 18:23:55 +00:00
MelwareDE d02004dabc - a little bit cleanup. The internal capi functions shall not use
the asterisk channel structure.
2007-05-01 14:26:39 +00:00
MelwareDE 4c9b279ed0 - more init of null-plci interface. 2007-04-30 15:19:28 +00:00
MelwareDE 1b50367e34 - more restructuring
- chat handle null-plci voice frames
2007-04-29 22:28:30 +00:00
MelwareDE 9e7210d1de - removed _capi_put_cmsg(), sending capi messages is now done
with capi_sendf() only.
2007-04-28 20:59:44 +00:00
MelwareDE 47b9b750f1 - added basic null-plci handling for chat.
- moved more CAPI requests for sendf use.
2007-04-28 16:48:00 +00:00
MelwareDE 0c80e2361f answer call before entering chat 2007-04-28 10:09:58 +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 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
Asterisk.
2007-04-24 11:45:54 +00:00
MelwareDE a13961713d removed old openpbx ifdef 2007-04-24 09:05:41 +00:00
MelwareDE e5b84d2052 Introduce new Dial option 's' for stay-online mode to postpone the
DISCONNECT_REQ.
capicommand(hangup) or a timeout will then really disconnect the line.
This is needed for CCBS activation.
2007-04-23 18:47:49 +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
MelwareDE aae199cb8c QSIG:
- more code cleanup
 - removed some major bugs
 - added support for Call Transfer feature [working, but not complete - feature will be changed later]
 - decoding of path replacement added [only decoding, no action yet]
 - enhanced QSIG dialstring
2007-04-15 17:41:36 +00:00
MelwareDE cbd0547249 - don't send more DATA_B3 messages than allowed by CAPI_MAX_B3_BLOCKS. 2007-03-30 16:21:58 +00:00
MelwareDE 0208255abd - register at CAPI with needed amount of maxChannels instead of fixed 120. 2007-03-05 20:00:35 +00:00
MelwareDE 6c19246b9d - Added QSIG patch from Mario Goegel. 2007-02-11 16:01:32 +00:00
MelwareDE 92c3f4afc6 Bumped copyright. 2007-02-11 14:51:30 +00:00
MelwareDE 096bacf541 - fixed compiler warning with Asterisk 1.4.0
- added music-on-hold on HOLD request for Asterisk 1.4
2007-02-11 14:34:10 +00:00
MelwareDE 24081da912 - Added Asterisk 1.4 jitterbuffer usage. 2007-02-10 23:18:57 +00:00
MelwareDE 33b4cb4691 - fix compiler warning 2007-01-21 17:04:39 +00:00
MelwareDE 5443bea1d9 - Allow echo-cancel even with old capi configuration bit for
echo-cancel.
2007-01-21 14:14:16 +00:00
MelwareDE ec95d2e680 - Added 3PTY patch by Simon Peter. 2006-12-18 19:09:52 +00:00
MelwareDE 997ea1885e - read the channel frames during wait for fax finish. 2006-12-02 12:35:30 +00:00
MelwareDE f33a143924 - Make capicommand(echocancel) setting non-permanent.
Setting is restored after hangup.
2006-11-25 16:13:40 +00:00
MelwareDE c84efdbce3 - check for fax connection when in receivefax mode before writing data
to file.
2006-10-10 11:57:37 +00:00
MelwareDE 6e8a72ebe5 - use cond variable for wait on b3 up. 2006-07-09 14:18:53 +00:00
MelwareDE 5db1d9d1fe - fixed deadlock in ECT
- use cond variable for waiting on B3/Fax actions.
2006-07-09 13:30:47 +00:00
MelwareDE 06135eb7dc Added AMA flags 2006-07-08 22:13:47 +00:00
MelwareDE ca207a4ded - wait for answered line on fax action 2006-07-08 20:22:15 +00:00
MelwareDE c7ce547983 - make pickupexten work and added pickupgroup to capi.conf 2006-07-08 16:29:27 +00:00
MelwareDE f0c812644d - better handling of state pbx-active. 2006-07-05 12:23:58 +00:00
MelwareDE 8a0d8977be - Added sendfax feature and enhanced result/status variables after
FAX actions.
2006-06-27 14:54:03 +00:00
MelwareDE 1d00abbdfc - use flag for dtmf-detect activation/deactivation 2006-06-24 16:20:27 +00:00
MelwareDE 96364f485d - cleanup controller number handling 2006-06-24 14:49:13 +00:00
MelwareDE 32e06de3b8 Dropped compatibility stuff for older Asterisk versions.
You need at least Asterisk 1.2.x now.
2006-06-24 11:53:47 +00:00
MelwareDE 658b23282d - better values for RTP B2 configuration
- self fix for wrong asterisk rtp timestamp
2006-06-23 18:07:31 +00:00
MelwareDE dbde64eb4d - channel name with b-channel number in verbose messages 2006-06-18 16:32:32 +00:00
MelwareDE 87e61975cc - use local pipe instead of alert-pipe queue. 2006-06-10 11:58:50 +00:00
MelwareDE c56504fd7b - better use of fax state variables and added configuration for
faxdetection. Attention: default is now 'off'.
2006-05-27 12:49:57 +00:00
MelwareDE 25852cfcf5 - introduced condition variable to synchonize state of waiting
for a _CONF.
2006-05-22 19:13:19 +00:00
MelwareDE 407e678cb4 - make sure digital data connections are handled correctly without RTP 2006-05-22 11:04:33 +00:00
MelwareDE 5827ebfedb - added missing alias for mutex_destroy 2006-05-21 14:18:55 +00:00
MelwareDE f1318438d3 - added capicommand(echocancel|on/off) to dynamically en/disable CAPI
echo-chancel.
2006-05-21 12:10:53 +00:00
MelwareDE 0447547c55 - use better RTP jitterbuffer settings
- improved answer/hangup capi race conditions
2006-05-20 22:01:26 +00:00
MelwareDE 705a9807f5 - increase the DTMF timing a little bit 2006-05-20 20:32:54 +00:00
MelwareDE 4f14c385ae - added first step to compat with newer versions of asterisk 2006-05-12 16:43:30 +00:00
MelwareDE 1742806313 - removed pipe code, use queue_frame instead 2006-04-03 20:02:01 +00:00
MelwareDE fdc7448269 - cleanup of some openpbx defines 2006-04-01 21:01:41 +00:00
MelwareDE 944a643786 - better default setting for echo-cancel
- added non-linear-processing option for echo-cancel
2006-04-01 16:29:50 +00:00
MelwareDE f16608c7eb - a little bit more restructuring of b-state handling
- fixed RTP activation
2006-02-06 19:21:38 +00:00
MelwareDE c828da398a - added better compatibility for OpenPBX code creation.
- added first code for RTP over CAPI for Eicon DIVA Server cards.
2006-01-30 23:40:28 +00:00
MelwareDE bd1f4faaba - fixed prototype of read_capi_dword 2006-01-28 21:05:33 +00:00
MelwareDE b307540b1d Sync with V0_6 2006-01-28 19:42:44 +00:00
MelwareDE e7380a0a30 - removed unused definitions 2006-01-28 14:17:09 +00:00
MelwareDE b2e9940ddd Remove superfluent lock, lockB3q. 2006-01-04 14:44:16 +00:00
MelwareDE 30bc33755b Cleaned up the use of __packed__. Added a description of the locking order used in chan_capi. Made sure that all parameters used get passed to the 'return_on_no_interface' macro. Added a 'cc_mutex_assert' macro. 2005-12-31 03:15:35 +00:00
MelwareDE 62fe88239b - added language support
- prepared devicestate(hint) support
2005-12-28 14:22:54 +00:00
MelwareDE a20a41e87d - b-channel handling better
- NT mode progress
2005-12-08 22:06:16 +00:00
MelwareDE 21cce7a3e8 - use more common defines for mutex_lock/unlock and _log() 2005-11-27 14:47:54 +00:00
MelwareDE 2e62ad0306 - clean up and OpenPBX portability. 2005-11-20 16:15:33 +00:00
MelwareDE a9192a9555 - added config 'defaultcid' to set a default caller id which will be
used if dial option 'd' is specified.
2005-10-09 15:49:32 +00:00
MelwareDE b65c13d415 - create a pseudo channel for each interface for incoming signalling
without B-channel.
2005-10-01 15:17:10 +00:00
MelwareDE 82956c6319 - added channel locks 2005-10-01 13:21:28 +00:00
MelwareDE e9a77b066a - fixed did handling 2005-10-01 09:52:46 +00:00
MelwareDE acdefd3374 - use 'immediate' config in MSN mode, if pbx shall be started on
CONNECT_IND and shall not wait until SETUP/SENDING-COMPLETE was received.
  Since info like REDIRECTINGNUMBER will come after CONNECT_IND, this may
  be lost then. But for some drivers/telcos/pbx, this setting is needed.
2005-09-26 11:35:13 +00:00
MelwareDE 76596fb310 - better check with find_interface() for BSD
- first implementation for line interconnect
2005-09-15 19:11:45 +00:00
MelwareDE e3cb5c02cf Added BSD compatibility, thanks to Hans Petter Selasky. 2005-09-11 08:39:29 +00:00
MelwareDE 874567ff21 - Pass each PROGRESS-type to Asterisk, but only once.
- enable early-b3 on each PROGRESS-Indicator type.
2005-09-04 13:51:50 +00:00
MelwareDE 5f2c9b9381 - fixed echo-cancel setup structure
- use correct facility-selector for echo-cancel
- use capi.conf option 'echocancelold' for old facility-selector (6)
2005-08-29 19:06:19 +00:00
MelwareDE 637e509c96 Check for resent SETUP message. 2005-08-29 15:21:12 +00:00
MelwareDE d5490d3ac5 - changed isdnmode configuration from ptp/ptmp to msn/did
- added ntmode configuration
2005-08-25 19:00:55 +00:00
MelwareDE e7cc5d7be4 Switched to 'holdtype' configuration. 2005-08-25 18:16:44 +00:00
MelwareDE aa6849f48f When enabling/disabling echo-squelch via capicommand(), this should be
a temporary setting only.
2005-08-25 17:45:39 +00:00
MelwareDE aef27548d5 ECT should work now (not yet really tested). 2005-08-21 15:35:44 +00:00
MelwareDE ab3ff868aa - moved ECT to capicommand() (not working yet)
- added HOLD/RETRIEVE for Asterisk indications.
2005-08-21 10:28:43 +00:00