Commit Graph

120 Commits

Author SHA1 Message Date
MelwareDE 3e71cbcc24 Allow to select codecs for capicommand rresource. Clean up. 2010-09-20 11:05:58 +00:00
MelwareDE f9f8279d8c Use Diva resources for IP endpoints 2010-09-18 23:07:38 +00:00
MelwareDE 1d1fca7181 Add HD voice using G.722, Siren7, Siren14 and Slinear16. Add Slinear. 2010-09-16 13:13:03 +00:00
MelwareDE 26f850ef44 Clean up, made use of Diva QSIG abstraction configurable 2010-09-15 09:14:51 +00:00
MelwareDE 9d669bc5c3 Use Diva QSIG CAPI extensions for processing of Calling Party Name 2010-09-14 19:54:25 +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: http://www.ipphoneforum.eu/showthread.php?t=220051.
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 6fda685af2 Cleanup, add support for Diva streaming to NULL PLCI 2010-08-23 12:14:03 +00:00
MelwareDE 32619ad1aa Use of EC on transit connections 2010-07-17 23:17:49 +00:00
MelwareDE 10df6415d3 removed unused defines 2010-07-16 06:38:01 +00:00
MelwareDE 77265e267b Diva streaming, rx 2010-05-07 22:28:56 +00:00
MelwareDE 325380b5e9 Diva Streaming 2010-04-08 22:10:54 +00:00
MelwareDE bf1eb50548 asterisk trunk API adaptions 2010-03-01 17:59:31 +00:00
MelwareDE c65f9424b7 Restore behavior of 'receivefax' to one provided by version 628 of chan_capi.c: Use fax T.30 extended for Diva hardware or if required by 'receivefax' option only. By default allow fine resolution for fax T.30 extended. 2009-08-05 22:25:53 +00:00
MelwareDE d315cb6105 Compatibility for new asterisk svn trunk. 2009-07-24 20:30:47 +00:00
MelwareDE b09d58c323 Use direct access to vocoder without RTP framing. Preserve implementation using RTP framing 2009-05-08 13:03:31 +00:00
MelwareDE ea4a234fec Add DTMF detection for NULL PLCI 2009-05-06 20:38:13 +00:00
MelwareDE 39f0b5ea1c Add echocancelpath configuration option 2009-04-15 13:39:57 +00:00
MelwareDE a0bf189dbc Add line PLCI of resource PLCI 2009-04-14 21:58:03 +00:00
MelwareDE 47d4849bab - minor fixes for verbose messages
- added missing brackets
- coding style
2009-04-10 07:23:20 +00:00
MelwareDE 979d0b7c64 Allow use of resource PLCI instead of NULL PLCI, initial test 2009-04-09 22:44:44 +00:00
MelwareDE 9ba91f794a Prepare use of resource PLCI instead of NULL PLCI 2009-04-09 21:12:07 +00:00
MelwareDE 7cdfac46a8 Add color fax for rx direction 2009-04-08 20:43:38 +00:00
MelwareDE 6cb7e6f083 typos and coding style changes 2009-02-14 20:56:14 +00:00
MelwareDE c2411cac82 Add media control commands. Add possibility to invoke media control commands by detected tone events in real time 2009-02-13 21:58:19 +00:00
MelwareDE 40015a959a Update copyright years. 2009-01-17 17:35:55 +00:00
MelwareDE a0976a0f3e - adapt to new Asterisk 1.6.1 changes. 2009-01-06 13:40:49 +00:00
MelwareDE 62dd326709 Support early line-interconnect (bridge) as soon as the b-channels are up. 2008-08-30 09:58:27 +00:00
MelwareDE d2b4bdd349 Added config option for subscriber number prefix. 2008-07-07 20:29:19 +00:00
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