Commit graph

5508 commits

Author SHA1 Message Date
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
a913a5ce23 add the new files for the last commit :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:15:41 +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
0111a38e4b ensure globals are all static
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:09:38 +00:00
Matthew Fredrickson
f6f9cac028 Change level of message in case of write on hung up channel (Bug #4651)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 19:10:39 +00:00
Kevin P. Fleming
f64717b556 clean up compiler warnings during build on 64-bit systems
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 17:06:54 +00:00
Russell Bryant
ea346597bb update sample to reflect new nodir option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 15:04:01 +00:00
Russell Bryant
b8e8cdc968 make this call to socket() consistent with the rest of them in Asterisk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 14:27:39 +00:00
Russell Bryant
c65d75dac5 super crazy ast_copy_string conversion madness!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:46:10 +00:00
Kevin P. Fleming
349a64ef8f add path-locking to voicemail CGI app (bug #4304)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:34:59 +00:00
Russell Bryant
91ee5d5ddd more fun with ast_copy_string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:32:37 +00:00
Kevin P. Fleming
25f2cb8ec9 ensure that "completed calls" counter is updated properly (bug #4575)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:29:48 +00:00
Kevin P. Fleming
bebab80538 ast_copy_string conversion
replace unnecessary length-limited copies with direct copies


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:17:22 +00:00
Russell Bryant
089e021868 more ast_copy_string conversions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:17:04 +00:00
Kevin P. Fleming
64cf50c8e1 allow user-configurable date formats in voicemail message body (bug #4554)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:56:49 +00:00
Kevin P. Fleming
608eec66d6 ensure that mailbox numbers are read correctly from password files (bug #4655)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:42:06 +00:00
Kevin P. Fleming
d39c932f20 ensure that conference created by new caller who fails to enter a PIN is destroyed (bug #4613)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:36:40 +00:00
Kevin P. Fleming
f268ea2b3c make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 22:32:20 +00:00
Malcolm Davenport
f1a18b8066 Hardcode urgent messages option in Voice-Message to 0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 19:51:33 +00:00
Kevin P. Fleming
6b72557890 ensure that AGENTBYCALLERID is set for agents being reloaded from persistent storage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-06 14:47:25 +00:00
Kevin P. Fleming
1bd88c387e don't segfault when peer doesn't send Referred-By (bug #4588)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-06 01:45:23 +00:00
Kevin P. Fleming
8b19bdba36 ensure buffer policy is restored after RAS is done with a channel (bug #4589, slightly simpler fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-06 01:41:54 +00:00
Kevin P. Fleming
9403a6e027 remember CallerID in AgentCallbackLogin, so it can be used at logoff time
use stored CallerID when auto-logoff occurs to clear AGENTBYCALLERID variable (bug #4616)
persist stored CallerID into/out of astdb


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6036 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-06 01:29:15 +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
054317fb13 add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
add warning for when file mapping is found but the engine is not available
add warning for trying to map 'logger.conf', since it cannot be reliably mapped


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 22:11:43 +00:00
Kevin P. Fleming
18cf6ee46a add new file to ignore
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 22:10:39 +00:00
Kevin P. Fleming
65e52f3ba9 clean up find_engine()
issue a warning when a config file mapping is found but the desired driver is not available (inspired by bug #4628)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 21:17:58 +00:00
Kevin P. Fleming
750e8abd46 ensure that filesize-triggered reloads don't recurse (bug #4621, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 20:31:34 +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
Kevin P. Fleming
7d841b1885 make editline build properly on cygwin (bug #4624)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:30:18 +00:00
Kevin P. Fleming
232e7869e0 don't force autofallthrough to on (bug #4599)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:22:58 +00:00
Kevin P. Fleming
f8b140faa4 ensure that abandoned calls are recorded that way (bug #4644)
show 'available' for member channels that are not known to be in some other state (bug #4644)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:22:26 +00:00
Kevin P. Fleming
8f8d190b46 add man pages for autosupport and safe_asterisk scripts (bug #4642)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:04:49 +00:00
Kevin P. Fleming
83878abdc7 actually _install_ the astgenkey man page
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:02:25 +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
3c91556d2d reset regattempts counter after successful registration (bug #4634)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 15:08:34 +00:00
Kevin P. Fleming
3abe796aa8 fix up warnings (bug #4638)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 14:45:48 +00:00
Kevin P. Fleming
253377c208 use proper shebang line in autosupport script, at proper location (bug #4640)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 14:41:28 +00:00
Kevin P. Fleming
ca2f18839d don't unlink files just because they can't be opened (bug #4641)
clean up and reformat ast_readfile and ast_writefile


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 14:37:24 +00:00
Russell Bryant
bcc5eb829d print out which format was bigger than MAX_FORMAT
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 14:00:03 +00:00
Jim Dixon
4cac951c1c Added fix so that wctdm interface will start out in correct state
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-04 00:52:18 +00:00
Anthony Minessale II
de87676975 Apply NODIR Patch (Bug #4619)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-30 18:08:27 +00:00
Matthew Fredrickson
cb8ba75284 Fix for bug 4347. Also breaking redirectingreason interpretation routine into function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-29 21:47:44 +00:00
Matthew Fredrickson
220e24584a UK discconnect tone detection support. Need to enable callprogress in
zapata.conf and set progzone=uk


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-28 14:36:56 +00:00
Kevin P. Fleming
b83175862e add new header files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 22:50:07 +00:00
Kevin P. Fleming
3e44b65090 split up string/time functions into separate header files
make more LOW_MEMORY optimizations, and ensure that a non-inline version of each inlinable function is always available (for external modules)
move compiler-specific stuff into a separate header file


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 22:45:15 +00:00
Kevin P. Fleming
3ddc33f674 un-break three-way calling
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 19:15:51 +00:00
Russell Bryant
436a8474b0 '9' doesn't fall there anymore ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 17:19:26 +00:00