Commit Graph

363 Commits

Author SHA1 Message Date
Kevin P. Fleming 0242a69b3f Merged revisions 7265-7266,7268-7275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines

Changing bug report address to the Asterisk issue tracker

........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines

Makefile 'update' target now supports updating from Subversion repositories (issue #5875)
remove support for 'patches' subdirectory, it's no longer useful

........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines

ensure channel's scheduling context is freed (issue #5788)

........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines

don't block waiting for the Festival server forever when it goes away (issue #5882)

........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines

allow variables to exist on both 'halves' of the Local channel (issue #5810)

........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines

protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879)

........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines

properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870)
reformat password changing code to conform to coding guidelines (issue #5870)

........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines

allow previous context-searching behavior to be used if desired (issue #5899)

........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines

inherit channel variables into channels created by Page() application (issue #5888)

........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines

Bug #5907. Improve SIP INFO DTMF debugging output. (1.2 & Trunk)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 01:01:11 +00:00
Kevin P. Fleming 66ddc1dd5f free write frames when spy queues provide frames that don't need to be dup'd
properly lock and trigger spies when detaching them en masse


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 03:16:53 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming 60ebbb5744 issue #5770
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 18:11:28 +00:00
Kevin P. Fleming c6e7b2a333 issue #5590
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 03:48:28 +00:00
Kevin P. Fleming 5f50e4cb93 native bridging changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-02 17:20:35 +00:00
Kevin P. Fleming b05e64ed12 issue #5564
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:11:57 +00:00
Kevin P. Fleming cfced0420e use a writeable frame (some channel drivers/transcoders may modify the frame after it has been passed to ast_write())
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 18:48:05 +00:00
Kevin P. Fleming 03ceef35ac optionally send silence during recording (issue #5135)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 17:22:25 +00:00
Kevin P. Fleming 8fb55e2478 fix various bugs related to list handling of channel variables (issue #5548)
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 15:34:11 +00:00
Kevin P. Fleming 846b39a9f1 major redesign of the channel spy infrastructure, increasing efficiency and reducing locking conflicts
(nearly) complete rewrite of app_muxmon, renaming the application to MixMonitor and fixing a large number of bugs and inconsistencies
update app_chanspy to use new spy infrastructure


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:01:13 +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
Mark Spencer 5ef59963d0 Fix timeout > 600000 on Linux x86-32
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 22:45:47 +00:00
Mark Spencer 7e890dd49c Handle device state changes properly when formatting characters are present (bug #5450, new patch)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 15:41:55 +00:00
Mark Spencer d2025ad2a1 Add walk by channel name prefixed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-16 16:11:52 +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
Kevin P. Fleming 2fe49e7a5f support sending text through agent channels (issue #5295)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 00:46:13 +00:00
Mark Spencer 370f98e223 Fix crash in chanspy (bug #5332)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 22:10:16 +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
Kevin P. Fleming b7c31babb0 support call duration limits on inbound OSP calls (issue #5346)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 23:28:57 +00:00
Kevin P. Fleming 62209ede0c code cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 17:40:24 +00:00
Kevin P. Fleming 29bdd1b424 add API for searching active channels by context/exten
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 16:34:39 +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 d3a76999d0 various devicestate fixes (issue #5081, take two)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 22:28:33 +00:00
Kevin P. Fleming 253e6537df don't reverse variable order during inheritance (issue #5091)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 21:50:49 +00:00
Kevin P. Fleming e04ba4a11f eliminate old chan->pvt field, and fix bug in generic bridge to watch chan->tech_pvt instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 00:10:49 +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
Kevin P. Fleming 1480688582 clarify comments (issue #5075)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 21:28:12 +00:00
Mark Spencer 5d4d2fdfd4 Add SIP video fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:12:09 +00:00
Kevin P. Fleming 49b0098c4a ensure CDR pointer is cleared after detaching it from channel (related to issue #4877)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 23:11:29 +00:00
Kevin P. Fleming dffade452c add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 21:19:59 +00:00
Kevin P. Fleming 8253780716 temporarily revert aggressive native bridge attempts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-16 20:37:27 +00:00
Kevin P. Fleming ce7a1e4768 bridging code cleanups:
code style, formatting
	use enum/symbolic constants for return codes
	efficiency improvements
	(zaptel) only disable DTMF detection once per bridge, not every frame
	(zaptel) ensure VPM DTMF detector is turned off during native bridge


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 01:59:59 +00:00
Mark Spencer d9cb23cc90 Don't wait longer than our timeout for something to happen (bug #4653)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-08 06:54:36 +00:00
Mark Spencer 8712d1d7f1 Fix timestamp issue with features (bug #4760 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 04:42:59 +00:00
Mark Spencer f49ff59c3f Fix monitoring when channel redirected (bug #3809, patch redone)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-31 21:27:21 +00:00
Russell Bryant 80af1153bc fix warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 22:19:49 +00:00
Kevin P. Fleming 8b3f4e3022 formatting cleanups (bug #4782)
fill out some Manager events with additional headers (bug #4782)
re-word some log messages to be clearer (bug #4782)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:13:32 +00:00
Russell Bryant 36093d24f7 get rid of a warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:27:36 +00:00
Russell Bryant 5589a1e387 put ast_recvchar under its desc, add desc for ast_senddigit, don't use a
length limited copy for a static copy into a buffer that we *know* is big
enough


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 16:39:49 +00:00
Russell Bryant 5af1098063 get rid of unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-18 05:00:23 +00:00
Russell Bryant a9c7f50a09 Allow manager originate to specifiy more than one variable to be set.
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:24:51 +00:00
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)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Kevin P. Fleming 9d8d86e19d phase two of string portability stuff:
don't need ast_ prefixes on functions
  use individual #defines for function presence
  add vasprintf to portability library


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 22:06:15 +00:00
Kevin P. Fleming b6486df40e first phase of proper fix for portable string function problems (bug #4669)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 00:39:01 +00:00
Kevin P. Fleming 4bcf6f7806 fix logic error in searching for channel by name (bug #4684)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 16:00:23 +00:00
Kevin P. Fleming 24f9f8586b cast constants into the proper type (bug #4686)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 15:13:39 +00:00
Anthony Minessale II fb4106f357 Typo Fix (per corydon76)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09 20:37:59 +00:00
Malcolm Davenport 47edc64ecd D'oh
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09 15:36:59 +00:00
Malcolm Davenport fe7c0b0cce Bug #4652 - Take two
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09 12:18:59 +00:00
Malcolm Davenport d36d51f732 Bug #4652 - Require libstrfunc for FreeBSD. Thanks Corydon
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:54:07 +00:00
Kevin P. Fleming c13d601fb4 queue device state changes and handle them serially in a background thread
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:14:34 +00:00
Kevin P. Fleming 6797e6334f don't write frames out to channel until after sending them to spies and/or monitor, since the channel driver might modify the frame data in the buffer (bug #4623)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 22:21:54 +00:00
Kevin P. Fleming 386f0e70b3 ensure that text frames are copied correctly even if they are not null-terminated (bug #4615)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:52:48 +00:00
Russell Bryant 52ef5c7d30 add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 17:16:17 +00:00
Kevin P. Fleming 7ec4d28296 optimize ast_recvchar/ast_recvtext (bug #4591)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23 21:28:09 +00:00
Kevin P. Fleming 85091ab68d add channel CLID info in manager Link event (bug #4548 with minor mod)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 23:10:29 +00:00
Kevin P. Fleming 767f019264 add AGI 'RECEIVE TEXT' command (bug #4525)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 01:16:18 +00:00
Mark Spencer 121a4d8c71 Fix timelimit bug (bug #4552)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 17:18:02 +00:00
Russell Bryant b71be71262 fix deadlock message output (bug #4508)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-14 18:09:56 +00:00
Kevin P. Fleming 2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming 0e6762dd5f remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Kevin P. Fleming 1bac31d6bd more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 02:29:18 +00:00
Kevin P. Fleming 723d6b5be8 more ast_copy_string() conversion
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 16:32:16 +00:00
Kevin P. Fleming 7a2d5cbb3e make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 15:04:43 +00:00
Kevin P. Fleming a273ffa005 make 'show channeltypes' list whether device state is supported (bug #4464)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 14:32:32 +00:00
Kevin P. Fleming 23472dd2c0 support configurable batch posting of CDRs (off by default) (bug #3883)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 01:42:31 +00:00
Kevin P. Fleming 050416ed29 make 'show channeltypes' output format work properly (bug #4413)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 21:37:09 +00:00
Kevin P. Fleming 4910637da7 code formatting and comments, plus minor device state fix (bug #4171)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:48:30 +00:00
Mark Spencer 81643ec9c3 Remove double fout++ and comment on flag (bug #4267)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:26:37 +00:00
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)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Mark Spencer 7bedf24c8c If poll returns 0, force *ms to 0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-24 22:54:50 +00:00
Kevin P. Fleming 199add9567 phase 1 of header include cleanup (bug #4067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +00:00
Kevin P. Fleming e1d1a962c7 initialize errno and don't report an error when poll() returns without indicating one (bug #4059)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 01:40:23 +00:00
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming 3afbc3287f don't force transcoding through SLINEAR when transcoding is not needed at all
clean up formatting and variable names in ast_channel_make_compatible


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-18 16:26:41 +00:00
Kevin P. Fleming e7bbe31f8f optimize codec selection and format changing code
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 03:28:38 +00:00
Kevin P. Fleming 33801137f8 don't take the channel list lock until we're actually ready to put the new channel into the list in ast_channel_alloc (bug #3928)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 21:38:17 +00:00
Matthew Fredrickson b81f233e68 Merging in xylome's beaerer capabilty patch (bug 3547)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 17:00:50 +00:00
Mark Spencer b6fd23d966 Fix build without zaptel (bug #3901)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 19:07:27 +00:00
Mark Spencer 886b082880 Make bridging more efficient
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 03:00:37 +00:00
Anthony Minessale II 1c7fef7ece increase queue length of chanspy queue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30 22:09:01 +00:00
Anthony Minessale II 6afb37c9ae add missing newlines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30 16:20:53 +00:00
Mark Spencer dc9faa21e4 Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 20:48:24 +00:00
Mark Spencer df81f135e4 GCC 4 fix (bug #3875)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 21:58:10 +00:00
Anthony Minessale II 4d48644182 Fix the mysterious missing if
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24 03:04:45 +00:00
Mark Spencer 29ce32912d Merge API changes for chanspy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-23 21:52:31 +00:00
Mark Spencer ff47b7ec31 Make sure that waitfordigit_full doesn't hangup on -EINTR (bug #3831)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-22 22:44:55 +00:00
Mark Spencer 18d9b26cf9 Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Mark Spencer 34e8ed636d Fix queue URL passing (bug #3543)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-28 06:06:42 +00:00
Mark Spencer 9cd9198127 Fix silly newline miss (bug #3555)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-10 23:46:03 +00:00
Mark Spencer d95c7d63d0 Copy language, too (bug #3401)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 22:30:16 +00:00
Russell Bryant 0c30452423 update copyright headers for 2005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Josh Roberson 7f887cca90 Misc Grammer/formatting fixes - Thanks Corydon76! (bug #3361)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-17 22:53:36 +00:00
Mark Spencer 840f035827 Merge hold patch (bug #1840)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-17 12:37:55 +00:00
Mark Spencer 160c04b793 Repair // comments to /* */ comments (bug #3347)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 23:48:12 +00:00
Mark Spencer 96503a02c1 Make groups be 64-bits (bug #3351, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 21:51:38 +00:00
Mark Spencer 122b11ec21 Handle masq properly when clone channel has no vars (bug 3344)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 06:37:51 +00:00
Mark Spencer 7c048c0b65 Handle syntax errors in group descriptions more gracefully (bug #3330)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-13 03:31:58 +00:00
Mark Spencer 92eb0c2018 More flagification, courtesy drumkilla (bug #3280)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-10 14:46:59 +00:00
Mark Spencer b629af806e Handle masq properly with music (bug #3235)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-10 04:23:39 +00:00
Mark Spencer 88979c2a4a Don't allow masquerading into oneself (bug #3040)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-09 09:42:54 +00:00
Mark Spencer 51cab9e7cc Make queue support channel variable inheritance (bug #3274)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-08 17:23:29 +00:00
Mark Spencer c31621bbec Calculate tvdiff properly (avoid off-by-one)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-05 22:29:30 +00:00
Mark Spencer e7d4ae8efa Make features configurable and easier to implement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-04 04:01:40 +00:00
Mark Spencer 1ea2b79b37 Handle group memberships better with masquerade (bug #3067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-02 02:07:24 +00:00
Mark Spencer 7abe9e6c16 List improvements from kpfleming (bugs #3166,#3140)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-01 21:26:37 +00:00
Mark Spencer c7306dce2b Make sure to wake up sleeper on sip transfer issue (bug #2938)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-01 20:17:11 +00:00
Mark Spencer ce2e6b28e8 Merge OEJ's channel type listing (bug #3187) with slight modifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-31 00:04:41 +00:00
Mark Spencer 713a2eb072 Merge anthm's native MOH patch (bug #2639) he promises me he'll rid it of ast_flag_moh...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-24 01:40:07 +00:00
Mark Spencer cecda3fb67 Speed up ast_list macros (bug #3135)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-23 15:11:46 +00:00
Mark Spencer 946e66ef0e Make event parameter names consistent for callerid (bug #3116)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-21 21:46:58 +00:00
Mark Spencer b3a0ef24ed Fix comment issues (bug #3089)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-18 22:04:07 +00:00
Mark Spencer 5789ae4d18 Make music on hold truly optional (bug #2998)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-09 19:55:01 +00:00
Mark Spencer c46e21252c Big diet for struct ast_channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-07 20:38:43 +00:00
Mark Spencer 134e6180c5 Disable echo canceller for digital calls (bug #2785), fix build on MacOSX (bug #2803)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-07 16:21:01 +00:00
Mark Spencer 6cb38ac23a Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-06 21:33:01 +00:00
Mark Spencer 94994626b6 Pass through flash hook
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-03 22:37:55 +00:00
Mark Spencer afd15388cc Debugging improvements (bug #2765)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 01:44:11 +00:00
Mark Spencer 8a13712e45 Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-26 22:25:43 +00:00
Mark Spencer 82cbf28993 Add "Loopback" switch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-24 02:53:24 +00:00
Mark Spencer e21ed1865b First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 12:19:47 +00:00
Mark Spencer fce17976e9 Major PBX revamps (including labels, update examples)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 04:19:59 +00:00
Mark Spencer 04fc29c8b2 Huge callerid rework (might break H.323, others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 00:58:31 +00:00
Mark Spencer c4aa1dadbd Use file that is in Asterisk rather than asterisk-sounds (bug #2445)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-15 14:12:45 +00:00
Mark Spencer 789c4f4587 If nativeformats changes, recalculate formats (bug #2224)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-04 01:06:42 +00:00
Mark Spencer d952c7ed71 Fix "duplicate answer" issue (bug #2342)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-02 13:48:11 +00:00
Mark Spencer 1db964ad95 When queueing frames, it's pointless to queue a frame after a HANGUP frame is queued...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 17:30:46 +00:00
Mark Spencer 90a497c3b8 Fix generator for VAD as well as for automatically syncing to incoming signal if present (bug #2312)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-27 22:53:56 +00:00
Mark Spencer 2863202bed Run generators from zap timers when available so as to interop with VAD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-27 03:28:32 +00:00
Mark Spencer c22fdb7232 Include UniqueId in rename events... (bug #2306)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-26 22:45:26 +00:00
Mark Spencer 27d0ebc686 Only play announce time on first pass
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-06 14:43:25 +00:00
Mark Spencer baef4818d2 Somehow matt's patch didn't make it all the way in
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-28 20:41:49 +00:00
Mark Spencer 611da9b699 Swap states early in masquerade process (bug #1987)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-09 10:57:43 +00:00
Mark Spencer 7ca6f85a41 More strcpy / snprintf as part of rgagnon's audit (bug #2004)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-09 10:08:09 +00:00
James Golovich 074f8d9378 Use snprintf in __ast_request_and_dial instead of sprintf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 19:29:03 +00:00
Mark Spencer 5bb0c3786d Oops (fix typo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 12:40:15 +00:00
Mark Spencer 6195ae7453 Perform deadlock avoidance on initial entry, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 12:38:04 +00:00
Mark Spencer 30910d48bc Avoid potential deadlocks in channel_walk_locked, and detect serious failures
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 10:51:00 +00:00
James Golovich 3d0e3d3c0f More formatting cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 04:42:19 +00:00
Mark Spencer 8ef1f1ea2e oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-24 03:04:25 +00:00
Mark Spencer 68248b91f0 Be sure to hold lock during answer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-23 17:41:51 +00:00
James Golovich 3f9c34f415 Misc formatting cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 20:11:15 +00:00
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer 5b9cab6c13 Separate PROCEEDING and PROGRESS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 21:18:52 +00:00
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Mark Spencer 103bb4a334 Enhancements for zaptel+bsd (bug #1781)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-04 15:44:14 +00:00
Mark Spencer ea2b6241fd Lock while installign generator
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-02 20:18:18 +00:00
Mark Spencer 96117402b1 Unlock PRI lock, fix variable pasing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-27 16:50:07 +00:00
Mark Spencer 7dee677799 Fix major typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-25 04:50:54 +00:00