Commit Graph

536 Commits

Author SHA1 Message Date
Russell Bryant 9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
some places where strlen is used instead of ast_strlen_zero


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:19:37 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Russell Bryant 4cc2618bd1 fix output of 'zap show status' to line up properly (issue #5491)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-22 12:15:07 +00:00
Matthew Fredrickson 0f850c2ffb Add user to user ie transmission support in chan_zap.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21 21:23:16 +00:00
Russell Bryant 56135f210f silence compiler warnings when ZT_TONEDETECT is not defined (issue #5470)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 16:50:18 +00:00
Mark Spencer 141d9f7156 Make sure when the timeout occurs that we actually break the bridge (bug #5252)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 17:02:20 +00:00
Mark Spencer dd11afca42 Fix call timeouts with rtp bridge etc (bug #5252)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 18:27:54 +00:00
Matthew Fredrickson 1406f660b6 Rewrite of PRI progress and message handling. Fixes bugs #5266 and #4468
(Early media related digit passing and passing early media progress between
channels)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 17:00:01 +00:00
Kevin P. Fleming 13519f72e7 support both regular and Feature Group D dialing syntax on EM_WINK trunks (issue #5323)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 03:25:25 +00:00
Mark Spencer ea215f5b7d Remove possibility of manager deadlocks from manager actions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 23:10:14 +00:00
Kevin P. Fleming 4287cb7f42 more whitespace fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 21:29:40 +00:00
Kevin P. Fleming b450a235b2 more whitespace cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 21:23:54 +00:00
Kevin P. Fleming f8f7d21252 whitespace fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 20:46:43 +00:00
Kevin P. Fleming eb91322494 fix comment typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 20:40:24 +00:00
Kevin P. Fleming 2685a48e37 missed a line...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 20:35:47 +00:00
Kevin P. Fleming 35c4afd0fd code cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 20:34:11 +00:00
Kevin P. Fleming b40ba965d6 minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 20:26:41 +00:00
Kevin P. Fleming b5e6b8af98 clean up formatting, use the same flag bit for both GR-303 modes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 20:06:22 +00:00
Russell Bryant 380005fea4 fix variable name (issue #5302)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 19:24:30 +00:00
Russell Bryant 3c020accfd don't declare the priority inside of the for loop so that the priority
can actually be switched at each iteration (issue #5319)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 19:18:48 +00:00
Kevin P. Fleming 24cdb73f92 handle polarity reversal hangup indication during an incoming call that is still ringing (issue #5191)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 03:14:44 +00:00
Mark Spencer cfabcabae8 Null out call number on release complete when number is unallocated (bug #4633)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 02:28:31 +00:00
Mark Spencer a21c9058e0 Fix cut/paste error (bug #5282)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-24 14:19:59 +00:00
Kevin P. Fleming d6ef44afe0 revert an optimization that didn't work (issue #5222)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 15:01:23 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming 77ed1394b6 ensure that exten field is cleared when incoming number is not matched to an extension (issue #5203)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 02:41:05 +00:00
Kevin P. Fleming 72437b1dba more BSD portability fixes (issue #5155)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 01:10:20 +00:00
Mark Spencer 41bf6b42fd Try a more generally correct solution, for NFAS (bug #5179)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-13 02:27:32 +00:00
Mark Spencer 04e4a54ae8 Restart PRI when we come out of alarm if we're not already up...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-13 02:20:37 +00:00
Mark Spencer 961cd50bba Don't allow callwait to happen during initial ringdown (bug #5188)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-11 17:01:10 +00:00
Mark Spencer a2b177fcbb Increase PRI buffers just in case
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09 18:41:17 +00:00
Matthew Fredrickson f49370c82f Fix 'w' to correctly send sending complete on PRI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09 16:07:06 +00:00
Jim Dixon 4794638c99 Fixed signalling problem with pciradio
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-08 17:29:49 +00:00
Matthew Fredrickson 6f78afbe00 Revert change that removed q931_call structure too soon
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 20:52:17 +00:00
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)
modify app_chanspy to use new gain option
reformat app_chanspy to match coding guidelines
add user-controlled volume adjustment to app_meetme (issue #4170, heavily modified to actually work on Zap channels)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 01:30:01 +00:00
Matthew Fredrickson 7348cba9c7 Fixed possible hangup race condition that would lead to segfualt with hangups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-06 17:50:55 +00:00
Kevin P. Fleming aa6883aba6 revert unnecessary change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 19:38:08 +00:00
Mark Spencer 0602837f4e Fix vidupdate for chan_zap to eliminate sillyl warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 18:43:36 +00:00
Kevin P. Fleming 5f6431a75a factor calling-plan-apply logic into a separate function
apply calling plan to RDNIS


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 18:37:53 +00:00
Kevin P. Fleming 8fc8505607 don't send warnings for unhandled indications, let ast_indicate() deal with them (issue #5097)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 21:56:39 +00:00
Matthew Fredrickson c88ab78d47 New, more robust way of doing e&m digit collection. Bug #3805
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 19:02:37 +00:00
Matthew Fredrickson 25d9051633 Make sure we enable echo cancellation on incoming overlapdial calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 17:38:25 +00:00
Kevin P. Fleming 050d6c7d34 ensure revents fields are initialized before calling poll()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 22:12:23 +00:00
Mark Spencer ac0eaaf1f2 Add support for ring begin event and configurable ringtimeout.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 05:02:33 +00:00
Matthew Fredrickson 98047ff61d Add support for override of the default pri exclusive/preferred channel
selection behavior


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 15:39:43 +00:00
Kevin P. Fleming 3ac4417753 eliminate warning when !ZAPATA_PRI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 21:18:20 +00:00
Mark Spencer 47334c3193 Fix language in d-channel (bug #4979)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-19 04:23:23 +00:00
Kevin P. Fleming 8a2b540f0a protect PRI-specific code with ifdefs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-17 17:52:14 +00:00
Matthew Fredrickson d39d277ada Don't catch digits from zaptel during overlap dialing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-16 16:12:22 +00:00
Mark Spencer 3b12e18473 Fix PRI against masquerade
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-15 14:57:58 +00:00