asterisk/asterisk.git
14 years agoAllows for user to uninstall asterisk binaries
Matt O'Gorman [Wed, 1 Feb 2006 18:39:41 +0000 (18:39 +0000)]
Allows for user to uninstall asterisk binaries
bug 6177

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

14 years ago- Removing the "README." from the name of the README files.
Olle Johansson [Wed, 1 Feb 2006 17:49:02 +0000 (17:49 +0000)]
- Removing the "README." from the name of the README files.

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

14 years ago- Adding a doc/00README.1st with an INDEX over README files
Olle Johansson [Wed, 1 Feb 2006 17:16:08 +0000 (17:16 +0000)]
- Adding a doc/00README.1st with an INDEX over README files
- Moving files from / to /doc or /configs
- Renaming some documentation files

Thank you for the initiative, manxpower!

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

14 years ago- Clarify default setting of canreinvite (thanks royk)
Olle Johansson [Wed, 1 Feb 2006 13:23:59 +0000 (13:23 +0000)]
- Clarify default setting of canreinvite (thanks royk)
- Add some extra headers and reference to other doc/ files for realtime

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

14 years agoOptimize settings of defaults for a new peer object and make sure
Olle Johansson [Tue, 31 Jan 2006 18:40:07 +0000 (18:40 +0000)]
Optimize settings of defaults for a new peer object and make sure
we set the same defaults for autocreated peers and other peers.

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

14 years agoremove some more local declarations of null frames
Russell Bryant [Tue, 31 Jan 2006 17:57:12 +0000 (17:57 +0000)]
remove some more local declarations of null frames

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

14 years agodefine a global null_frame object so when queueing a null frame, you don't
Russell Bryant [Tue, 31 Jan 2006 17:18:58 +0000 (17:18 +0000)]
define a global null_frame object so when queueing a null frame, you don't
have to allocate one on the stack

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

14 years ago- Moving two session (PVT) flags to peer PAGE2 (DYNAMIC and SELFDESTRUCT) to make...
Olle Johansson [Tue, 31 Jan 2006 16:02:35 +0000 (16:02 +0000)]
- Moving two session (PVT) flags to peer PAGE2 (DYNAMIC and SELFDESTRUCT) to make room for more session-related flags
  This is needed for integrating patches in the bug tracker
- Adding doxygen comments

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

14 years ago- Change "prefs" to "default_prefs" and move declaration to "default" group
Olle Johansson [Tue, 31 Jan 2006 14:30:09 +0000 (14:30 +0000)]
- Change "prefs" to "default_prefs" and move declaration to "default" group
- Add doxygen comments

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

14 years agoYes Virginia, Zaptel does support native ALAW
Kevin P. Fleming [Tue, 31 Jan 2006 03:45:09 +0000 (03:45 +0000)]
Yes Virginia, Zaptel does support native ALAW

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

14 years agoadd a note to hopefully decrease the chance that someone forgets to increment
Russell Bryant [Tue, 31 Jan 2006 00:24:34 +0000 (00:24 +0000)]
add a note to hopefully decrease the chance that someone forgets to increment
.cleancount after changing the ast_channel structure

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

14 years agoincrement for recent ast_channel change
Kevin P. Fleming [Tue, 31 Jan 2006 00:17:43 +0000 (00:17 +0000)]
increment for recent ast_channel change

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

14 years agoreverting blocks 9 and 10 from revision 7547
Matt O'Gorman [Mon, 30 Jan 2006 21:16:43 +0000 (21:16 +0000)]
reverting  blocks 9 and 10 from revision 7547
fixes bug 6080

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

14 years ago- Doxygen and comments updates
Olle Johansson [Mon, 30 Jan 2006 20:36:38 +0000 (20:36 +0000)]
- Doxygen and comments updates
- Moving structure declarations to top of file with the rest
- Adding some forward declarations for RTP interface functions

(All these changes to position in file are in preparation for splitting chan_sip up
into several files at some point in the future)

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

14 years agoIssue 5892: Set a minimum T1 timer for calls. Reporter: twisted
Olle Johansson [Mon, 30 Jan 2006 19:50:39 +0000 (19:50 +0000)]
Issue 5892: Set a minimum T1 timer for calls. Reporter: twisted

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

14 years agoIssue #6035 - Don't send 403 on bad auth (correcting one of my old mistakes...) Repor...
Olle Johansson [Mon, 30 Jan 2006 19:09:08 +0000 (19:09 +0000)]
Issue #6035 - Don't send 403 on bad auth (correcting one of my old mistakes...) Reported by maik.
Patch inspired by, but not the patch in the bug tracker.

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

