Commit Graph

708 Commits (bae41357596e6ec24c1d1a222bc1036c469413c7)

Author SHA1 Message Date
Matthew Fredrickson 6ba6a2be1c Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (#6229)
20 years ago
Kevin P. Fleming 21347757ef don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
20 years ago
Russell Bryant 466a062b09 convert some channels to use the memory allocation wrappers.
20 years ago
Mark Spencer 1b57ae8b6c Fix build if RINGBEGIN is not defined (bug #6166)
20 years ago
Matthew Fredrickson 4401b7e67f Changes to allow receiving japanese callerid (Bug #5928)
20 years ago
Matthew Fredrickson a14916bfa5 Fixes for bug #6125
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Mark Spencer 63ed37defd Don't do DTMF detect on pseudo's!
20 years ago
Jim Dixon a945b5598e Added support for Feature Group C CAMA trunks (both DP and MF), and support
20 years ago
BJ Weschke 8ef327b3f5 Bug #5877
20 years ago
Russell Bryant 0ff48b4681 clean up some compiler warnings
20 years ago
Tilghman Lesher 870f98f02d Bug 5858 - Make the chanvars.c functions return a 'const char *'
20 years ago
Matthew Fredrickson 6a6b88c0e3 Fix all the warnings and errors for PRI to go to more logical places
20 years ago
Matthew Fredrickson 39c7f262a0 Add app to send pri keypad facility digits during a call
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Mark Spencer a7d794a0ac Fix DTMF issue with 3-way native zap
20 years ago
Kevin P. Fleming bdda6254f4 correct logic for group-match CONGESTION checking
20 years ago
Kevin P. Fleming cdf4031963 issue #3360 plus related fix
20 years ago
Mark Spencer c5f0a6db6f Fix three-way issue
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Mark Spencer 3d473eebbc Fix chan_zap build on non-PRI (bug #5620)
20 years ago
Mark Spencer 994b9db081 Handle DTMF properly when combined with other events
20 years ago
Russell Bryant 9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant 4cc2618bd1 fix output of 'zap show status' to line up properly (issue #5491)
20 years ago
Matthew Fredrickson 0f850c2ffb Add user to user ie transmission support in chan_zap.c
20 years ago
Russell Bryant 56135f210f silence compiler warnings when ZT_TONEDETECT is not defined (issue #5470)
20 years ago
Mark Spencer 141d9f7156 Make sure when the timeout occurs that we actually break the bridge (bug #5252)
20 years ago
Mark Spencer dd11afca42 Fix call timeouts with rtp bridge etc (bug #5252)
20 years ago
Matthew Fredrickson 1406f660b6 Rewrite of PRI progress and message handling. Fixes bugs #5266 and #4468
20 years ago
Kevin P. Fleming 13519f72e7 support both regular and Feature Group D dialing syntax on EM_WINK trunks (issue #5323)
20 years ago
Mark Spencer ea215f5b7d Remove possibility of manager deadlocks from manager actions
20 years ago
Kevin P. Fleming 4287cb7f42 more whitespace fixes
20 years ago
Kevin P. Fleming b450a235b2 more whitespace cleanup
20 years ago
Kevin P. Fleming f8f7d21252 whitespace fix
20 years ago
Kevin P. Fleming eb91322494 fix comment typo
20 years ago
Kevin P. Fleming 2685a48e37 missed a line...
20 years ago
Kevin P. Fleming 35c4afd0fd code cleanup
20 years ago
Kevin P. Fleming b40ba965d6 minor fixes
20 years ago
Kevin P. Fleming b5e6b8af98 clean up formatting, use the same flag bit for both GR-303 modes
20 years ago
Russell Bryant 380005fea4 fix variable name (issue #5302)
20 years ago
Russell Bryant 3c020accfd don't declare the priority inside of the for loop so that the priority
20 years ago
Kevin P. Fleming 24cdb73f92 handle polarity reversal hangup indication during an incoming call that is still ringing (issue #5191)
20 years ago
Mark Spencer cfabcabae8 Null out call number on release complete when number is unallocated (bug #4633)
20 years ago
Mark Spencer a21c9058e0 Fix cut/paste error (bug #5282)
20 years ago
Kevin P. Fleming d6ef44afe0 revert an optimization that didn't work (issue #5222)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 77ed1394b6 ensure that exten field is cleared when incoming number is not matched to an extension (issue #5203)
20 years ago
Kevin P. Fleming 72437b1dba more BSD portability fixes (issue #5155)
20 years ago
Mark Spencer 41bf6b42fd Try a more generally correct solution, for NFAS (bug #5179)
20 years ago
Mark Spencer 04e4a54ae8 Restart PRI when we come out of alarm if we're not already up...
20 years ago
Mark Spencer 961cd50bba Don't allow callwait to happen during initial ringdown (bug #5188)
20 years ago
Mark Spencer a2b177fcbb Increase PRI buffers just in case
20 years ago
Matthew Fredrickson f49370c82f Fix 'w' to correctly send sending complete on PRI
20 years ago
Jim Dixon 4794638c99 Fixed signalling problem with pciradio
20 years ago
Matthew Fredrickson 6f78afbe00 Revert change that removed q931_call structure too soon
20 years ago
Kevin P. Fleming 5fdc070109 add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
20 years ago
Matthew Fredrickson 7348cba9c7 Fixed possible hangup race condition that would lead to segfualt with hangups.
20 years ago
Kevin P. Fleming aa6883aba6 revert unnecessary change
20 years ago
Mark Spencer 0602837f4e Fix vidupdate for chan_zap to eliminate sillyl warning
20 years ago
Kevin P. Fleming 5f6431a75a factor calling-plan-apply logic into a separate function
20 years ago
Kevin P. Fleming 8fc8505607 don't send warnings for unhandled indications, let ast_indicate() deal with them (issue #5097)
20 years ago
Matthew Fredrickson c88ab78d47 New, more robust way of doing e&m digit collection. Bug #3805
20 years ago
Matthew Fredrickson 25d9051633 Make sure we enable echo cancellation on incoming overlapdial calls
20 years ago
Kevin P. Fleming 050d6c7d34 ensure revents fields are initialized before calling poll()
20 years ago
Mark Spencer ac0eaaf1f2 Add support for ring begin event and configurable ringtimeout.
20 years ago
Matthew Fredrickson 98047ff61d Add support for override of the default pri exclusive/preferred channel
20 years ago
Kevin P. Fleming 3ac4417753 eliminate warning when !ZAPATA_PRI
20 years ago
Mark Spencer 47334c3193 Fix language in d-channel (bug #4979)
20 years ago
Kevin P. Fleming 8a2b540f0a protect PRI-specific code with ifdefs
20 years ago
Matthew Fredrickson d39d277ada Don't catch digits from zaptel during overlap dialing
20 years ago
Mark Spencer 3b12e18473 Fix PRI against masquerade
20 years ago
Mark Spencer f2c72aca7b Fix potential deadlock in asterisk
20 years ago
Kevin P. Fleming ce7a1e4768 bridging code cleanups:
20 years ago
Mark Spencer 13a0bec612 Merge steve's busy detect stuff (bug #4830)
20 years ago
Mark Spencer f4a1a05205 Revert improperly applied patch from bug #4771
20 years ago
Kevin P. Fleming 9b8ee1f3e4 set the 'number complete' bit properly (bug #4771)
20 years ago
Matthew Fredrickson 6eb0ec533e More minor cleanups
20 years ago
Matthew Fredrickson 0577cdd35f Fixed little oops with DTMF tone duration
20 years ago
Matthew Fredrickson 23d05a2ebb Get rid of DSP after we don't need it anymore in MF mode
20 years ago
Matthew Fredrickson 0a4dd9a6b3 Fix for DSP code on 411/406. (Bug 4712). Also a settable tone length
20 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
20 years ago
Kevin P. Fleming 904beec507 ensure that format string macros are undef'd after use (bug #4716)
20 years ago
Kevin P. Fleming 17fee8dc68 various code formatting changes and cleanups related to bug #4706
20 years ago
Kevin P. Fleming f50c27c355 don't ignore hardcoded CLID from zapata.conf when usecallerid=no
20 years ago
Matthew Fredrickson 91f84f9098 Update variable name to match docs
20 years ago
Kevin P. Fleming a803ef7af0 pick up calling ANI information from libpri (bug #4571)
20 years ago
Matthew Fredrickson e67bc60c40 Make PRI debug easier to read if you're not using NFAS
20 years ago
Russell Bryant 4c531ca8c0 define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
20 years ago
Mark Spencer 80f67ad1fa Pass along proceeding and progress even when overlap mode is not on
20 years ago
Russell Bryant 52ef5c7d30 add function to convert a cause code to a string
20 years ago
Matthew Fredrickson cb8ba75284 Fix for bug 4347. Also breaking redirectingreason interpretation routine into function
20 years ago
Kevin P. Fleming 3ddc33f674 un-break three-way calling
20 years ago
Kevin P. Fleming 9f4ad3363d ensure that 'zap show status' always generates output, even when there are no interfaces present (bug #3585)
20 years ago
Kevin P. Fleming 4803ab0bb2 don't use locks when reading usecounts (reading only, not writing)
20 years ago
Kevin P. Fleming 442f3b15a1 make 'transfer to busy' support a configurable option, and make it _only_ short-circuit AST_STATE_BUSY
20 years ago
Kevin P. Fleming 4d102efb7a make incoming overlap calls with no number specified use the 's' extension (bug #4317)
20 years ago
Kevin P. Fleming 439002c898 make zap-transfers to busy/congestion channels behave more reasonably (bug #4495)
20 years ago
Kevin P. Fleming 178842ec27 save 168 bytes per zaptel channel private structure (using bitfields)
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago
Kevin P. Fleming 005e436b57 another round of version tag updates, along with 'show version files' pattern filtering
20 years ago
Kevin P. Fleming 8726967435 handle going to 'fax' extension when inside a macro properly (bug #4368)
20 years ago
Kevin P. Fleming 6107dfe927 use ast_cli_register_multiple() for chan_zap CLI commands
20 years ago
Mark Spencer 7b03b102c9 Setup transfer capability properly for outbound calls (bug #4434)
20 years ago
Mark Spencer 41e7cc8154 Use defined AST_MAX_ACCOUNT_CODE (bug #4350)
20 years ago
Russell Bryant 9644f1dcfe various code cleanups (bug #4353)
20 years ago
Matthew Fredrickson c055fcc9a7 (Hopefully!) last remaining changes for NFAS.
20 years ago
Matthew Fredrickson e92b07d372 More updates for NFAS span/channel mapping
20 years ago
Matthew Fredrickson 91bfc89301 Bug in pri_find_principle
20 years ago
Matthew Fredrickson 840a2ba5b4 Updates for new libpri set_message api
20 years ago
Matthew Fredrickson ed76520002 Mods for IMPLICIT/EXPLICIT channel id selection support
20 years ago
Matthew Fredrickson ee296ae8a9 Turn on the DSP for the channel after an ANSWER so that we get DTMF detected
20 years ago
Matthew Fredrickson 9b89127c75 Additions to chan_zap.c to receive PRI_EVENT_KEYPAD_DIGIT properly. Bug #4286
20 years ago
Kevin P. Fleming 507ceb1a29 add 'zap show status' CLI command to display card/span status (bug #3585)
20 years ago
Kevin P. Fleming 9bf21dbf58 more strncpy -> ast_copy_string conversions, fixing some buglets along the way
20 years ago
James Golovich 7d26776adc Fix typo in chan_zap.c faclityenable != facilityenable
20 years ago
Malcolm Davenport 04274f46c3 Resolve Bug #4248
20 years ago
Matthew Fredrickson ba736889bf enable/disable facility ies
20 years ago
Matthew Fredrickson 567dd8c1ea Set DNID for immediate calls (Bug #4220)
20 years ago
Matthew Fredrickson 31d5fab9cd chan_zap.c portion of PRI show debug command (Bug #3985)
20 years ago
Russell Bryant 5f54bf2230 revert this patch ... THIS IS NORMAL OPERATION, see the bugnotes for details (bug #4107)
20 years ago
Kevin P. Fleming aba598c26f fix build on FreeBSD (bug #4125)
20 years ago
Mark Spencer f2c734ba04 Add support for native DTMF
20 years ago
Kevin P. Fleming ce6a7846c0 properly check for error from pri_timer2idx (bug #4117)
20 years ago
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
20 years ago
Kevin P. Fleming ae90c1a014 make write() failures on Zap channels more prominent than 'debug' messages (bug #4107)
20 years ago
Jim Dixon da9a73f4c9 Fixed problem with 'radio' attribute vanishing upon zap reload
20 years ago
Kevin P. Fleming 22ef00edde add manager events for Zaptel DND state changes (bug #4070, with mods)
20 years ago
Kevin P. Fleming cd932e2234 reset 'confirm' mode so DTMF can be used by Zap callees after confirming (bug #4083)
20 years ago
Matthew Fredrickson fd4dbd6c5c Support for new signaling type Feature Group D (MF) through a tandem access
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Russell Bryant 7bffc0459c add missing newlines, fix misspelling of nonexistent (bug #4027)
20 years ago
Mark Spencer a7230de79a Correctly choose end of number (i.e. if it ends in 'w' with nothing following)
20 years ago
Matthew Fredrickson d41e65cd0d Merging AOC notifications for bug #3843
20 years ago
Mark Spencer c8f858f2aa Alerting *can* be sent after proceeding (bug #3963)
20 years ago
Matthew Fredrickson b81f233e68 Merging in xylome's beaerer capabilty patch (bug 3547)
20 years ago
Mark Spencer dc9faa21e4 Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
20 years ago
Mark Spencer 4253cfd233 Avoid excessive "PROGRESS" messages (bug #3807)
20 years ago
Mark Spencer aa25b367d6 Allow resetinterval to be "never"
20 years ago
Mark Spencer 4e70bbc3b2 If the D-channel goes down and comes back up, consider it "up" on any event other than a pri down event.
20 years ago
Mark Spencer f9cfe60312 Add support for Solaris/x86 (bug #3064)
21 years ago
Russell Bryant 5dc4b018a4 updates from angler
21 years ago
Matthew Fredrickson 1220a0e2fb Making 2bct work only if transfer=yes in zapata.conf for the channel
21 years ago
Mark Spencer 3334ab2653 Remove duplicate CallerPres application
21 years ago
Mark Spencer 2fbb559a70 Remove accidental libpri dependency (bug #3714)
21 years ago
Mark Spencer 18d9b26cf9 Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
21 years ago
Mark Spencer 74a28969a4 Add dynamic dialplan support (bug #3566)
21 years ago
Matthew Fredrickson 7dc293f58f Commiting chan_zap.c patch for 2bct
21 years ago
Mark Spencer b216988746 Look for faxexten in the main context, too (bug #3634)
21 years ago
Mark Spencer e330970fb9 Fix GCC 4.0 build (bug #3662)
21 years ago
Mark Spencer d2c0c613c8 Fix zap build for gcc 2.95
21 years ago
Mark Spencer 4b485062ee quicky agent formatting fix, merge polarity/answer patch (bug #2847)
21 years ago
Mark Spencer e75a91556c Properly handle PRI TON and allow changing number (bug #3493, with mods)
21 years ago
Mark Spencer 1be3670efe Fix interation of # transfer and flash hook transfer (bug #3011)
21 years ago
Mark Spencer 5f726ad8c7 Merge config updates (bug #3406)
21 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
Mark Spencer 3758d31fa1 Merge zap PRi call progress fixes (bug #2799)
21 years ago
Mark Spencer 8b0d0923b4 Fix recently introduced zap crash from HOLD/UNHOLD patch (bug #3365)
21 years ago
Mark Spencer 840f035827 Merge hold patch (bug #1840)
21 years ago
Mark Spencer 96503a02c1 Make groups be 64-bits (bug #3351, with mods)
21 years ago
Mark Spencer c2bee5d802 When moving PRI channel rename channel properly
21 years ago
Mark Spencer e5ad6907c5 Make sure we clear out owner in SUB_REAL when moving a call (bug #3267)
21 years ago
Mark Spencer 15307e3978 Use ast_setcallerid instead of manual (bug #3115)
21 years ago
Mark Spencer 68c634721a Revert Jim's earlier "fix" :)
21 years ago
Jim Dixon c9d317ba1a Fixed threeway calling disconnect wrong party bug
21 years ago
Mark Spencer ce87d2977f Make cidrings configurable (bug #2889)
21 years ago
Mark Spencer da6073e8c6 Warn when libpri is too old
21 years ago
Matthew Fredrickson e399238ee3 Little addition to the redirectionreason stuff
21 years ago
Matthew Fredrickson b420a63e73 Add new variable for PRIREDIRECTREASON in dial plan if you a call is redirected
21 years ago
Mark Spencer 9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
21 years ago
Mark Spencer ff740c1bd8 GR-303 conferencing fixes
21 years ago
Mark Spencer f88fd2f9e4 Don't send DTMF when there is no owner (partof bug #3011)
21 years ago
Mark Spencer 1e51aa13af Reload fixes (bug #2991)
21 years ago
Jim Dixon 998621f76a Fixed call parking, added separate paramater to allow/disallow call parking on
21 years ago
Mark Spencer c46e21252c Big diet for struct ast_channel
21 years ago
Mark Spencer 374e04f6a5 Don't create the channel if there already is one...
21 years ago
Mark Spencer 34e56e8675 Make sure we really have a bridged channel (bug #2963)
21 years ago
Mark Spencer 39be2d6244 Don't allow more than 10 seconds of audio for callerid (bug #2920)
21 years ago
Mark Spencer c05c95b497 Fix V23 callerid handling if an event is received (bug #2909)
21 years ago
Mark Spencer 09319f66a0 Merge polarity reversal hangup patch (bug #2847)
21 years ago
Anthony Minessale II 6c16e5aa2b Fix ANI2 variable so it preserves 2 digit precision like it's supposed to.
21 years ago
Mark Spencer d7b3ef9b58 Send progress before in-band indications for BUSY/CONGESTION
21 years ago
Mark Spencer 06b5085b52 Add ANI2 to zap (bug #2788)
21 years ago
Mark Spencer 134e6180c5 Disable echo canceller for digital calls (bug #2785), fix build on MacOSX (bug #2803)
21 years ago
Mark Spencer e3514814ba Make clear that "hookstate" is only valid on FXS
21 years ago
Mark Spencer 94994626b6 Pass through flash hook
21 years ago
Mark Spencer afd15388cc Debugging improvements (bug #2765)
21 years ago
Mark Spencer b8885530f4 Pass redirecting number on PRI calls (bug #2763)
21 years ago
Mark Spencer bec04aa020 Misc code fixes (bug #2762)
21 years ago
Mark Spencer 22384074d9 Fix qsig support
21 years ago
Matthew Fredrickson ac558d5dbe Adding Q.SIG switchtype option to chan_zap
21 years ago
Mark Spencer 384bf5dc32 fix compiler warning
21 years ago
Mark Spencer 8a13712e45 Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)
21 years ago
Mark Spencer 352f1f4e14 Fix MGCP dtmf buglet (bug #2696)
21 years ago
James Golovich 8009d53690 Pass format string
21 years ago
Anthony Minessale II 4959fb958c Make sure close() is not called on a fd < 1 with a wrapper call
21 years ago
James Golovich efd028f632 Check return value of malloc before dereferencing ptr in chan_zap.c
21 years ago
Mark Spencer e21ed1865b First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
21 years ago
James Golovich f3ad3d0359 Fix chan_zap reload with pseudo channels (bug 2664)
21 years ago
Mark Spencer c646d9ce18 Don't restart PRI channels
21 years ago