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
MelwareDE
e7b931df5b
- set correct channel/cdr status in fax mode too.
2006-08-12 15:40:32 +00:00
MelwareDE
8b5ff59671
- Use correct interface to wait on for ECT facility.
2006-08-12 14:30:04 +00:00
MelwareDE
e16c543423
- don't wait for CONNECT_CONF in capi_call,
...
wait for PLCI in hangup() when needed.
2006-08-07 13:11:59 +00:00
MelwareDE
6e2e06ed21
- don't use ast_set_callerid to avoid wrong manager-event.
2006-08-06 18:44:56 +00:00
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