Commit Graph

361 Commits (04224c20362f94f99886d6b51adb7b90db62855f)

Author SHA1 Message Date
Tzafrir Cohen e5a57959eb Re-arange code a bit to build in dev-mode without ss7
16 years ago
Tzafrir Cohen d36cecd578 Make chan_dahdi build even without PRI / SS7
16 years ago
Richard Mudgett cff6d02b53 Add to chan_dahdi ISDN HOLD, Call deflection, and keypad facility support.
16 years ago
Matthew Nicholson 26638d3a55 Add dynamic range compression support for analog channels.
16 years ago
Jeff Peeler 03db5ef0e5 fix typo, sorry
16 years ago
Jeff Peeler 53a95d9c84 Merged revisions 224330 via svnmerge from
16 years ago
Jeff Peeler 4ae6bee6da Change ringt (ring timeout) styles to be consistent across chan_dahdi.
16 years ago
Jeff Peeler b5eb0449c0 Merged revisions 222462 via svnmerge from
16 years ago
Jeff Peeler f7fa417130 Fix 222298 (crash during destruction of second channel when variable set with
16 years ago
Jeff Peeler 0c7f4cfb85 Fix crash during destruction of second channel when variable set with setvar.
16 years ago
Tzafrir Cohen 0c3cd2ee45 Make sure digit events are not reported as "ERROR"
16 years ago
Jeff Peeler 10e8ee1746 Add a few missing events to analog_handle_event.
16 years ago
Richard Mudgett 9c05faf76d Prevent deadlock if chan_dahdi attempts to change PRI channel names.
16 years ago
Richard Mudgett f3f456f8b6 Miscellaneous minor changes.
16 years ago
Jeff Peeler 0d5e318cb2 Add some changes related to 218430.
16 years ago
Tzafrir Cohen b64beef2f3 Fix false error message on DAHDI_EVENT_REMOVED (RESULT_SUCCESS == 0)
16 years ago
Jeff Peeler 843a724373 Merged revisions 218401 via svnmerge from
16 years ago
Richard Mudgett 6c39ebaa3e Add support for multiple interface lists.
16 years ago
Moises Silva 2aa112b4d7 get rid of mfcr2 monitor thread condition, is problematic
16 years ago
Jeff Peeler edb5e6efd9 Cleanup approach in 217804 and don't reach inside the sig_pvt.
16 years ago
Jeff Peeler 3a718192c6 Allow do not disturb to be set on analog channels via the CLI and AMI.
16 years ago
Richard Mudgett 32352265c4 Cleaned up chan_dahdi iflist handling and locking.
16 years ago
Richard Mudgett 9a1215989f Miscellaneous minor changes.
16 years ago
Jeff Peeler f558f01a81 Fix crash during attended transfer over PRI.
16 years ago
Jeff Peeler 5561ba19aa Stop caller id transmission when offhook event detected.
16 years ago
Richard Mudgett 98d156c5dd Fix available() for SS7, MFC/R2, and pseudo channels.
16 years ago
Moises Silva df7dd574fd ast_log replaced for ast_verbose in MFCR2 event notifications
16 years ago
Richard Mudgett fd561e871f Fix memory leak of sig_xxx private structures.
16 years ago
Richard Mudgett 8562029476 Miscellaneous minor code cleanup in mkintf().
16 years ago
Richard Mudgett c2930434f6 Lets try not to use C++ keywords for variable names.
16 years ago
Doug Bailey 8430c87faa Added detection DTMF CID without polarity change alert.
16 years ago
Richard Mudgett 595ab444af Made chan_dahdi able to ignore incoming calls that are not in a MSN list for ISDN PTMP CPE spans.
16 years ago
Doug Bailey eff8dd9a2f Fix issue where DTMF CID detect was placing channels into signed linear mode
16 years ago
Moises Silva 3b1682bfe5 improve handling of openr2_chan_disconnect_call API failure, unlikely, but happened on openr2 library bug
16 years ago
Moises Silva 1c14bd4bfd increment the mfcr2 monitor count when clearing the call request
16 years ago
Moises Silva 8a2302e118 fixed bug caused by calling ast_request without calling ast_call on an R2 channel, ie, CHANISAVAIL
16 years ago
Richard Mudgett 0d2ef8ac5c Merged revisions 212430 via svnmerge from
16 years ago
Jeff Peeler 132204459c More code that somehow got left out of sig_analog
16 years ago
Jeff Peeler b65c0edd52 Fix chan_dahdi option ringtimeout
16 years ago
Richard Mudgett 148d49e362 Encapsulate testing for which signaling styles are used by sig_pri.
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Jeff Peeler 93b6a46fde Fix PRI/BRI channels when in alarm condition to only be marked for hangup if
16 years ago
Richard Mudgett bc0a3453cd Restoring some code to sig_pri. Not sure if it is really needed.
16 years ago
Richard Mudgett 4f80468245 Fixed some unsafe down cast pointer operations for sig_pri.
16 years ago
Richard Mudgett 53ea9a0576 More changes from chan_dahdi that did not make it into sig_pri.
16 years ago
Richard Mudgett ff91b378e0 Fix CALLERID() values for sig_pri on incoming calls.
16 years ago
Richard Mudgett e5b19910ed Removed some dead code.
16 years ago
Richard Mudgett 070de85e56 Changes from chan_dahdi that did not make it into sig_pri.
16 years ago
Kevin P. Fleming ed2a3cedd1 Merged revisions 209759 via svnmerge from
16 years ago
David Brooks 48363c16e1 Fixes numerous spelling errors. Patch submitted by alecdavis.
16 years ago
David Brooks d81d6d3415 Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize"
16 years ago
Jeff Peeler dcd6227f6c Merged revisions 208380 via svnmerge from
16 years ago
Jeff Peeler 980db1601a Fix sending of interface identifier unconditionally in sig_pri
16 years ago
Jeff Peeler 58699809a5 Reset the fax buffers back to default settings regardless of signaling in use -
16 years ago
Jeff Peeler 56c59985de whitespace fix only
16 years ago
Jeff Peeler 7466e00663 Fix my_is_off_hook to check rxbits only for FXS signaling
16 years ago
Jeff Peeler 6ac23c3eca Merged revisions 207827 via svnmerge from
16 years ago
Jeff Peeler 74de8256bd Merged revisions 207155 via svnmerge from
16 years ago
Jeff Peeler 8270339965 Fix segfault in sig_analog when using callwaiting, respect callwaiting options
16 years ago
Jeff Peeler 646cd02c09 The dialing flag was mistakingly removed from sig_pri.
16 years ago
Jeff Peeler b9e898017e Restore some missing functionality to sig_analog.
16 years ago
Sean Bright ee0cd5a32c Add a configure check for Reverse Charging Indication support in LibPRI.
16 years ago
Sean Bright 719917fe59 Support setting and receiving Reverse Charging Indication over ISDN PRI.
16 years ago
Jeff Peeler 5606db2224 Merged revisions 203848 via svnmerge from
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Jeff Peeler 6fad61406c make sure chan_dahdi compiles with only libss7 and not libpri installed
16 years ago
Richard Mudgett 3930f83be6 Picking nits
16 years ago
Jeff Peeler bbfe6967ab Remove some unnecessary code and update sample config file with respect to GR-303.
16 years ago
Jeff Peeler 5c7da226e4 New signaling module to handle PRI/BRI operations in chan_dahdi
16 years ago
Jason Parker afa8db54a0 Unmute when we get a dtmfup (we muted on dtmfdown) event.
16 years ago
Doug Bailey ce70b28f38 Insure ring cadence is set for fxs ports
16 years ago
Richard Mudgett 80822297d4 Merged revisions 203036 via svnmerge from
16 years ago
Matthew Fredrickson 2a68d05b96 I could have sworn I committed this patch ages ago, but... bug fix with setting NAI properly on linksets in certain situations.
16 years ago
Kevin P. Fleming f1dc620467 Enable applications to enable/disable digit and tone detection.
16 years ago
Moises Silva 2c8cd1db92 keep backwards compatible chan_dahdi with older openr2 versions by not using the new skip category feature unless supported
16 years ago
Kevin P. Fleming 4379249674 Convert a number of global module variables to 'static'.
16 years ago
Moises Silva b52abf3d21 added openr2 to menuselect-deps.in, recent commit in menuselect made me realize this was never done but was working anyways
16 years ago
Mark Michelson d068c2f5e6 Correct "dahdi show channels" output when specifying a group.
16 years ago
Jeff Peeler aaf5eb105e New signaling module to handle analog operations in chan_dahdi
16 years ago
Tilghman Lesher 98ce0e5b6c Eliminate several needless checks and fix a few memory leaks
16 years ago
Moises Silva b93c1a2df5 set MFCR2_CATEGORY just when starting the pbx
16 years ago
Eliel C. Sardanons 2c882626a0 Implement a new element in AstXML for AMI actions documentation.
16 years ago
Russell Bryant 76e9c034be resolve compiler warning
16 years ago
Sean Bright fcda626f3c Fix build under dev mode and remove some casts that are no longer necessary as
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Richard Mudgett 0163194d93 The facilityenable parameter does not have anything to do with pritimer parameters.
16 years ago
Kevin P. Fleming 1c988d8996 add 'const' qualifiers in various places where they should have been
16 years ago
Matthew Fredrickson 965b0f328e Revert CPC patch for now, until I decide whether or not it all should be merged into libss7/1.0 (It's still in the bug13495 branch and in libss7/trunk)
16 years ago
Sean Bright a0766f8113 Conditional include ioctl's to change EC policy based on DAHDI caps.
16 years ago
Kevin P. Fleming d9d2779008 Add buffer and echo canceller control to CHANNEL() dialplan function for DAHDI channels
16 years ago
Matthew Fredrickson a082ad616f Add support setting CPC from channel variable
16 years ago
Matthew Fredrickson 6389ec15fb Make sure that we do not clear the down flag on the BRI during PTMP link transients
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Joshua Colp b0347267b3 Merged revisions 188937 via svnmerge from
16 years ago
Joshua Colp ac48378d28 Fix a bug with the dahdi_setoption callback in chan_dahdi.
16 years ago
David Vossel b2e77d5f5d Merged revisions 188646 via svnmerge from
16 years ago
Jeff Peeler 2fd695d23c Don't try to do anything in pri_check_restart with service messages unless
16 years ago
Jeff Peeler 50ecc19ca0 change some capitalization
16 years ago
Jeff Peeler 1172c38647 Add service maintenance message support
16 years ago
Mark Michelson 6f53ed4c67 This commit introduces COLP/CONP and Redirecting party information into Asterisk.
16 years ago
Kevin P. Fleming 3525e37e63 Merged revisions 186458 via svnmerge from
16 years ago
Kevin P. Fleming 612fc2e7e3 Merged revisions 186081 via svnmerge from
16 years ago
Kevin P. Fleming d99d2f22cd Merged revisions 185952 via svnmerge from
16 years ago
Russell Bryant ee77b475f2 Improve performance of the ast_event cache functionality.
16 years ago
Leif Madsen 18b4508c8e Fixes a documentation error introduced during the CLI cleanup at AstriDevCon 2008.
16 years ago
Eliel C. Sardanons 830602bc69 Remove duplicate <description> inside the xml documentation.
16 years ago
Tilghman Lesher 2e516d0c26 Merged revisions 183319 via svnmerge from
16 years ago
Kevin P. Fleming 4f390ec024 Merged revisions 182882 via svnmerge from
16 years ago
Richard Mudgett 7cfc92cc32 OPENR2 uses an incorrect string value if the extension delimiter is not present.
16 years ago
Russell Bryant 77a6840fd3 Add MFC/R2 support for chan_dahdi.
16 years ago
Tilghman Lesher 6cc10eb351 Can't set debug level 2 (intense debugging) unless the syntax matches
17 years ago
Dwayne M. Hubbard d11e6f0591 Add dynamic fax buffer configuration option to chan_dahdi.conf
17 years ago
Joshua Colp fa389ab17a Don't subscribe to a mailbox on pseudo channels. It is futile. This solves an issue where duplicated pseudo channels would cause a crash because the first one would unsubscribe and the next one would also try to unsubscribe the same subscription.
17 years ago
Richard Mudgett e70fc3d136 Broke up the large conditional blocks so it is easy to see if a function is compiled.
17 years ago
Richard Mudgett 97b4e9cf2a channels/chan_dahdi.c
17 years ago
Tilghman Lesher ca052f64d0 Merged revisions 171963 via svnmerge from
17 years ago
Matthew Fredrickson 7a69506727 Don't complain about lack of D-channels on PTMP connections
17 years ago
Doug Bailey 906d665477 Handle new VMWI ioctl structure (Now there are two VMWI ioctl calls.)
17 years ago
Matthew Fredrickson f5ee4e99fa We should not do restart messages if we're in PTMP mode
17 years ago
Doug Bailey de63e93a39 MWI messages included in CID spill was not being properly handled and prevented the call from being processed
17 years ago
Matthew Fredrickson 55fd5f2d2d Make sure we don't set the channel to be inalarm for a D-channel drop on PTMP connections
17 years ago
Doug Bailey 9a28a07739 change VMWI to use new DAHDI_VMWI ioctl call.
17 years ago
Richard Mudgett 2da6670f10 * Adjust some conditionals to balance curly braces.
17 years ago
Richard Mudgett e13016057e Whitespace changes only
17 years ago
Mark Michelson f6bb99a5c5 Test commit for test issue #14303
17 years ago
Doug Bailey 42d4853f61 Get rid of magic number and replace with DAHDI_VMWI_NUMBER_MASK when
17 years ago
Doug Bailey 82d76adeb8 Add enhanced MWI generation to take advantage of new dahdi line reversal MWI ability.
17 years ago
Doug Bailey 65120a3b33 Add discriminator for when ring pulse alert signal is used to preface MWI spills
17 years ago
Doug Bailey 5d2a24d138 This fixes a problem where MWI FSK spills were being injected onto off hook fxs lines.
17 years ago
Tilghman Lesher a4505c6e1f Convert dialplan application DAHDISendCallreroutingFacility to use commas.
17 years ago
Doug Bailey 08e142b1e7 Cleanup fsk spill if off hook is detected during mwi spill.
17 years ago
Mark Michelson 4412a4ba24 Change some incorrect syntax for pri set debug and correct
17 years ago
Mark Michelson 61c0d20d20 Merged revisions 166380 via svnmerge from
17 years ago
Matthew Fredrickson 775033301a Add configuration support for half_full DAHDI buffer policy
17 years ago
Joshua Colp 654ea55a65 Numerous documentation updates.
17 years ago
Russell Bryant f546396c0f Fix usage of the DAHDI_VMWI ioctl.
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Steve Murphy 0692660afc demote always-appearing debug message (for certain boards) to ast_debug lev 3 msg instead
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Jeff Peeler 41a4bdd1a6 remove duplicate comment that I accidentally merged
17 years ago
Jeff Peeler b4d8a5b771 (closes issue #13786)
17 years ago
Tilghman Lesher bb80c835e0 Add an option, waitfordialtone, for UK analog lines which do not end a call
17 years ago
Matthew Fredrickson 8cb6ecdd24 Fix for #13963. Make physical channel mapping unconfigured default
17 years ago
Matthew Fredrickson cb90752b0d Remove some useless locking and make sure we hangup channels on a link when we get a GRS.
17 years ago
Tilghman Lesher 85c6ae76ab Command offsets were not changed correctly when the command syntax for
17 years ago
Tilghman Lesher ca3cf9f488 Send call release with unallocated cause instead of normal call clearing, when
17 years ago
Kevin P. Fleming f08ab8278c put ifdef protection around the rest of the libpri function calls that were added at the same time as progress_with_cause
17 years ago
Matthew Fredrickson 5250201d8b Make compilation of chan_dahdi so that it does not require the new pri_progress_with_cause function to have libpri support work.
17 years ago
Eliel C. Sardanons 46d7e8dafa Add XML documentation for:
17 years ago
Kevin P. Fleming 2dc21e951b fix one more warning missed because i did not have new enough libpri installed
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Jeff Peeler 33f576f1a1 Merged revisions 152286 via svnmerge from
17 years ago
Mark Michelson 0748be1052 Change some logical ands to bitwise ands and add
17 years ago
Matthew Fredrickson 3e83151375 Merge in patch for #13454. Includes CallRereouting dialplan application, option for discard of remote hold messages, and using the alternate logical channel mapping in Q.SIG instead of the default physical channel mapping.
17 years ago
Michiel van Baak 5232acb8c0 fix some CLI commands we borked during devcon2008
17 years ago
Kevin P. Fleming 5651afcdaa Merged revisions 147681 via svnmerge from
17 years ago
Sean Bright d1f257ba53 Move the DAHDI-to-DAHDI operator mode check from app_dial into chan_dahdi
17 years ago
Michiel van Baak 90751b16ca Merge the cli_cleanup branch.
17 years ago
Kevin P. Fleming de6656902d rename chandup() and clarify its usage
17 years ago
Michiel van Baak f1b673eef0 fix a couple of CLI commands that did not have a help description.
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Doug Bailey 3aca08d924 Move the mwi send thread functionality back into the do_monitor thread so that it is easier to manage CID spill resources when do_monitor needs to be killed.
17 years ago
Jeff Peeler be000109dc Merged revisions 140056 via svnmerge from
17 years ago
Jeff Peeler a9af5a81c9 Merged revisions 139387 via svnmerge from
17 years ago
Jeff Peeler f10e6dec36 add missing define for SS7 in dahdi_restart
17 years ago
Tilghman Lesher 6d7ee132e3 Fix compilation warnings (found with dev-mode)
17 years ago
Jeff Peeler a4db659925 Merged revisions 138360 via svnmerge from
17 years ago
Jeff Peeler 729cb1d390 Merged revisions 138119,138151,138238 via svnmerge from
17 years ago
Jeff Peeler 7fb2ed4c53 rename all zfd instances in chan_dahdi to dfd to match 1.4 (left over from DAHDI transition)
17 years ago
Tilghman Lesher 4a99c9e158 Merged revisions 137847 via svnmerge from
17 years ago
Sean Bright 5275342c5e Biggest offender? chan_dahdi.c! More RSW merging.
17 years ago
Dwayne M. Hubbard c096a6bee0 use ARRAY_LEN
17 years ago
Kevin P. Fleming 0ce79e5a06 build against the now-typedef-free dahdi/user.h, and remove some #ifdefs for features that will always be present in DAHDI
17 years ago
Kevin P. Fleming 6291cd19bf remove remaining Zaptel references in various places
17 years ago
Tilghman Lesher 0c23159464 Deprecate *_device_state_* APIs in favor of *_devstate_* APIs
17 years ago
Jason Parker fabba06d02 Merged revisions 133295 via svnmerge from
17 years ago
Mark Michelson ce391f2945 Merged revisions 133038 via svnmerge from
17 years ago
Kevin P. Fleming 35cf5f8984 correct fix made in r132777... the code *did* compile in dev-mode, as long as libpri was installed and enabled
17 years ago
Mark Michelson 7ab615da6f Get chan_dahdi to compile in devmode
17 years ago
Kevin P. Fleming f9074f1d95 Merged revisions 132712 via svnmerge from
17 years ago
Kevin P. Fleming 8115a6a9bf Merged revisions 132641 via svnmerge from
17 years ago
Kevin P. Fleming 54e959b486 Merged revisions 132571 via svnmerge from
17 years ago
Jeff Peeler 08bcb84c01 make buffers config option (chan_dahdi.conf) parsing safer and added logging in case of failure
17 years ago
Matthew Fredrickson 69fee2f71f Make sure we break the poll so that messages queued will be sent on the SS7 when using CLI commands for blocking and blocking of CICs and linksets.
17 years ago
Jeff Peeler db5c40005c Add configuration option to chan_dahdi.conf to allow buffering policy and number of buffers to be configured per channel. Syntax:
17 years ago
Tilghman Lesher f4722d0ff0 Merged revisions 131790 via svnmerge from
17 years ago
Matthew Fredrickson 8635eecdc9 Support new TRANSPORT definitions in libss7
17 years ago
Tilghman Lesher 9cd11917c5 Fix trunk breakage
17 years ago
Brett Bryant 5b7933fe5e Janitor patch to change uses of sizeof to ARRAY_LEN
17 years ago
Kevin P. Fleming b968349e19 Merged revisions 130039 via svnmerge from
17 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
17 years ago
Matthew Fredrickson 268ca4a5bb It would help if we actually parsed the ss7_explicitacm option in the config file...
17 years ago
Matthew Fredrickson 199067da4f Add option to wait to be able to explicitly send ACM via the Proceeding() application in the dialplan. Also minor documentation update explaining how to setup multiple signalling links within a linkset
17 years ago
Steve Murphy bc2cfb3e81 Merged revisions 127663 via svnmerge from
17 years ago
Matthew Fredrickson 5862f66c88 Add support to see MTP2 down events when the link layer drops in SS7
17 years ago
Matthew Fredrickson 512a022a95 Revert this part of the fix. We'll fix it in libss7
17 years ago
Matthew Fredrickson a68a212f53 Obviously somebody didn't compile with libss7 support when doing the DAHDI conversion.
17 years ago
Matthew Fredrickson 1b9d5d96e3 Add support for new commands to block/unblock all CICs on a linkset
17 years ago
Kevin P. Fleming 72e59c18f2 Merged revisions 125327 via svnmerge from
17 years ago
Kevin P. Fleming fd4a60c459 Merged revisions 125132 via svnmerge from
17 years ago