Commit Graph

390 Commits

Author SHA1 Message Date
MelwareDE aa385b1bca No double lock when retrieve is called from indications. 2007-08-16 09:30:43 +00:00
MelwareDE 3875d666f1 QSIG:
- code cleanup
 - major bugfix on called name and connected name (caused an crash)
2007-08-09 07:53:12 +00:00
MelwareDE 8ec9a8f46a Evaluate return value of send dtmf function. 2007-07-22 15:16:14 +00:00
MelwareDE e8059e664b More verbose debug for send_digit dtmf. 2007-07-21 14:34:18 +00:00
MelwareDE 6748df728f Send digits as DTMF, if PROGRESS already arrived. 2007-07-20 11:52:40 +00:00
MelwareDE e483f336c0 Added verbose output for send_digit function. 2007-07-16 19:18:56 +00:00
MelwareDE 82c0e32f8a QSIG:
- bug fixed CONNECTEDNAME & CALLEDNAME for non-QSIG
2007-07-10 17:58:58 +00:00
MelwareDE 03cb7d3048 QSIG:
- support for CALLEDNAME
 - support for CONNECTEDNAME
 - startet some code for sendtext, still disabled - i've to find an trick to implement this
2007-07-10 17:44:09 +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 04e1dab784 QSIG:
- added code for QSIG number handling
 - cleanup code for CallTransfer - more some more cleanup has to follow
 - deactivated pathReplacementon on call transfer - there's a bug somewhere
2007-06-12 20:02:36 +00:00
MelwareDE bb3bbe31d3 QSIG:
- implemented support for decoding Call Transfer event - have clean up the code early
   Makes atm only debugging output of feature.
 - moved some code out of chan_capi.c
2007-06-07 19:24:32 +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 7d31b498d0 - softdtmf=on lets asterisk generate DTMF tones
QSIG:
 - added some debugging output for APDU type
2007-05-31 20:28:03 +00:00
MelwareDE de60f52c59 QSIG:
- moved QSIG initialation out of chan_capi.c
2007-05-28 19:30:20 +00:00
MelwareDE 00f2d3e198 - Try early B3 when the switch signals an available channel. 2007-05-28 08:46:01 +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 4d614104eb - set caller number plan on outgoing interface too. 2007-05-26 19:46:24 +00:00
MelwareDE e120f854f0 - don't send DISCONNECT_REQ without PLCI. 2007-05-14 10:08:15 +00:00
MelwareDE 4136d39be1 - changed chat parameters to specify more than one controller
- fixed FACILITY_RESP SELECTOR value.
2007-05-13 11:30:34 +00:00
MelwareDE 8c558fc202 - Use out-of-lock task to clean NULL-PLCI interface. 2007-05-11 06:32:50 +00:00
MelwareDE 5680639492 - fixed null-interface cleanup. 2007-05-08 16:30:03 +00:00
MelwareDE d87ba28a66 - NULL-PLCI needs base line-interconnect to have a virtual channel. 2007-05-05 11:33:41 +00:00
MelwareDE 5d8a77361f - show real thread id and use asterisk internal log command for capi thread 2007-05-03 09:52:07 +00:00
MelwareDE 67d2ac23ae - added log message when capi thread is started. 2007-05-03 09:28:32 +00:00
MelwareDE b222057cf2 - a little bit more verbose in chat. 2007-05-01 16:05:09 +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 1b4680f969 - added description and CLI command for 'chat'. 2007-04-30 14:02:22 +00:00
MelwareDE 1b50367e34 - more restructuring
- chat handle null-plci voice frames
2007-04-29 22:28:30 +00:00
MelwareDE 1b125d4d7e - correct interface cleanup for null-plci.- correct interface cleanup
for null-plci.- correct interface cleanup for null-plci.- correct
  interface cleanup for null-plci.- correct interface cleanup for
  null-plci.- correct interface cleanup for null-plci.- correct
  interface cleanup for null-plci.- correct interface cleanup for
  null-plci.- correct interface cleanup for null-plci.
2007-04-29 15:54:38 +00:00
MelwareDE 2a56d9bf59 - fix NULL-PLCI handling for chat. 2007-04-29 14:00:32 +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 2b907882eb - fixed peerlink verbose message.
- added version info to CLI command 'capi info'.
2007-04-24 08:35:44 +00:00
MelwareDE 625b1b6205 On CCBS callback, create a new channel event on given
context/exten/priority.
2007-04-23 22:18:36 +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 767dd90bed - hopefully fixed ECT channel hang
- added option 'x' to ect for real explicit call transfer
2007-04-22 11:24:25 +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 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 e4e1beff0b Wait for _CONF on HOLD/RETRIEVE too. 2007-04-20 08:22:04 +00:00
MelwareDE ab87b13548 Moved more functions to use capi_sendf and changed capi_sendf
to wait for the _CONF too.
2007-04-20 08:17:29 +00:00
MelwareDE 92f26bd38b Use common find_interface_by_plci() function, no duplicates. 2007-04-19 20:31:42 +00:00
MelwareDE e9d1bbe5c5 Introduce capi_sendf() for easy capi message creation. 2007-04-19 20:24:15 +00:00
MelwareDE 9d4968ab3a QSIG:
- moved more code from chan_capi.c to qsig_core
 - make Call Transfer on alerting state working (wrong number will be displayed on target number at the moment)
