asterisk/asterisk.git
15 years agoBug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
Tilghman Lesher [Fri, 3 Feb 2006 22:37:29 +0000 (22:37 +0000)]
Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)

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

15 years agoremove obsolete stuff
Kevin P. Fleming [Thu, 2 Feb 2006 22:23:00 +0000 (22:23 +0000)]
remove obsolete stuff

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

15 years agomake chan_misdn build on x86-64
Kevin P. Fleming [Thu, 2 Feb 2006 22:05:47 +0000 (22:05 +0000)]
make chan_misdn build on x86-64

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

15 years agoupdates to compile against current trunk
Kevin P. Fleming [Thu, 2 Feb 2006 21:49:36 +0000 (21:49 +0000)]
updates to compile against current trunk

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

15 years agoupdated the misdn documentation
Christian Richter [Thu, 2 Feb 2006 21:25:37 +0000 (21:25 +0000)]
updated the misdn documentation

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

15 years ago* removed unnecessary struct elements and functions
Christian Richter [Thu, 2 Feb 2006 21:15:34 +0000 (21:15 +0000)]
* removed unnecessary struct elements and functions
* fixed "RETRIEVE does not work" bug
* fixed some NT Mode bugs
* removed some // comments
* added configureable jitterbuffer
* removed own tone-generator, and use asterisks instead, to support
  asterisks indications
* added more support for hw-bridging, we bridge now every possible call
* fixed some hdlc mode issues, with a patch for chan_zap we can make
  data calls between chan_zap and chan_misdn now
* completely reworked the config engine, works like a charm now
* fixed SetCallerPres - bug
* added Progress and Proceeding passing
* optimized Ringing Indication handling
* added full ast_send_text support (you can setup nice menus with the dialplan
  now)
* added support to read /etc/misdn-init.conf to clarify the NT+PTP Problem
* we compile now channels/misdn if mISDNuser is installed systemwide

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

15 years agoFix w/ string field updates #6397
Matthew Fredrickson [Thu, 2 Feb 2006 21:02:19 +0000 (21:02 +0000)]
Fix w/ string field updates #6397

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

15 years ago- Remove "frame relay" from chan_sip !
Olle Johansson [Thu, 2 Feb 2006 20:51:08 +0000 (20:51 +0000)]
- Remove "frame relay" from chan_sip !
- Add some comments for the monitoring thread

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

15 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9106 65c4cc65-6c06-0410...
Matthew Fredrickson [Thu, 2 Feb 2006 20:50:29 +0000 (20:50 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9106 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years ago- Add doxygen docs on return values on check_user_full()
Olle Johansson [Thu, 2 Feb 2006 20:28:57 +0000 (20:28 +0000)]
- Add doxygen docs on return values on check_user_full()
- Simplify code in handle_request_subscribe (mailbox subscription)

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

15 years ago- Make debug logging for each authentication (twice per call) optional
Olle Johansson [Thu, 2 Feb 2006 20:18:31 +0000 (20:18 +0000)]
- Make debug logging for each authentication (twice per call) optional
- Small update to doxygen comment

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

15 years agoMerged revisions 9086 via svnmerge from
Kevin P. Fleming [Thu, 2 Feb 2006 18:40:22 +0000 (18:40 +0000)]
Merged revisions 9086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r9086 | kpfleming | 2006-02-02 12:37:04 -0600 (Thu, 02 Feb 2006) | 2 lines

don't override ASTERISKVERSIONNUM to 000000 for non-svn builds

........

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

15 years agoblock patch that has already been merged
Kevin P. Fleming [Thu, 2 Feb 2006 18:40:06 +0000 (18:40 +0000)]
block patch that has already been merged

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

15 years agoMore stringfield related changes
Matthew Fredrickson [Thu, 2 Feb 2006 18:33:23 +0000 (18:33 +0000)]
More stringfield related changes

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

15 years agoFix so that hardhdlc works w/ chan_zap
Matthew Fredrickson [Thu, 2 Feb 2006 16:09:38 +0000 (16:09 +0000)]
Fix so that hardhdlc works w/ chan_zap

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

15 years agoFix for very unlikely memory leak in res_odbc
Matthew Fredrickson [Thu, 2 Feb 2006 16:09:01 +0000 (16:09 +0000)]
Fix for very unlikely memory leak in res_odbc

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

15 years agoIssue #6383 - Crash on CLI originate with missing channel argument
Olle Johansson [Thu, 2 Feb 2006 14:04:29 +0000 (14:04 +0000)]
Issue #6383 - Crash on CLI originate with missing channel argument

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

15 years agouse string fields for some stuff in ast_channel
Kevin P. Fleming [Wed, 1 Feb 2006 23:05:28 +0000 (23:05 +0000)]
use string fields for some stuff in ast_channel
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches

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

15 years agoreports why an agi script errors out on opening
Matt O'Gorman [Wed, 1 Feb 2006 20:40:45 +0000 (20:40 +0000)]
reports why an agi script errors out on opening
file

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

15 years ago- Update URL to digium store
Olle Johansson [Wed, 1 Feb 2006 19:16:09 +0000 (19:16 +0000)]
- Update URL to digium store
- Remove X100p and S100u
- Add mISDN
- remove ISDN4Linux

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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