14 years agoIssue #5793
Olle Johansson [Mon, 30 Jan 2006 18:51:02 +0000 (18:51 +0000)]
Issue #5793
- simplification of check_auth
- constifications
- whitespace changes
Rizzo's patch with some changes

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

14 years agoMerged revisions 8905 via svnmerge from
Kevin P. Fleming [Mon, 30 Jan 2006 17:09:55 +0000 (17:09 +0000)]
Merged revisions 8905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8905 | kpfleming | 2006-01-30 11:08:28 -0600 (Mon, 30 Jan 2006) | 2 lines

disable buggy PRI user-user code until it can be fixed

........

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

14 years agoDocument installation changes for BSD users.
Olle Johansson [Mon, 30 Jan 2006 14:12:39 +0000 (14:12 +0000)]
Document installation changes for BSD users.

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

14 years agoBug 6378 - deprecate CHECK_MD5 function
Tilghman Lesher [Mon, 30 Jan 2006 06:07:05 +0000 (06:07 +0000)]
Bug 6378 - deprecate CHECK_MD5 function

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

14 years agoMerge Rizzo's waitfor update (bug #4584)
Mark Spencer [Mon, 30 Jan 2006 03:13:33 +0000 (03:13 +0000)]
Merge Rizzo's waitfor update (bug #4584)

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

14 years agodon't use tone generation for DTMF if the channel driver only supports begin/end...
Kevin P. Fleming [Sun, 29 Jan 2006 05:29:29 +0000 (05:29 +0000)]
don't use tone generation for DTMF if the channel driver only supports begin/end (will need more work to translate non-variable events into begin/end events)

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

14 years agoadd channel-driver callbacks for variable length DTMF
Kevin P. Fleming [Sun, 29 Jan 2006 05:15:24 +0000 (05:15 +0000)]
add channel-driver callbacks for variable length DTMF
teach ast_write() to call those new callbacks

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

14 years agomake ast_read() able to handle channel read()/exception() methods that return a chain...
Kevin P. Fleming [Sun, 29 Jan 2006 05:07:04 +0000 (05:07 +0000)]
make ast_read() able to handle channel read()/exception() methods that return a chain of frames
cleanup code in ast_read()
add AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END so that variable-length DTMF events can be supported
teach chan_zap to send DTMF_BEGIN and DTMF_END when appropriate

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

14 years ago- Remove unused "resetinvite" variable
Olle Johansson [Sat, 28 Jan 2006 17:17:37 +0000 (17:17 +0000)]
- Remove unused "resetinvite" variable
- Use TRUE/FALSE for fastrestart

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

14 years agoChange booleans to TRUE/FALSE.
Olle Johansson [Sat, 28 Jan 2006 17:00:05 +0000 (17:00 +0000)]
Change booleans to TRUE/FALSE.
(At some point we should implement these as enums to simplify debugging)

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

14 years agoDoxygen updates
Olle Johansson [Sat, 28 Jan 2006 15:34:27 +0000 (15:34 +0000)]
Doxygen updates

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

14 years ago- Moving forward declarations to one block
Olle Johansson [Sat, 28 Jan 2006 15:28:58 +0000 (15:28 +0000)]
- Moving forward declarations to one block
- Moving global variables to one block
- Moving global networking variables to one block
- Small whitespace changes
- Renaming a few more global channel settings to global_ for clarity
(No functional changes)

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

14 years agoSimplify code for building Call ID's, create generic random string function
Olle Johansson [Sat, 28 Jan 2006 15:02:29 +0000 (15:02 +0000)]
Simplify code for building Call ID's, create generic random string function

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

14 years agoBlocking revision 8808 from trunk. It's already fixed in trunk.
Olle Johansson [Sat, 28 Jan 2006 13:54:25 +0000 (13:54 +0000)]
Blocking revision 8808 from trunk. It's already fixed in trunk.

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

