]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Olle Johansson [Thu, 26 Jan 2006 14:44:23 +0000 (14:44 +0000)]
Merged revisions 8710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8710 | oej | 2006-01-26 15:39:36 +0100 (Thu, 26 Jan 2006) | 2 lines
Issue 5898: Registrations does not get deleted if there's an active SIP dialog
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8711
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 26 Jan 2006 04:00:05 +0000 (04:00 +0000)]
string field manager improvements:
use multiple memory blocks, instead of realloc(), ensuring that field pointers will never become invalid or change
don't run vs(n)printf twice when doing a field build unless required
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8697
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 20:02:12 +0000 (20:02 +0000)]
use arg parsing macros for WaitExten and Background (issue #6185)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8687
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 19:16:14 +0000 (19:16 +0000)]
Merged revisions 8677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8677 | russell | 2006-01-25 14:14:43 -0500 (Wed, 25 Jan 2006) | 3 lines
don't call ast_update_realtime with uninitialized variables if we get a
registration with an expirey of 0 seconds (issue #6173)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8678
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 19:06:37 +0000 (19:06 +0000)]
use arg parsing macros in the AGENT dialplan function (issue #6236, with small mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8676
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 18:41:12 +0000 (18:41 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8667
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 18:24:32 +0000 (18:24 +0000)]
store feature_pvt list using linked list macros
(issue #6351, with additional changes to prevent a memory leak in unload_module)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8665
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 18:12:55 +0000 (18:12 +0000)]
store agent_pvt list using linked list macros (issue #6342)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8664
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 25 Jan 2006 14:52:43 +0000 (14:52 +0000)]
don't queue a congestion frame on a channel that will be immediately hung up anyway
clean up/organize code block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8654
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 25 Jan 2006 12:11:30 +0000 (12:11 +0000)]
- Remove unused option to transmit_state_notify
- Allow for expiry=0 in subscription requests that only wants *one* update and that's it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8643
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 25 Jan 2006 12:01:07 +0000 (12:01 +0000)]
From now on, apply maxexpiry and minexpiry to all subscriptions. Thanks to fourcheeze in the IRC channel
for pointing this out.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8642
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 25 Jan 2006 09:50:28 +0000 (09:50 +0000)]
Issue #6349 - patch by markster, imported from 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8633
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 05:39:25 +0000 (05:39 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8620
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Jan 2006 05:37:29 +0000 (05:37 +0000)]
don't leak almost 200 bytes for each new channel and store the active
channel list using the linked list macros (issue #6330)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8618
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 25 Jan 2006 01:53:15 +0000 (01:53 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8610
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 25 Jan 2006 01:52:58 +0000 (01:52 +0000)]
Merged revisions 8608 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8608 | kpfleming | 2006-01-24 19:50:52 -0600 (Tue, 24 Jan 2006) | 2 lines
ensure hangup cause code is handled properly when channel does not return a frame (issue #6346)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8609
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:45:41 +0000 (22:45 +0000)]
remove extraneous characters from property
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8599
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:43:57 +0000 (22:43 +0000)]
clean up remaining already-merged revisions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8597
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:43:30 +0000 (22:43 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8596
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:42:43 +0000 (22:42 +0000)]
Merged revisions 8173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8173 | russell | 2006-01-17 20:49:21 -0600 (Tue, 17 Jan 2006) | 2 lines
remove ChangeLog from the 1.2 branch. It will only be present in the tags.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8595
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:41:45 +0000 (22:41 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8594
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:40:57 +0000 (22:40 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8593
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:40:20 +0000 (22:40 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8592
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:38:17 +0000 (22:38 +0000)]
Merged revisions 8588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8588 | kpfleming | 2006-01-24 16:32:09 -0600 (Tue, 24 Jan 2006) | 2 lines
ensure that channel cannot become zombie after we check but before we try to start indications
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8591
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:34:06 +0000 (22:34 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8590
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 24 Jan 2006 22:33:58 +0000 (22:33 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8589
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Tue, 24 Jan 2006 22:06:37 +0000 (22:06 +0000)]
Make sure safe_asterisk retains previous script defaults
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8587
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Tue, 24 Jan 2006 21:45:42 +0000 (21:45 +0000)]
Updates from royk to safe_asterisk (#5207) Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8582
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 20:41:08 +0000 (20:41 +0000)]
Don't reset scheduled ID until we actually end the scheduled event.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8574
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 24 Jan 2006 20:27:09 +0000 (20:27 +0000)]
store the list of 'atexit' functions using linked list macros (issue #6329)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8572
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 24 Jan 2006 20:20:05 +0000 (20:20 +0000)]
convert ast_channel list to use linked list macros (issue #6338)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8571
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 19:29:32 +0000 (19:29 +0000)]
Blocking fix from 1.2 from being applied again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8563
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 19:19:20 +0000 (19:19 +0000)]
Issue 6114: Don't hangup on bye/also if there's no channel. (gst)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8561
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 19:08:44 +0000 (19:08 +0000)]
Issue #6093: Match realtime non-dynamic peers by IP. (siacali).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8560
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 18:15:20 +0000 (18:15 +0000)]
Make it clear that caller ID in sip.conf is used only on incoming calls (inspired by bug #6183)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8554
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 17:47:41 +0000 (17:47 +0000)]
Reverting change in revision 8539 - fixed wrong problem. Sorry.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8548
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 13:53:45 +0000 (13:53 +0000)]
Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8539
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 13:21:13 +0000 (13:21 +0000)]
Importing rev #8537 from 1.2, never send response to ACK (issue #6308)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8538
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 12:48:44 +0000 (12:48 +0000)]
- Report SIP reload in manager (issue 5742 with small changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8531
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 11:46:29 +0000 (11:46 +0000)]
- Adding whitespace that I found unused outside
- Adding "if (option_debug)" before outputting to DEBUG channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8524
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 11:42:09 +0000 (11:42 +0000)]
Declaring conn and result static to avoid collission with realtime driver (issue 6336, pressureman)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8523
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 10:36:45 +0000 (10:36 +0000)]
Whitespace change, extra <tab> added from my tab storage.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8517
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 24 Jan 2006 10:19:13 +0000 (10:19 +0000)]
- Adding doxygen comments
- Changing default values set in reload_config to DEFAULT_ #defines to make it more clear what defaults are
- Cleaning up global_ and default_ variable naming.
- Moving variable and #defines together in the source, adding comments to explain sections
Global_ is used for channel settings that does not apply to peers or users as defaults for their settings
default_ is used both as a channel setting for unknown callers, as well as defaults for peers and users
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8514
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 23 Jan 2006 18:07:12 +0000 (18:07 +0000)]
code clean up and macro implementation from
bug 6247
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8505
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 17:51:15 +0000 (17:51 +0000)]
Remove redundant default default/global settings from declaration, settings are done in reload_config()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8500
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 23 Jan 2006 17:23:22 +0000 (17:23 +0000)]
changed some settings to app_args and some code
cleaning patch 6267
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8495
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 17:19:03 +0000 (17:19 +0000)]
Remove more unused defines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8493
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 17:17:56 +0000 (17:17 +0000)]
Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8492
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 17:12:44 +0000 (17:12 +0000)]
Finally removing SIPDUMPER that hasn't been used for ages. If anyone needs this for some reason,
please tell me and I'll put it back :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8490
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 17:08:19 +0000 (17:08 +0000)]
- Change "call" to "dialog" where use of "call" is confusing, since it may be a register transaction or a subscription.
The word dialog is defined as "a peer-to-peer SIP relationship between two UAs that persist for some time" in RFC 3261.
- Whitespace fixes
- Debugging fixes (adding check of option_debug)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8489
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 16:41:48 +0000 (16:41 +0000)]
- Debug output fixes
- Whitespace fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8483
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 16:27:01 +0000 (16:27 +0000)]
Doxygen update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8482
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 16:21:51 +0000 (16:21 +0000)]
Re-instate sip_addheader() while waiting for a dialplan function. (Issue 6317)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8481
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 13:11:04 +0000 (13:11 +0000)]
- Adding some white space from my white space reservoir
- Fixing some comment formatting (doxygen fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8471
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 12:44:53 +0000 (12:44 +0000)]
Use doxygen for todo's! :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8465
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 12:32:43 +0000 (12:32 +0000)]
Spelling fix undetected by kpfleming in rev 8150 ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8464
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 23 Jan 2006 12:19:16 +0000 (12:19 +0000)]
Remove javadoc doxygen format...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8463
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 22 Jan 2006 19:09:50 +0000 (19:09 +0000)]
fix memory leak from not freeing the list of queue members when freeing a queue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8447
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 22 Jan 2006 19:04:37 +0000 (19:04 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8446
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 22 Jan 2006 18:42:06 +0000 (18:42 +0000)]
eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8443
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 22 Jan 2006 17:53:14 +0000 (17:53 +0000)]
Merged revisions 8437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8437 | russell | 2006-01-22 12:47:13 -0500 (Sun, 22 Jan 2006) | 2 lines
fix MixMonitor crash (issue #6321, probably others)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8438
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 22 Jan 2006 17:28:42 +0000 (17:28 +0000)]
Bug 6312 - Macro janitor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8436
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sun, 22 Jan 2006 15:08:51 +0000 (15:08 +0000)]
Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allowing chan_sip to send calls when it really shouldn't. Bug #6111
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8432
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 22 Jan 2006 08:09:02 +0000 (08:09 +0000)]
Bug 6262 - New function STRPTIME
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8428
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 22 Jan 2006 07:18:02 +0000 (07:18 +0000)]
Bug 6148 - Add PARKEDAT variable; also cleaned up application help to fit 80-column screen.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8426
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 22 Jan 2006 02:23:38 +0000 (02:23 +0000)]
add 'show channeltype' CLI command (issue #6149, with small modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8422
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 22 Jan 2006 02:10:19 +0000 (02:10 +0000)]
prevent writing outside of the provided workspace when calculating a
substring (issue #6271)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8421
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 22 Jan 2006 02:06:33 +0000 (02:06 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8420
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 23:17:52 +0000 (23:17 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8413
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 23:05:19 +0000 (23:05 +0000)]
const-ify some fields in the ast_exten and ast_include structures (issue #6270)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8411
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 22:09:06 +0000 (22:09 +0000)]
- conversions to allocation wrappers
- replace malloc/memset with ast_calloc
- replace malloc/ast_copy_string with ast_strdup
(based on patch from issue #6299)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8410
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 21:57:01 +0000 (21:57 +0000)]
oops, don't build app_sql_postgres by default ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8409
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 21:50:09 +0000 (21:50 +0000)]
- conversion to allocation wrappers
- get rid of some compiler warnings due to usused variables and const-ification
- remove some unnecessary uses of malloc/strncpy/free and replace with ast_strdupa
(based on the patch from issue #6275)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8408
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 21:29:06 +0000 (21:29 +0000)]
clean up formatting to conform to coding guidelines and fix some typos (issue #6260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8407
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 20:58:57 +0000 (20:58 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8404
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 20:57:06 +0000 (20:57 +0000)]
on this pass, only remove duplicate log messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 21 Jan 2006 20:32:17 +0000 (20:32 +0000)]
Bug 5936 - Cannot AddQueueMember on realtime queue, if queue not yet loaded (different fix than 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8402
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 20:20:06 +0000 (20:20 +0000)]
finish reverting my pass through the tree to remove checks of the result of
ast_strdupa, this one is revision 8362
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8401
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 18:11:40 +0000 (18:11 +0000)]
don't do the memcpy inside of ast_strdupa if we know that __builtin_alloca
was not successful
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8393
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 17:50:04 +0000 (17:50 +0000)]
revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 08:45:39 +0000 (08:45 +0000)]
conversions to use allocation wrappers (issue #6277)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8381
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 08:23:57 +0000 (08:23 +0000)]
remove useless checks of the result of ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8380
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 08:13:12 +0000 (08:13 +0000)]
remove lots of useless checks of the result of ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8379
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 08:01:24 +0000 (08:01 +0000)]
remove some useless checks of the result of ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8378
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 21 Jan 2006 05:22:18 +0000 (05:22 +0000)]
Bug 4872 - Make Asterisk paths available to AGIs via environmental variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8372
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 21 Jan 2006 05:15:56 +0000 (05:15 +0000)]
Bug 5515 - Devicestate and API documentation update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8371
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 21 Jan 2006 05:05:45 +0000 (05:05 +0000)]
Bug 6096 - callerid_parse cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8370
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 03:09:01 +0000 (03:09 +0000)]
remove optimization where its benefits are negligible
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8368
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 21 Jan 2006 00:42:25 +0000 (00:42 +0000)]
remove some useless checks after calls to ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8362
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 20 Jan 2006 23:28:37 +0000 (23:28 +0000)]
fix for codec_gsm on ia64 (#6294)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8361
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 20 Jan 2006 23:23:00 +0000 (23:23 +0000)]
formatting and doxygen fixes (issue #6300)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8360
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 20 Jan 2006 23:19:49 +0000 (23:19 +0000)]
Fix comments in sip.conf (#6134)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8359
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 20 Jan 2006 21:36:33 +0000 (21:36 +0000)]
Fix for formats so they give better output on failure conditions. (#6141)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8357
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 20 Jan 2006 19:24:42 +0000 (19:24 +0000)]
- move ast_strdupa from channel.h to utils.h
- attempt to log an error message if the __builtin_alloca inside of ast_strdupa
fails.
- document the fact that it is known and intended behavior for ast_strdupa to
cause Asterisk to crash if the alloca fails
- use __builtin_expect when checking for allocation failure in all of the
allocation wrappers
New Janitor Project! Anywhere that we check for a successful allocation after
a call to ast_strdupa is unnecessary and should be removed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8356
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 20 Jan 2006 18:40:24 +0000 (18:40 +0000)]
Merged revisions 8347 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8347 | russell | 2006-01-20 13:34:42 -0500 (Fri, 20 Jan 2006) | 2 lines
fix invalid value of prev_q (issue #6302)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8348
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 20 Jan 2006 18:18:40 +0000 (18:18 +0000)]
Change chan_alsa to default open the first sound card device
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8346
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 20 Jan 2006 18:17:46 +0000 (18:17 +0000)]
Update config. Apprently default doesn't always work now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8345
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 20 Jan 2006 17:27:51 +0000 (17:27 +0000)]
eliminate compiler warnings from recent const-ification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8338
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 20 Jan 2006 14:32:30 +0000 (14:32 +0000)]
- Add DOC file about caller ID presentation values
- Add callingpres to sip.conf
- Add reference to README.callingpres from zapata.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8336
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 20 Jan 2006 01:25:12 +0000 (01:25 +0000)]
fix version reporting (issue #6292)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8324
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3