Commit Graph

286 Commits

Author SHA1 Message Date
MelwareDE 3ee93f995d - enhanced application capicommand description, thanks to Thomas Niesel. 2006-07-10 17:40:03 +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 d8c24f23e9 - use ast_set_callerid() 2006-07-08 19:28:10 +00:00
MelwareDE e9b36aa1af - handle errors in CONNECT_CONF correctly 2006-07-08 18:40:20 +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 5212533427 - set state to RINGING when we got ALERTING 2006-06-27 20:29:15 +00:00
MelwareDE 8a0d8977be - Added sendfax feature and enhanced result/status variables after
FAX actions.
2006-06-27 14:54:03 +00:00
MelwareDE 25dceb2571 - fixed null pointer: channel cleanup must be done at end of hangup 2006-06-27 08:20:19 +00:00
MelwareDE 2f3a449f5b - changed locking in hangup which might caused race-condition 2006-06-26 20:45:25 +00:00
MelwareDE 8365b305c5 - added hold/retrieve notification info 2006-06-26 12:11:31 +00:00
MelwareDE 1d00abbdfc - use flag for dtmf-detect activation/deactivation 2006-06-24 16:20:27 +00:00
MelwareDE 218782c4f8 - don't change softdtmf settings, leave them like the user
has configured.
2006-06-24 15:17:01 +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 28b28e7eeb - better voice frame handling 2006-06-22 18:17:37 +00:00
MelwareDE eed0604798 - increase verbose level value for info messages 2006-06-20 16:03:36 +00:00
MelwareDE c6d777d26a - allow one controller number per specified interface only. 2006-06-18 20:57:56 +00:00
MelwareDE 881ff2c02b - add verbose message when the cond-event was triggered. 2006-06-18 20:42:06 +00:00
MelwareDE 5ef8dd4426 - move ast_set_state outside of i->lock. 2006-06-18 20:29:33 +00:00
MelwareDE 1d6156f52f - don't clean up interface on call-error, the PBX will trigger that. 2006-06-18 20:21:58 +00:00
MelwareDE 3a6f500ccc - set vad variable to NULL after freeing memory of it. 2006-06-18 20:06:54 +00:00
MelwareDE 66529db156 - show state when hanging up. 2006-06-18 16:48:17 +00:00
MelwareDE ddee6aff05 - better output for ast_frame_dump() 2006-06-18 16:45:37 +00:00
MelwareDE dbde64eb4d - channel name with b-channel number in verbose messages 2006-06-18 16:32:32 +00:00
MelwareDE 091f8c63df - really signal hangup when DISCONNECT IE came after successful call. 2006-06-18 13:04:30 +00:00
MelwareDE c861a2676b - removed double lock. 2006-06-13 06:18:47 +00:00
MelwareDE 763dc2ec31 - fixed receivefax, removed lock out of select_b3 2006-06-13 04:52:50 +00:00
MelwareDE 705e0e5d84 - fixed rtp with smoother 2006-06-12 10:22:31 +00:00
MelwareDE d3b162066a - use interface parameter for capi_handle_dtmf_fax()
this should also fix PR#14
2006-06-11 13:15:18 +00:00
MelwareDE b7f8b51ae0 - don't wait in answer and remove the i->lock 2006-06-10 14:16:36 +00:00
MelwareDE 21cd8a4c91 - fixed data buf pipe transfer 2006-06-10 13:54:13 +00:00
MelwareDE 87e61975cc - use local pipe instead of alert-pipe queue. 2006-06-10 11:58:50 +00:00
MelwareDE 57e9fb7e44 - separate name prefixes for capi/pbx functions 2006-06-09 21:48:24 +00:00
MelwareDE fa80b541a7 - rename of some functions 2006-06-09 21:25:49 +00:00
MelwareDE 465651bf11 - avoid deadlock in queue hangup 2006-06-09 05:15:32 +00:00
MelwareDE 939cf7615b - show error text message when capi message couldn't be sent. 2006-05-31 15:31:53 +00:00
MelwareDE dcfcefc4ab - don't produce warning when ALERT_CONF has info=0x0003 (already sent by
another application)
2006-05-30 09:48:16 +00:00
MelwareDE 63ea97c952 - fixed format adaption in rtp mode 2006-05-28 16:10:28 +00:00
MelwareDE 5a720165ff - create own function for post work in capi thread 2006-05-27 15:01:17 +00:00
MelwareDE 172eb91fb0 - check for smoother after rtp call 2006-05-27 13:22:09 +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 f4fe1dc73f - destroy interface lock on unload 2006-05-21 14:42:17 +00:00
MelwareDE c3cc336d96 - added verbose output when echo-cancel status is not changed 2006-05-21 13:13:16 +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 254f20521e - fixed echo-cancel profile check, thanks to HPS for pointing out. 2006-05-19 09:51:45 +00:00
MelwareDE badd38d9a2 - use 'trans' instead of 'voice' for bproto desc.
- don't use RTP in digital mode
2006-05-18 14:36:09 +00:00
MelwareDE 3d4e19f50c - just use char instead of unsigned char for verbose line buffer 2006-05-12 16:48:09 +00:00
MelwareDE 4f14c385ae - added first step to compat with newer versions of asterisk 2006-05-12 16:43:30 +00:00
MelwareDE d1f147ffe8 - don't use smoother in RTP mode and make sure not to
send too may DATA_B3_REQs
2006-05-08 16:48:57 +00:00
MelwareDE e9bc5965a4 - don't setup echo-cancel in digital connections 2006-05-08 15:51:08 +00:00
MelwareDE 286435c900 - fixed wrong offset of info word in facility_conf for LI, thanks to HPS 2006-05-08 15:30:05 +00:00
MelwareDE dafad9727e - don't send voice to pbx when we are about to disconnect 2006-05-08 15:10:22 +00:00
MelwareDE 6780755b7c - moved deflect function from INFO_REQ to FACILITY_REQ 2006-05-07 20:06:01 +00:00
MelwareDE e2da85d7fe Don't drop the connection if voice frames are incompatible,
just output the error and drop the frame.
2006-04-26 12:53:09 +00:00
MelwareDE 316eebf9ee - if there is no data in a voice frame, it is not really an error. 2006-04-04 12:43:31 +00:00
MelwareDE 059bdfe0df - added more info shown with CLI command 'capi show channels' 2006-04-03 20:44:08 +00:00
MelwareDE 1742806313 - removed pipe code, use queue_frame instead 2006-04-03 20:02:01 +00:00
MelwareDE 192b57024b - added test to not use pipes for frame delivery. 2006-04-01 17:00:57 +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 1aecef90dc - added new cli 'capi show channels' with a little bit channel info 2006-04-01 15:39:31 +00:00
MelwareDE bacf848e77 - cleaning up bridge code, moving to 'transparent mode' is not
necessary when bridging in RTP, we just drop the incoming frames then.
2006-04-01 13:31:56 +00:00
MelwareDE 9671c6df5c - removed custom function VANITYNUMBER, this does not belong
into a channel driver.
2006-04-01 11:37:02 +00:00
MelwareDE a662db2864 - fixed call-deflect if the number is too long.
PR#5
2006-04-01 11:20:55 +00:00
MelwareDE 8080bf65ac - removed getting ASTERISKVERSION (we don't need that).
- reverted change for set NCCI in CONNECT_B3_ACTIVE_IND, because
  CONNECT_B3_IND assigned the NCCI.
- reverted change for setting 'ton' in capi_new(), because I don't see
  the fix here and it breaks the feature anyway.
2006-03-07 21:17:58 +00:00
MelwareDE c522111bf3 removed CC_NEW_CODEC_FORMATS, because it is not used in any
asterisk version and breaks compilation anyway.
2006-03-07 21:02:59 +00:00
MelwareDE 68686fc241 Allow CAPI controller to enable/disable B3 by sending DISCONNECT_B3_IND followed by CONNECT_B3_ACTIVE_IND. This happens if the CAPI controller is running NT-mode and the TE-side puts the call on hold/retrive. 2006-03-06 12:38:59 +00:00
MelwareDE 27b01dea2d Avoid double prefixing of calling party number, by setting 'cid_ton' equal to zero. 2006-03-06 12:29:22 +00:00
MelwareDE 74d8763401 - removed compiler warning 2006-02-18 14:30:00 +00:00
MelwareDE 3d316a8ab5 - make the voice buffer a little bit bigger and use the definitions. 2006-02-13 15:18:56 +00:00
MelwareDE 6a50aeb45e - cosmetic/indent changes (tabs are tabs, no spaces!) 2006-02-13 15:11:56 +00:00
MelwareDE 57207fb2bd Remove unused 'waitcount'. 2006-02-12 21:28:54 +00:00
MelwareDE 7f8662840f Update chan_capi according to issue 0004825. 2006-02-12 21:27:20 +00:00
MelwareDE db0382894a Set hangupcause in case there is no 'cause' information element. 2006-02-12 21:04:54 +00:00
MelwareDE 602aa043aa Couple strdup() with free(). 2006-02-12 20:58:02 +00:00
MelwareDE 07ef86e3f4 Updated capi20_register() for ISDN4BSD. Defined unused CAPI application ID to 0xffffffff. 2006-02-06 20:00:56 +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 1a9d34ed47 - make it compilable with latest asterisk HEAD changes. 2006-02-04 12:48:10 +00:00
MelwareDE ce15487de7 - don't do echo-squelch or gain if transfercapability is non-voice 2006-01-31 20:34:28 +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 b18c166ecf - fix deadlock when changing to fax mode 2006-01-29 12:01:08 +00:00
MelwareDE 7cf9ec0839 - don't start early B3 on PROCEEDING
- but do PROGRESS on ALERTING, if not done before
2006-01-28 20:22:52 +00:00
MelwareDE b307540b1d Sync with V0_6 2006-01-28 19:42:44 +00:00
MelwareDE 2c08548968 - removed compiler warnings with new trunk version 2006-01-23 21:00:21 +00:00
MelwareDE bdb37f1df9 - fix ECT (use implicit ECT) 2006-01-16 21:33:42 +00:00
MelwareDE 00b57d574b - fixed setting language for each interface 2006-01-14 13:54:47 +00:00
MelwareDE 3f5395c6d9 Fix problems with zero message numbers, and make sure that the interface message number gets set to zero when it is not in use. 2006-01-13 02:38:26 +00:00
MelwareDE 2ecb9846cb Fix possible memory leak. 2006-01-13 02:17:32 +00:00
MelwareDE 8cc530b42c Fix possible deadlock. 2006-01-13 02:03:32 +00:00
MelwareDE 63ff8d3039 Make sure that the returned interface is locked after calls to find_interface_xxx(). 2006-01-13 01:58:11 +00:00
MelwareDE 7d60ab7fa0 - fix wait for b-channel to go down on ECT. 2006-01-09 21:30:40 +00:00
MelwareDE 30081ce75d - fixed buffer overflow in overlap dial 2006-01-06 14:38:20 +00:00
MelwareDE 3596c01726 Initialize some non-initialized memory. 2006-01-04 15:10:13 +00:00