Commit Graph

510 Commits

Author SHA1 Message Date
MelwareDE 2844c5b93a Adapted help text for "," as capicommand option separator. 2010-09-26 10:53:11 +00:00
MelwareDE cba80e7f25 Allow "," as capicommand option separator (needed from asterisk 1.6) 2010-09-26 10:51:45 +00:00
MelwareDE e26c9ed12a Don't use codecs which are not defined in older asterisk versions. 2010-09-25 10:26:24 +00:00
MelwareDE 5a5bedc999 Allow to configure custom context,exten,priority to jump to
if a fax is detected.
2010-09-24 19:20:28 +00:00
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 fc27be9222 Clean up Diva related QSIG code 2010-09-15 10:53:10 +00:00
MelwareDE 26f850ef44 Clean up, made use of Diva QSIG abstraction configurable 2010-09-15 09:14:51 +00:00
MelwareDE a98cfe0cc9 Use 'connected' instead of 'caller' name for outgoing calls 2010-09-14 20:50:43 +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 999b9e306b Customer reported unexpected behavior after incoming call with redirection number information element. The problem is caused by destruction of internal structures of libc and arrives not on every system but
on system of interest (Debian Lenny) confirmed with asterisk 1.4 and 1.6.
Code review shhown that i->owner->cid.cid_rdnis can be changed by ast_(strdup,free) and by standard C library functions at same time.                  
To resolve this and future problems generally change malloc -> ast_malloc, strdup -> as_strdup and free -> ast_free.
2010-08-19 08:44:21 +00:00
MelwareDE ae92425a79 Add compatibility with Asterisk 1.8, initial implementation. Canges still to be checked and validated by tests. Locations where implementation is not complete are labeled/to be labeled with doxygen todo tag. Processing of the redirected numbers to be fully reworked to determine all necessary info elements) 2010-08-13 20:41:23 +00:00
MelwareDE e3d9df8417 Added capicommand(keypad)
(untestet).
2010-07-23 08:08:40 +00:00
MelwareDE a4f7b18361 Added variable DISCONNECT_IND_REASON when DISCONNECT_IND is received. 2010-07-22 05:31:51 +00:00
MelwareDE c5f9794303 Typos. 2010-07-20 13:00:54 +00:00
MelwareDE 548a12ac9a Zero is legal value of 'econtransitconn' 2010-07-18 15:46:08 +00:00
MelwareDE 32619ad1aa Use of EC on transit connections 2010-07-17 23:17:49 +00:00
MelwareDE 0381db531a Allow to disable Diva streaming by configuration 2010-06-30 09:17:09 +00:00
MelwareDE 2aeb53c779 Clan up implementation of Diva streaming 2010-06-30 08:33:41 +00:00
MelwareDE dcfeb51b01 Cancel Diva stream if stream control command returned error 2010-06-29 10:21:31 +00:00
MelwareDE 7be7d7c6a9 Check if Diva streaming available. Implemented Diva streaming for outgoing calls 2010-06-28 21:37:56 +00:00
MelwareDE bdedbef17e Deactivate Diva streaming if fax 2010-06-25 14:58:04 +00:00
MelwareDE 7ebd347139 Deactivate Diva streaming if changed to fax 2010-06-25 13:49:15 +00:00
MelwareDE 5c9ae99157 Fixed crash if channel removed before DICONNECT_IND 2010-06-11 11:21:40 +00:00
MelwareDE 57b9aa8bec Syntax, clean up 2010-05-26 14:40:57 +00:00
MelwareDE 77265e267b Diva streaming, rx 2010-05-07 22:28:56 +00:00
MelwareDE 3256ef3db9 Added dialplan variables ISDNPI1 and ISDNPI2 2010-04-21 07:11:10 +00:00
MelwareDE 325380b5e9 Diva Streaming 2010-04-08 22:10:54 +00:00
MelwareDE 5f588ddd6c Fixed wrong control frame creation from last commit. 2010-03-09 12:21:52 +00:00
MelwareDE bf1eb50548 asterisk trunk API adaptions 2010-03-01 17:59:31 +00:00
MelwareDE b750187872 Rollback to 760, information already provided as CALLINGTON variable 2010-02-23 21:12:24 +00:00
MelwareDE a4b8a7db3a Incoming calls: set CALLERTON variable to provide access to callers type of number 2010-02-17 19:14:16 +00:00
MelwareDE b42ada0ec9 - added hint in changes about last fix 2010-02-10 08:47:06 +00:00
MelwareDE 739a8dab38 Don't use NULL for cid_name, set empty string instead. 2010-02-07 19:16:12 +00:00
MelwareDE 675bf55412 Corrected check for Info value on CONNECT_B3_CONF 2009-09-17 18:12:02 +00:00
MelwareDE 48406de14c 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-06 08:49:25 +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 73edae5356 Activate fine resolution for 'receivefax' command as default 2009-08-05 21:03:12 +00:00
MelwareDE 24d3a90c5a Fix possible buffer overflow on deflect command. 2009-07-30 18:13:10 +00:00
MelwareDE d315cb6105 Compatibility for new asterisk svn trunk. 2009-07-24 20:30:47 +00:00
MelwareDE cf77a3577a Use CALLEDTON variable to specity the 'ETS 300 102-1' called party number octet 3 for outgoing calls 2009-07-22 08:18:46 +00:00
MelwareDE 8b5d4bfc1b removed wrong whitespaces 2009-07-20 12:31:24 +00:00
MelwareDE 67380a24ae Add chat_command. Add r/l/o/a chat commands to remove users/listeners/operatirs/all users from conference 2009-07-16 14:16:13 +00:00
MelwareDE 11a6cb0e4a Prepare the possibility to use same context for processing of all types of calls, update coding stype, add notes 2009-05-19 07:56:38 +00:00
MelwareDE f13d666088 Use received from IP tone events for VC command 2009-05-18 22:37:21 +00:00
MelwareDE 39c9ac1475 Add chat_play 2009-05-14 21:57:35 +00:00
MelwareDE 01df5d5ef3 Use direct access to vocoder without RTP framing 2009-05-08 20:15:41 +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 170b200474 Do not activate DTMF detection for line side of resource PLCI 2009-05-07 09:41:43 +00:00
MelwareDE ea4a234fec Add DTMF detection for NULL PLCI 2009-05-06 20:38:13 +00:00
MelwareDE 671c814ffd removed wrong mutex unlock 2009-05-06 08:03:16 +00:00
MelwareDE ad4b6abc2f Add clear channel fax 2009-05-02 13:21:17 +00:00
MelwareDE 7fe17bac31 Add dynamic half duplex conference 2009-05-01 10:21:14 +00:00
MelwareDE aca519ad3b Don't wait for DISCONNECT_CONF on active hangup. This can cause
race condition and wrong pointer of i if DISCONNECT_IND comes first.
2009-04-27 20:02:46 +00:00
MelwareDE ebc988a4cc Resource PLCI, suppress shown while activating line plci error message 2009-04-15 21:39:00 +00:00
MelwareDE 39f0b5ea1c Add echocancelpath configuration option 2009-04-15 13:39:57 +00:00
MelwareDE 865a974063 Resource PLCI, add support for media commands, clean up 2009-04-15 12:28:40 +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 4c82a964e3 Prepare use of resource PLCI instead of NULL PLCI 2009-04-09 21:13:43 +00:00
MelwareDE 3437c6cbd2 Adjust NULL PLCI LI paths 2009-04-09 13:45:52 +00:00
MelwareDE 5904d40121 Add extension for FAX paper formats and resolutions 2009-04-09 11:02:48 +00:00
MelwareDE 71d2a85b7f sendfax add options, color fax, fax format autodetection, receivefas add support for Fine resolution 2009-04-08 22:44:14 +00:00
MelwareDE 7cdfac46a8 Add color fax for rx direction 2009-04-08 20:43:38 +00:00
MelwareDE 4c42d3fe26 Added variable CAPI_CIP 2009-03-25 12:38:46 +00:00
MelwareDE ffcf6757d6 Runtime optimization 2009-03-12 15:56:20 +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 eb7496a92b - added capicommand to set CAPI application id into asterisk dialplan variable. 2009-01-06 14:15:47 +00:00
MelwareDE a0976a0f3e - adapt to new Asterisk 1.6.1 changes. 2009-01-06 13:40:49 +00:00
MelwareDE 57621e34ab Don't try to send DID digits if there are none. 2008-12-11 09:43:02 +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 54ca760357 Allow capicommand(progress) "early-B3" for non-NT-mode incoming channels too. 2008-08-29 11:03:54 +00:00
MelwareDE c9291ed2ff Don't signal hangup too early in sendfax mode. 2008-08-12 08:30:27 +00:00
MelwareDE 08bea712d4 Hopefully fixed better counting of active b-channels. 2008-08-08 08:13:29 +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 c3304ad188 Fixed check for asterisk 1.6 beta versions and adapted to
changes in asterisk trunk.
2008-04-05 20:44:02 +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 e09aaa69d2 - be more verbose if fax extension is not found 2008-03-19 18:29:37 +00:00
MelwareDE cb12234f83 String conversion of debug/verbose messages to use external changes. 2008-02-24 12:57:52 +00:00
MelwareDE 523d570e2d Added additional debug output for capi header. 2008-02-20 11:02:09 +00:00
MelwareDE e47d614996 if immedіate=yes is set in DID mode, accept calls to empty DNID (needed for Austrian lines) 2008-02-07 09:02:22 +00:00
MelwareDE 25966a7046 updated copyright 2008-02-05 11:16:25 +00:00
MelwareDE 5ee344040d New Diva name branding. 2008-02-05 10:57:54 +00:00
MelwareDE 3cc0813e1e Fixed reading capi profile on big-endian. 2008-01-21 10:40:42 +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 66a3ad0ede Fixed handling of sending_complete in pbx_capi_call() when overlap dialing
is activated.
2008-01-14 13:23:58 +00:00
MelwareDE 84550afacf QSIG:
- code cleanup
  - some minor bugfixes
  - bugfix in LEG_INFO2 code - caused a asterisk crash
  - adapted some macros from libpri, to make code more readable
  - started code for outbound CCNR requests
2007-12-06 19:07:28 +00:00
MelwareDE 1f87f1d416 sending-complete with ALERT_REQ doesn't work as expected, the other
party doesn't hear ringing tone.
2007-10-22 13:25:10 +00:00
MelwareDE 1bf477e35d If the device for devicestate is not known, 'invalid' is not
the correct answer.
2007-10-22 08:59:54 +00:00
MelwareDE bdbc804322 Renamed thread. 2007-10-21 16:00:18 +00:00
MelwareDE a1c472295f Fixed check for keypad digits when updating channel name. 2007-10-21 15:08:50 +00:00
MelwareDE fb7189f483 Make devicestates asterisk 1.2 compatible. 2007-10-21 11:19:33 +00:00
MelwareDE 4432223953 Removed wrong return: really go on with transfer if both
channels were on hold.
2007-10-20 18:49:13 +00:00