Commit Graph

7097 Commits

Author SHA1 Message Date
Matthew Fredrickson 1bb29aa0cd Updates from royk to safe_asterisk (#5207) Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 21:45:42 +00:00
Olle Johansson 3fbad3f5d3 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
2006-01-24 20:41:08 +00:00
Russell Bryant 6334e3b543 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
2006-01-24 20:27:09 +00:00
Russell Bryant a7b05ea51c 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
2006-01-24 20:20:05 +00:00
Olle Johansson 1a2b5c7822 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
2006-01-24 19:29:32 +00:00
Olle Johansson 50280803be 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
2006-01-24 19:19:20 +00:00
Olle Johansson ab04b28196 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
2006-01-24 19:08:44 +00:00
Olle Johansson 0ba27e0a6b 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
2006-01-24 18:15:20 +00:00
Olle Johansson 293d88108f 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
2006-01-24 17:47:41 +00:00
Olle Johansson 543cc7e2a4 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
2006-01-24 13:53:45 +00:00
Olle Johansson be28dc1be8 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
2006-01-24 13:21:13 +00:00
Olle Johansson 9434a05dc1 - 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
2006-01-24 12:48:44 +00:00
Olle Johansson aad2331375 - 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
2006-01-24 11:46:29 +00:00
Olle Johansson fe1366c201 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
2006-01-24 11:42:09 +00:00
Olle Johansson 9863ed4624 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
2006-01-24 10:36:45 +00:00
Olle Johansson b90a5b0ebd - 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
2006-01-24 10:19:13 +00:00
Matt O'Gorman 428efda5a9 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
2006-01-23 18:07:12 +00:00
Olle Johansson 9cda86f4b2 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
2006-01-23 17:51:15 +00:00
Matt O'Gorman 83ab52cdc4 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
2006-01-23 17:23:22 +00:00
Olle Johansson 4c8b2c62de Remove more unused defines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:19:03 +00:00
Olle Johansson c3fcb9eaea Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 17:17:56 +00:00
Olle Johansson 8b42063108 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
2006-01-23 17:12:44 +00:00
Olle Johansson 57f0c81518 - 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
2006-01-23 17:08:19 +00:00
Olle Johansson 814800008d - Debug output fixes
- Whitespace fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 16:41:48 +00:00
Olle Johansson e2f477175f Doxygen update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 16:27:01 +00:00
Olle Johansson e0fe84d1b2 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
2006-01-23 16:21:51 +00:00
Olle Johansson 50797d7c05 - 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
2006-01-23 13:11:04 +00:00
Olle Johansson 92390274e5 Use doxygen for todo's! :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 12:44:53 +00:00
Olle Johansson 6f3cdf08e4 Spelling fix undetected by kpfleming in rev 8150 ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 12:32:43 +00:00
Olle Johansson 77752fc8c5 Remove javadoc doxygen format...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 12:19:16 +00:00
Russell Bryant 72a2e892bc 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
2006-01-22 19:09:50 +00:00
Russell Bryant aad7522ed4 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8446 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-22 19:04:37 +00:00
Russell Bryant 7df4257dbb eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 18:42:06 +00:00
Russell Bryant c84ec3a3ad 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
2006-01-22 17:53:14 +00:00
Tilghman Lesher 56bb41460e Bug 6312 - Macro janitor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 17:28:42 +00:00
BJ Weschke 0034a39f29 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
2006-01-22 15:08:51 +00:00
Tilghman Lesher 7d897634dc Bug 6262 - New function STRPTIME
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 08:09:02 +00:00
Tilghman Lesher c3ded332b5 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
2006-01-22 07:18:02 +00:00
Russell Bryant 8cddfd5da1 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
2006-01-22 02:23:38 +00:00
Russell Bryant 92f13e8d9f 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
2006-01-22 02:10:19 +00:00
Russell Bryant 9ebedbafa9 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8420 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-22 02:06:33 +00:00
Russell Bryant 08759a1d78 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8413 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-21 23:17:52 +00:00
Russell Bryant 5e6968ea86 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
2006-01-21 23:05:19 +00:00
Russell Bryant efae38a82d - 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
2006-01-21 22:09:06 +00:00
Russell Bryant 039ee896c7 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
2006-01-21 21:57:01 +00:00
Russell Bryant eefe5d1685 - 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
2006-01-21 21:50:09 +00:00
Russell Bryant a163eaa03c 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
2006-01-21 21:29:06 +00:00
Russell Bryant 475b2cc0cf git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8404 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-01-21 20:58:57 +00:00
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 20:57:06 +00:00
Tilghman Lesher 41c87ccb97 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
2006-01-21 20:32:17 +00:00