Commit Graph

463 Commits

Author SHA1 Message Date
MelwareDE e7da2a3aed Connected number shopuld reflect the type of number and numbering plan of called party number. This is still possible to change it using CALLEDTON variable 2010-10-06 14:07:44 +00:00
MelwareDE 8d916f3f90 Forgotten to add slinear16 to list of HD Audio codecs 2010-09-30 22:27:39 +00:00
MelwareDE eae8d38988 Typo. 2010-09-26 13:20:38 +00:00
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