2007-04-19 18:18:42 +00:00
MelwareDE 04d4580bc4 Moved qsig cleanup code to qsig core file. 2007-04-19 06:55:44 +00:00
MelwareDE cc90f574e6 Make sure peer link is removed on hangup. 2007-04-19 06:51:54 +00:00
MelwareDE b53dc5ad06 Fixed compilation with current asterisk-trunk.
This should fix PR#29.
2007-04-18 21:04: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 703088c8d6 - cleanup of FACILITY_IND handling
- prepared CCBS/CCNR call linkage id retrieval
2007-04-15 18:25:29 +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 b13f9e3f29 Prepared version 1.0.1 2007-04-14 22:34:18 +00:00
MelwareDE d9d3efeee1 Unregister from CAPI after new register is done.
This hopefully fixes PR#28, which caused Fritz driver not to work.
2007-04-08 21:31:23 +00:00
MelwareDE b21b7aacf7 Moved call to ast_async_goto() out of interface lock. 2007-04-08 21:20:47 +00:00
MelwareDE 5685a6950e Added variable setting of REDIRECTIONNUMBER on outgoing call. 2007-04-06 23:00:41 +00:00
MelwareDE 84a99f0eda Listen to supplementary services too. 2007-04-05 22:27:27 +00:00
MelwareDE 4025bdf491 Added b-channel number to channel-name for better identification. 2007-04-05 20:39:41 +00:00
MelwareDE 26f621aa78 Added option 'k' (keep bad fax) to capicommand(receivefax) to
not delete the fax file if reception was not successful.
2007-04-05 19:33:01 +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 0b76a06672 - Don't send SELECT_B_PROTOCOL_REQ more than once if progress is
requested.
2007-03-30 15:53:39 +00:00
MelwareDE f50bb3fd2d QSIG:
- Implementation of Simple Call Transfer
2007-03-28 19:24:55 +00:00
MelwareDE 6bba2bbfc6 QSIG:
- added support for rerouting informations on incoming calls
2007-03-25 17:03:19 +00:00
MelwareDE 3b730f1042 - added missing value of maxlogicalchannels on CAPI register. 2007-03-24 12:41:33 +00:00
MelwareDE 8c812cee0c - don't send faxdata if NCCI is zero. 2007-03-15 10:16:41 +00:00
MelwareDE 8c79f0d18a QSIG:
- many bugfixes on name presentation handling
 - added support for different qsig variants
 - added support for rerouting informations on incoming calls
 - code cleanup
2007-03-10 14:23:20 +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 d469965446 - fixed compilation. 2007-02-11 16:04:58 +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 d4d4ba020d - added missing capicommand description. 2007-02-11 12:37:53 +00:00
MelwareDE 8ab15c6d47 added lost '}' 2007-02-10 23:23:03 +00:00
MelwareDE 24081da912 - Added Asterisk 1.4 jitterbuffer usage. 2007-02-10 23:18:57 +00:00
MelwareDE 0b90a71fbc - reset PLCI on DISCONNECT_IND to avoid race if asterisk is too slow
with hangup command.
2007-01-28 13:51:58 +00:00
MelwareDE 220db2555e - don't wait for DISCONNECT_B3_CONF in activehangup. 2007-01-23 19:27:01 +00:00
MelwareDE 81939e875d - fixed gain and echosquelch use according to transfercapability. 2007-01-23 19:11:21 +00:00
MelwareDE 6bd7dad3ec - remove possible race condition in with hangup and DISCONNECT_IND. 2007-01-23 14:39:33 +00:00
MelwareDE 7cda4d76bc - fixed callerid on incoming call with Asterisk 1.4 (PR#25) 2007-01-21 17:19:43 +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 9838ab6143 - don't error on invalid controller in capi.conf, just ignore it. 2006-12-17 14:22:05 +00:00
MelwareDE 676d8a428e - Added progress when in faxmode to wakeup asterisk-1.2.
(needed for e.g. auto-hangup on timeout)
2006-12-10 16:26:37 +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 4914a97d30 - Adapted to new ast_channel_alloc from asterisk trunk. 2006-11-19 14:45:32 +00:00
MelwareDE a7b1c76d41 Adapted to new Asterisk version 1.4
Bug PR#20
2006-11-11 20:07:19 +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 a1b595d7a7 - added preliminary handling of MANUFACTURER_IND. 2006-09-24 10:44:40 +00:00
MelwareDE 57a5315566 - Set FAXREASONTEXT to "OK" instead of empty string.
Thanks to Ole Pahl.
2006-09-24 10:01:21 +00:00
MelwareDE 0c3801d3d3 - Disconnect reason 0x3400 is treated as 'successful' in faxmode. 2006-09-24 09:50:47 +00:00
MelwareDE 505ac93981 - use CIP speech as default if transfercapability is unkown. 2006-08-31 13:21:17 +00:00