Commit Graph

115 Commits

Author SHA1 Message Date
MelwareDE 43b15cd14a - adapted to latest asterisk bridge function prototype. 2005-11-15 14:10:51 +00:00
MelwareDE 04027b99e7 - fixed setting of redirecting number rdnis instead of cid. 2005-11-09 12:33:11 +00:00
MelwareDE a46a970640 - allow setting a callerid in the dial() command without changing
the original channel callerid.
2005-10-09 16:45:03 +00:00
MelwareDE a9192a9555 - added config 'defaultcid' to set a default caller id which will be
used if dial option 'd' is specified.
2005-10-09 15:49:32 +00:00
MelwareDE 65100a1838 - removed interface lock from capi_read()
- moved ast_softhangup() out of interface lock
2005-10-09 14:40:27 +00:00
MelwareDE 69f777c23b - use correct mutex_init call for interface lock 2005-10-09 14:11:48 +00:00
MelwareDE fce0c3e8e9 - activated nt-mode progress 2005-10-01 18:34:04 +00:00
MelwareDE e6911c60e8 - when 'o' option is used for overlap dialing, don't send any digits
with the CONNECT_REQ. This gives better progress together with 'b'.
2005-10-01 17:00:56 +00:00
MelwareDE b65c13d415 - create a pseudo channel for each interface for incoming signalling
without B-channel.
2005-10-01 15:17:10 +00:00
MelwareDE 82956c6319 - added channel locks 2005-10-01 13:21:28 +00:00
MelwareDE f13580a630 - fixed capi init order (thanks to Hans Petter Selasky) 2005-10-01 11:31:05 +00:00
MelwareDE e9a77b066a - fixed did handling 2005-10-01 09:52:46 +00:00
MelwareDE e62f05eb33 - set RDNIS if redirecting number was received. 2005-10-01 08:54:09 +00:00
MelwareDE 47df07e707 - simplified call to ast_exists_extension() 2005-09-27 17:52:13 +00:00
MelwareDE ff47191932 - when check for valid extension, check the callerid as well 2005-09-27 17:42:28 +00:00
MelwareDE 73f7eb185d - changed call-waiting and deflect handling in CONNECT_IND 2005-09-27 09:33:21 +00:00
MelwareDE acdefd3374 - use 'immediate' config in MSN mode, if pbx shall be started on
CONNECT_IND and shall not wait until SETUP/SENDING-COMPLETE was received.
  Since info like REDIRECTINGNUMBER will come after CONNECT_IND, this may
  be lost then. But for some drivers/telcos/pbx, this setting is needed.
2005-09-26 11:35:13 +00:00
MelwareDE b805e5f809 Fix start of line interconnect in old mode. 2005-09-25 15:39:13 +00:00
MelwareDE c2ef8139d9 Start early-b3 on PROCEEDING too. 2005-09-25 13:11:00 +00:00
MelwareDE 9ac42119a7 - don't send audio data, if in fax receive mode
- disconnect on finished fax immediately
2005-09-24 19:42:07 +00:00
MelwareDE 1f8587cb76 Don't run through gain list, if gain is 1.0.
Thanks to Sergio Chersovani.
2005-09-24 18:19:14 +00:00
MelwareDE 9f6b0b9bda Use correct A-law idle value. 2005-09-24 18:10:46 +00:00
MelwareDE 0568f2278c Fixed facility_conf parameters check. 2005-09-17 18:58:34 +00:00
MelwareDE d73253a545 Added custom function VANITYNUMBER to convert letters into digits. 2005-09-17 10:49:34 +00:00
MelwareDE a69b6caae1 Don't retrieve on ringing-indication for now. 2005-09-15 19:19:16 +00:00
MelwareDE 76596fb310 - better check with find_interface() for BSD
- first implementation for line interconnect
2005-09-15 19:11:45 +00:00
MelwareDE 37d7576120 - added more BSD compat
- optimized capi message handling
2005-09-11 13:35:19 +00:00
MelwareDE e3cb5c02cf Added BSD compatibility, thanks to Hans Petter Selasky. 2005-09-11 08:39:29 +00:00
MelwareDE ccdaab9147 Set STATE_RING on PBX start. 2005-09-10 13:36:55 +00:00
MelwareDE 874567ff21 - Pass each PROGRESS-type to Asterisk, but only once.
- enable early-b3 on each PROGRESS-Indicator type.
2005-09-04 13:51:50 +00:00
MelwareDE 92ae437462 Do really hangup on remote hangup with outgoing call and earlyb3. 2005-09-03 16:52:48 +00:00
MelwareDE ccf256ebac ast_hangup() on state 'INCALL' if the pbx was not started yet. 2005-08-31 07:32:09 +00:00
MelwareDE 8b97a66223 - use 'sending complete' for SETUP on incoming call 2005-08-31 07:22:32 +00:00
MelwareDE e237467eb2 Added verbose text for capi info/reason error messages. 2005-08-30 11:21:58 +00:00
MelwareDE 5f2c9b9381 - fixed echo-cancel setup structure
- use correct facility-selector for echo-cancel
- use capi.conf option 'echocancelold' for old facility-selector (6)
2005-08-29 19:06:19 +00:00
MelwareDE 637e509c96 Check for resent SETUP message. 2005-08-29 15:21:12 +00:00
MelwareDE 2356a1f435 remove possible overflow in capi_number() 2005-08-29 14:58:36 +00:00
MelwareDE 398aa1b09f - added variable REDIRECTREASON
- use stack memory for capi_number()
- use struct for capicommand() commands
- capicommand(RETRIEVE) can now be called from other channels
- start PBX on SETUP only.
2005-08-28 14:14:23 +00:00
MelwareDE 7ee382db9e Set temporary holdtype via capicommand(). 2005-08-25 19:30:31 +00:00
MelwareDE d5490d3ac5 - changed isdnmode configuration from ptp/ptmp to msn/did
- added ntmode configuration
2005-08-25 19:00:55 +00:00
MelwareDE e7cc5d7be4 Switched to 'holdtype' configuration. 2005-08-25 18:16:44 +00:00
MelwareDE aa6849f48f When enabling/disabling echo-squelch via capicommand(), this should be
a temporary setting only.
2005-08-25 17:45:39 +00:00
MelwareDE 861ddcf723 Use variable CONNECTEDNUMBER on Answer(). 2005-08-25 12:54:04 +00:00
MelwareDE 44934a4f4f Set variable REDIRECTINGNUMBER on incomming call if it was diverted. 2005-08-25 11:22:34 +00:00
MelwareDE aef27548d5 ECT should work now (not yet really tested). 2005-08-21 15:35:44 +00:00
MelwareDE ab3ff868aa - moved ECT to capicommand() (not working yet)
- added HOLD/RETRIEVE for Asterisk indications.
2005-08-21 10:28:43 +00:00
MelwareDE 0e85ce353d - simplyfied read of supplementary services 2005-08-19 17:18:10 +00:00
MelwareDE ec07811d72 - fixed unload
- removed obsolete thread mutex
2005-08-19 16:40:23 +00:00
MelwareDE b5f91be828 Added info elements 'notification indication' and 'notify'. 2005-08-19 16:16:19 +00:00
MelwareDE dafa5e1fe0 - verbose/debug messages with better prefix usage.
- added asterisk HOLD definition
2005-08-19 15:55:56 +00:00