asterisk/asterisk.git
14 years agoUpdates from royk to safe_asterisk (#5207) Thanks!
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

14 years agoDon't reset scheduled ID until we actually end the scheduled event.
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

14 years agostore the list of 'atexit' functions using linked list macros (issue #6329)
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

14 years agoconvert ast_channel list to use linked list macros (issue #6338)
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

14 years agoBlocking fix from 1.2 from being applied again.
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

14 years agoIssue 6114: Don't hangup on bye/also if there's no channel. (gst)
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

14 years agoIssue #6093: Match realtime non-dynamic peers by IP. (siacali).
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

14 years agoMake it clear that caller ID in sip.conf is used only on incoming calls (inspired...
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

14 years agoReverting change in revision 8539 - fixed wrong problem. Sorry.
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

14 years agoIssue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
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

14 years agoImporting rev #8537 from 1.2, never send response to ACK (issue #6308)
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

14 years ago- Report SIP reload in manager (issue 5742 with small changes)
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

14 years ago- Adding whitespace that I found unused outside
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

14 years agoDeclaring conn and result static to avoid collission with realtime driver (issue...
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

14 years agoWhitespace change, extra <tab> added from my tab storage.
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

14 years ago- Adding doxygen comments
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

14 years agocode clean up and macro implementation from
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

14 years agoRemove redundant default default/global settings from declaration, settings are done...
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

14 years agochanged some settings to app_args and some code
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

14 years agoRemove more unused defines.
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

14 years agoDoxygen updates
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

14 years agoFinally removing SIPDUMPER that hasn't been used for ages. If anyone needs this for...
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

14 years ago- Change "call" to "dialog" where use of "call" is confusing, since it may be a regis...
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

14 years ago- Debug output fixes
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

14 years agoDoxygen update
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

14 years agoRe-instate sip_addheader() while waiting for a dialplan function. (Issue 6317)
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

14 years ago- Adding some white space from my white space reservoir
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

14 years agoUse doxygen for todo's! :-)
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

14 years agoSpelling fix undetected by kpfleming in rev 8150 ;-)
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

14 years agoRemove javadoc doxygen format...
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

14 years agofix memory leak from not freeing the list of queue members when freeing a queue
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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8446 65c4cc65-6c06-0410...
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

14 years agoeliminate some compiler warnings
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

14 years agoMerged revisions 8437 via svnmerge from
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

14 years agoBug 6312 - Macro janitor
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

14 years ago Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allow...
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

14 years agoBug 6262 - New function STRPTIME
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

14 years agoBug 6148 - Add PARKEDAT variable; also cleaned up application help to fit 80-column...
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

14 years agoadd 'show channeltype' CLI command (issue #6149, with small modifications)
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

14 years agoprevent writing outside of the provided workspace when calculating a
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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8420 65c4cc65-6c06-0410...
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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8413 65c4cc65-6c06-0410...
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

14 years agoconst-ify some fields in the ast_exten and ast_include structures (issue #6270)
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

14 years ago- conversions to allocation wrappers
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

14 years agooops, don't build app_sql_postgres by default ...
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

14 years ago- conversion to allocation wrappers
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

14 years agoclean up formatting to conform to coding guidelines and fix some typos (issue #6260)
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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8404 65c4cc65-6c06-0410...
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

14 years agoon this pass, only remove duplicate log messages
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

14 years agoBug 5936 - Cannot AddQueueMember on realtime queue, if queue not yet loaded (differen...
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

14 years agofinish reverting my pass through the tree to remove checks of the result of
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

14 years agodon't do the memcpy inside of ast_strdupa if we know that __builtin_alloca
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

14 years agorevert my pass through the tree to remove checks of the result of ast_strdupa
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

14 years agoconversions to use allocation wrappers (issue #6277)
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

14 years agoremove useless checks of the result of ast_strdupa
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

14 years agoremove lots of useless checks of the result of ast_strdupa
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

14 years agoremove some useless checks of the result of ast_strdupa
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

14 years agoBug 4872 - Make Asterisk paths available to AGIs via environmental variables
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

14 years agoBug 5515 - Devicestate and API documentation update
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

14 years agoBug 6096 - callerid_parse cleanup
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

14 years agoremove optimization where its benefits are negligible
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

14 years agoremove some useless checks after calls to ast_strdupa
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

14 years agofix for codec_gsm on ia64 (#6294)
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

14 years agoformatting and doxygen fixes (issue #6300)
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

14 years agoFix comments in sip.conf (#6134)
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

14 years agoFix for formats so they give better output on failure conditions. (#6141)
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

14 years ago- move ast_strdupa from channel.h to utils.h
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

14 years agoMerged revisions 8347 via svnmerge from
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

14 years agoChange chan_alsa to default open the first sound card device
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

14 years agoUpdate config. Apprently default doesn't always work now.
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

14 years agoeliminate compiler warnings from recent const-ification
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

14 years ago- Add DOC file about caller ID presentation values
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

14 years agofix version reporting (issue #6292)
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

14 years agoMerged revisions 8320 via svnmerge from
Matt O'Gorman [Fri, 20 Jan 2006 01:07:46 +0000 (01:07 +0000)]
Merged revisions 8320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8320 | mogorman | 2006-01-19 19:00:46 -0600 (Thu, 19 Jan 2006) | 3 lines

solved problem with delayreject and iax trunking
bug 4291

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8323 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMore doxygen updates
Olle Johansson [Fri, 20 Jan 2006 00:18:42 +0000 (00:18 +0000)]
More doxygen updates

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8315 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDoxygen updates
Olle Johansson [Fri, 20 Jan 2006 00:08:36 +0000 (00:08 +0000)]
Doxygen updates

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8313 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd support for "musicclass" instead of "musiconhold" to make chan_zap compatible
Olle Johansson [Thu, 19 Jan 2006 22:41:55 +0000 (22:41 +0000)]
Add support for "musicclass" instead of "musiconhold" to make chan_zap compatible
with other channels.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8300 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDoxygen fixes
Olle Johansson [Thu, 19 Jan 2006 22:09:18 +0000 (22:09 +0000)]
Doxygen fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8299 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoEnable "musicclass" setting for sip peers
Olle Johansson [Thu, 19 Jan 2006 19:41:06 +0000 (19:41 +0000)]
Enable "musicclass" setting for sip peers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8282 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 8276 via svnmerge from
Tilghman Lesher [Thu, 19 Jan 2006 19:18:51 +0000 (19:18 +0000)]
Merged revisions 8276 via svnmerge from
/branches/1.2

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8278 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDeprecate the use of Random in 1.3, 1.4
Tilghman Lesher [Thu, 19 Jan 2006 18:58:45 +0000 (18:58 +0000)]
Deprecate the use of Random in 1.3, 1.4

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 8242 via svnmerge from
Russell Bryant [Thu, 19 Jan 2006 04:58:43 +0000 (04:58 +0000)]
Merged revisions 8242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8242 | russell | 2006-01-18 23:56:48 -0500 (Wed, 18 Jan 2006) | 3 lines

fix Message-Account header to use the ip address if the fromdomain
isn't set (issue #6278)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8243 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 8232 via svnmerge from
Russell Bryant [Thu, 19 Jan 2006 04:21:12 +0000 (04:21 +0000)]
Merged revisions 8232 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8232 | russell | 2006-01-18 23:17:45 -0500 (Wed, 18 Jan 2006) | 3 lines

fix a seg fault due to assuming that space gets allocatted on the stack in the
same order that we declare the variables (issue #6290)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8233 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoconstify arguments in more places where strings should not be modified (issue #6286)
Russell Bryant [Wed, 18 Jan 2006 22:17:31 +0000 (22:17 +0000)]
constify arguments in more places where strings should not be modified (issue #6286)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 8194 via svnmerge from
Matt O'Gorman [Wed, 18 Jan 2006 21:12:14 +0000 (21:12 +0000)]
Merged revisions 8194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8194 | mogorman | 2006-01-18 15:02:06 -0600 (Wed, 18 Jan 2006) | 3 lines

Solves issue with the login proccess in meetme
patch from 6136

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8195 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agooops. sorry
Matt O'Gorman [Wed, 18 Jan 2006 16:24:29 +0000 (16:24 +0000)]
oops. sorry

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallows for use of the originate function from
Matt O'Gorman [Wed, 18 Jan 2006 15:42:48 +0000 (15:42 +0000)]
allows for use of the originate function from
the cli patch 5847

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8186 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocli.h cleanup and additional documentation
Matt O'Gorman [Wed, 18 Jan 2006 03:53:10 +0000 (03:53 +0000)]
cli.h cleanup and additional documentation
from patch 6272

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8179 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 8162 via svnmerge from
Matt O'Gorman [Wed, 18 Jan 2006 00:49:43 +0000 (00:49 +0000)]
Merged revisions 8162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8162 | mogorman | 2006-01-17 18:47:04 -0600 (Tue, 17 Jan 2006) | 4 lines

Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8163 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocleanup the show uptime code, and minor changes
Matt O'Gorman [Wed, 18 Jan 2006 00:05:09 +0000 (00:05 +0000)]
cleanup the show uptime code, and minor changes
to patch 6274

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove some more deprecated (pre-1.2) stuff
Kevin P. Fleming [Tue, 17 Jan 2006 23:45:05 +0000 (23:45 +0000)]
remove some more deprecated (pre-1.2) stuff

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8157 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoImprovements to DSP callprogress=yes code (#5009)
Matthew Fredrickson [Tue, 17 Jan 2006 23:37:22 +0000 (23:37 +0000)]
Improvements to DSP callprogress=yes code (#5009)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8156 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix answeronpolarityswitch and hanguponpolarityswitch when both are yes (#6229)
Matthew Fredrickson [Tue, 17 Jan 2006 23:13:42 +0000 (23:13 +0000)]
Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (#6229)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8155 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agooops all better now.
Matt O'Gorman [Tue, 17 Jan 2006 21:10:38 +0000 (21:10 +0000)]
oops all better now.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallow for multiple periodic announcements
Matt O'Gorman [Tue, 17 Jan 2006 20:58:56 +0000 (20:58 +0000)]
allow for multiple periodic announcements
from bug 5273 with minor changes.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8152 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agospelling fix
Kevin P. Fleming [Tue, 17 Jan 2006 20:53:04 +0000 (20:53 +0000)]
spelling fix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8150 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosuppress compiler warning
Kevin P. Fleming [Tue, 17 Jan 2006 20:49:39 +0000 (20:49 +0000)]
suppress compiler warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8148 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 8140 via svnmerge from
Matt O'Gorman [Tue, 17 Jan 2006 20:16:18 +0000 (20:16 +0000)]
Merged revisions 8140 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8141 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoPortability - compilation warning on Mac OS/X removed
Olle Johansson [Tue, 17 Jan 2006 19:03:04 +0000 (19:03 +0000)]
Portability - compilation warning on Mac OS/X removed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8138 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoExtra comma causing compilation errors...
Olle Johansson [Tue, 17 Jan 2006 18:56:57 +0000 (18:56 +0000)]
Extra comma causing compilation errors...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8137 65c4cc65-6c06-0410-ace0-fbb531ad65f3