14 years agoAdd rdnis rx/tx support to chan_iax2 (#6348)
Matthew Fredrickson [Fri, 27 Jan 2006 23:55:37 +0000 (23:55 +0000)]
Add rdnis rx/tx support to chan_iax2 (#6348)

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

14 years agoMerged revisions 8785 via svnmerge from
Olle Johansson [Fri, 27 Jan 2006 08:07:43 +0000 (08:07 +0000)]
Merged revisions 8785 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8785 | oej | 2006-01-27 09:02:16 +0100 (Fri, 27 Jan 2006) | 2 lines

Issue 6362 - Register without Contact: and Expires: fails (reporter: op)

........

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

14 years agoremove some more redundant flags
Russell Bryant [Fri, 27 Jan 2006 05:39:20 +0000 (05:39 +0000)]
remove some more redundant flags

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

14 years agoadd /usr/local/lib to SOLINK (issue #6323)
Russell Bryant [Fri, 27 Jan 2006 05:33:20 +0000 (05:33 +0000)]
add /usr/local/lib to SOLINK (issue #6323)

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

14 years agoMerged revisions 8758 via svnmerge from
Tilghman Lesher [Fri, 27 Jan 2006 01:04:03 +0000 (01:04 +0000)]
Merged revisions 8758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8758 | tilghman | 2006-01-26 18:52:12 -0600 (Thu, 26 Jan 2006) | 2 lines

Bug 6072 - Revisions to the source bison and flex files don't auto-regenerate these files

........

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

14 years agodon't re-define the localuser struct for custom use inside the module (issue #6216)
Russell Bryant [Fri, 27 Jan 2006 00:31:05 +0000 (00:31 +0000)]
don't re-define the localuser struct for custom use inside the module (issue #6216)

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

14 years ago- Move two functions to static that wasn't for some reason
Olle Johansson [Thu, 26 Jan 2006 21:36:41 +0000 (21:36 +0000)]
- Move two functions to static that wasn't for some reason
- Add doxygen comments
- Remove un-needed assignment at declaration of variable
- Formatting fixes (whitespace)
- Add optin_debug in front of complex debugging output
- Move forward declarations of functions to top of file
- Fix error message for bad allocation in sip registry
(Note: Review to line 6050 in this too large file)

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

14 years agodon't redefine the localuser struct for additional use specific to the module (issue...
Russell Bryant [Thu, 26 Jan 2006 20:28:52 +0000 (20:28 +0000)]
don't redefine the localuser struct for additional use specific to the module (issue #6216)

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

14 years agoFormatting fixes, speling eror fiksd ;-)
Olle Johansson [Thu, 26 Jan 2006 20:08:53 +0000 (20:08 +0000)]
Formatting fixes, speling eror fiksd ;-)

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

14 years agoIssue #5954 revisited. Thanks rizzo.
Olle Johansson [Thu, 26 Jan 2006 19:47:40 +0000 (19:47 +0000)]
Issue #5954 revisited. Thanks rizzo.

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

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

........
r8729 | russell | 2006-01-26 14:42:35 -0500 (Thu, 26 Jan 2006) | 2 lines

fix problem with dtmf on e&m (issue #6364)

........

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

14 years agoCode clean up, inspired by rizzo's comments in issue 5978.
Olle Johansson [Thu, 26 Jan 2006 19:38:11 +0000 (19:38 +0000)]
Code clean up, inspired by rizzo's comments in issue 5978.
- Don't check for ignore if ignore is always negative
- Add comments to explain what's going on

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

14 years agostore conference list using linked list macros (issue #6327)
Russell Bryant [Thu, 26 Jan 2006 19:33:27 +0000 (19:33 +0000)]
store conference list using linked list macros (issue #6327)

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

14 years agoAdd some debugging output when reloading, to be able to follow progress at high debug...
Olle Johansson [Thu, 26 Jan 2006 14:59:33 +0000 (14:59 +0000)]
Add some debugging output when reloading, to be able to follow progress at high debug levels

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

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

14 years agostring field manager improvements:
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

14 years agouse arg parsing macros for WaitExten and Background (issue #6185)
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

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

14 years agouse arg parsing macros in the AGENT dialplan function (issue #6236, with small mods)
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

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

14 years agostore feature_pvt list using linked list macros
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

14 years agostore agent_pvt list using linked list macros (issue #6342)
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

14 years agodon't queue a congestion frame on a channel that will be immediately hung up anyway
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

14 years ago- Remove unused option to transmit_state_notify
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

14 years agoFrom now on, apply maxexpiry and minexpiry to all subscriptions. Thanks to fourcheeze...
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

14 years agoIssue #6349 - patch by markster, imported from 1.2
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

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

14 years agodon't leak almost 200 bytes for each new channel and store the active
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

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

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

14 years agoremove extraneous characters from property
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

14 years agoclean up remaining already-merged revisions
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

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

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

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

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

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

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

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

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

14 years agoMake sure safe_asterisk retains previous script defaults
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

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