asterisk/asterisk.git
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

14 years ago- Logging clean up
Olle Johansson [Tue, 17 Jan 2006 18:54:56 +0000 (18:54 +0000)]
- Logging clean up
- Whitespace removed and added, formatting fixed

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

14 years ago Fix compiler warning.
BJ Weschke [Tue, 17 Jan 2006 18:31:03 +0000 (18:31 +0000)]
 Fix compiler warning.

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

14 years agoCheck to see if arg is NULL before passing (#6094)
Matthew Fredrickson [Tue, 17 Jan 2006 18:20:33 +0000 (18:20 +0000)]
Check to see if arg is NULL before passing (#6094)

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

14 years agoAdded tab completion for help. bug 6074
Matt O'Gorman [Tue, 17 Jan 2006 17:25:53 +0000 (17:25 +0000)]
Added tab completion for help.  bug 6074

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

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

........
r7963 | mogorman | 2006-01-10 22:38:07 -0600 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........

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

14 years agoMerged revisions 8122 via svnmerge from
Kevin P. Fleming [Tue, 17 Jan 2006 13:13:31 +0000 (13:13 +0000)]
Merged revisions 8122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8122 | kpfleming | 2006-01-17 07:11:55 -0600 (Tue, 17 Jan 2006) | 2 lines

update CLI copyright notice

........

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

14 years agodon't generate any message for native bridge attempts unless all the basic checks...
Kevin P. Fleming [Tue, 17 Jan 2006 05:15:33 +0000 (05:15 +0000)]
don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it

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

14 years agoDoxygen update
Olle Johansson [Tue, 17 Jan 2006 03:05:43 +0000 (03:05 +0000)]
Doxygen update

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

14 years agocheck rlimit _after_ reading config file, so that if 'dumpcore' is specified there...
Kevin P. Fleming [Mon, 16 Jan 2006 23:52:51 +0000 (23:52 +0000)]
check rlimit _after_ reading config file, so that if 'dumpcore' is specified there it will take effect

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

14 years agoblock this revision, fix is different in this branch
Kevin P. Fleming [Mon, 16 Jan 2006 23:52:02 +0000 (23:52 +0000)]
block this revision, fix is different in this branch

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

14 years agoAdded NOANSWER support, so that optional the DISA application starts without
Jim Dixon [Mon, 16 Jan 2006 18:52:13 +0000 (18:52 +0000)]
Added NOANSWER support, so that optional the DISA application starts without
answering (used in new version of app_rpt, and potentially other applicaitons).

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

14 years agoArgh, another ERROR that should have been DEBUG
Tilghman Lesher [Mon, 16 Jan 2006 18:41:18 +0000 (18:41 +0000)]
Argh, another ERROR that should have been DEBUG

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

14 years agoChange a debugging message committed with the wrong level
Tilghman Lesher [Mon, 16 Jan 2006 18:39:01 +0000 (18:39 +0000)]
Change a debugging message committed with the wrong level

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

14 years agoBug 5090 - sample configuration for udptl packets
Tilghman Lesher [Mon, 16 Jan 2006 18:05:19 +0000 (18:05 +0000)]
Bug 5090 - sample configuration for udptl packets

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

14 years agoremove redundant CFLAGS for BSD which are already set in the main Makefile (issue...
Russell Bryant [Mon, 16 Jan 2006 17:51:35 +0000 (17:51 +0000)]
remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)

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

14 years ago Spelling corrections (mostly in comments and doxygen areas) #6249
BJ Weschke [Mon, 16 Jan 2006 17:37:44 +0000 (17:37 +0000)]
 Spelling corrections (mostly in comments and doxygen areas) #6249

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

14 years ago More code optimization with the new argument macros #6253
BJ Weschke [Mon, 16 Jan 2006 17:31:30 +0000 (17:31 +0000)]
 More code optimization with the new argument macros #6253

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

14 years agoMerged revisions 7963 via svnmerge from
Russell Bryant [Mon, 16 Jan 2006 01:47:02 +0000 (01:47 +0000)]
Merged revisions 7963 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7963 | mogorman | 2006-01-10 23:38:07 -0500 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........

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

14 years agoblock more revisions ...
Russell Bryant [Mon, 16 Jan 2006 01:46:15 +0000 (01:46 +0000)]
block more revisions ...

TO ALL DEVELOPERS WITH COMMIT ACCESS:
Please remember to *always* do an 'svnmerge block -r <rev#>' on the trunk
every single time you make a commit to the 1.2 branch which will not be pulled
into the trunk using svnmerge.  This is important for us to be able to take
full advatage of this tool.

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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8088 65c4cc65-6c06-0410...
Russell Bryant [Mon, 16 Jan 2006 01:36:10 +0000 (01:36 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoblock appropriate revisions from being merged from 1.2 ...
Russell Bryant [Mon, 16 Jan 2006 01:32:46 +0000 (01:32 +0000)]
block appropriate revisions from being merged from 1.2 ...

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

14 years agoClarify description of ARRAY function
Tilghman Lesher [Sun, 15 Jan 2006 18:08:04 +0000 (18:08 +0000)]
Clarify description of ARRAY function

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

14 years agoAllow application arguments to be quoted, allowing '|' characters inside arguments
Tilghman Lesher [Sun, 15 Jan 2006 18:02:46 +0000 (18:02 +0000)]
Allow application arguments to be quoted, allowing '|' characters inside arguments

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

14 years agoPrepare for removal of DBGet/DBPut manager commands, by allowing Getvar to get functi...
Tilghman Lesher [Sun, 15 Jan 2006 05:50:19 +0000 (05:50 +0000)]
Prepare for removal of DBGet/DBPut manager commands, by allowing Getvar to get functions (Setvar can already set functions)

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

14 years agoBug 6238 - Janitor - update to app_args macros
Tilghman Lesher [Sat, 14 Jan 2006 19:30:37 +0000 (19:30 +0000)]
Bug 6238 - Janitor - update to app_args macros

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

14 years agoMerged revisions 8074 via svnmerge from
Tilghman Lesher [Sat, 14 Jan 2006 19:08:03 +0000 (19:08 +0000)]
Merged revisions 8074 via svnmerge from
/branches/1.2

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

14 years agoSmall documentation update for new AST_FRAME_MODEM type
Matthew Fredrickson [Sat, 14 Jan 2006 18:53:10 +0000 (18:53 +0000)]
Small documentation update for new AST_FRAME_MODEM type

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

14 years agoAdd mission options to agents.conf sample file (#6234)
Matthew Fredrickson [Sat, 14 Jan 2006 16:18:03 +0000 (16:18 +0000)]
Add mission options to agents.conf sample file (#6234)

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

14 years ago Code cleanup spawned from an earlier commit today r8063. Standardize manager event...
BJ Weschke [Sat, 14 Jan 2006 03:25:38 +0000 (03:25 +0000)]
 Code cleanup spawned from an earlier commit today r8063. Standardize manager event responses and queue_log behavior on callbacklogoff.

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

14 years agoadded feature for pausing and unpausing the
Matt O'Gorman [Sat, 14 Jan 2006 00:32:30 +0000 (00:32 +0000)]
added feature for pausing and unpausing the
monitor app from manager and in the call through
features.conf bug 5395 for the patch

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

14 years agoAdded QUEUE_MEMBER_COUNT and QUEUE_MEMBER_LIST
Matt O'Gorman [Fri, 13 Jan 2006 22:59:19 +0000 (22:59 +0000)]
Added QUEUE_MEMBER_COUNT and  QUEUE_MEMBER_LIST
from bug 5451

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

14 years agomake voicemail files group writable and uses a
Matt O'Gorman [Fri, 13 Jan 2006 22:05:46 +0000 (22:05 +0000)]
make voicemail files group writable and uses a
nicer function for creating dirs as described in
5929

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

14 years agoAdded forward context option from 5497
Matt O'Gorman [Fri, 13 Jan 2006 19:09:05 +0000 (19:09 +0000)]
Added forward context option from 5497

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

14 years agoVarious cleanups from comments in an email from Luigi Rizzo. Thank you!
Russell Bryant [Fri, 13 Jan 2006 18:38:55 +0000 (18:38 +0000)]
Various cleanups from comments in an email from Luigi Rizzo.  Thank you!
- Use a cleaner syntax for declaring the allocation macros
- Fix return value for ast_strdup/ast_strndup
- remove safe_strdup from app_macro, since ast_strup does the same thing
- fix a place in app_queue where ast_calloc+strncpy was used instead of
  ast_strdup.  If you are helping out with these conversions, please watch out
  for other places where this is done.
- add a note to the coding guidelines about the fix to app_queue

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

14 years agoMade chan_agent code parsing more robust and
Matt O'Gorman [Fri, 13 Jan 2006 18:30:49 +0000 (18:30 +0000)]
Made chan_agent code parsing more robust and
implemented new macro code. from 6228.

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

14 years ago Implement the autologoffunavail option in chan_agent (#6038 with some minor mods)
BJ Weschke [Fri, 13 Jan 2006 18:23:30 +0000 (18:23 +0000)]
 Implement the autologoffunavail option in chan_agent (#6038 with some minor mods)

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

14 years agoadded two new features to meetme, autofill and
Matt O'Gorman [Fri, 13 Jan 2006 17:39:56 +0000 (17:39 +0000)]
added two new features to meetme, autofill and
autopause.  thanks twisted from 5577

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

14 years ago Another patch against this code (the right one now) to deal with cyclic ranges....
BJ Weschke [Fri, 13 Jan 2006 17:35:12 +0000 (17:35 +0000)]
 Another patch against this code (the right one now) to deal with cyclic ranges. #6230

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

14 years ago Address the condition where X-ClientCode could be NULL or an empty string - from...
BJ Weschke [Fri, 13 Jan 2006 17:28:22 +0000 (17:28 +0000)]
 Address the condition where X-ClientCode could be NULL or an empty string - from a -dev posting.

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

14 years agoallow app_directed_pickup to try to pickup
Matt O'Gorman [Fri, 13 Jan 2006 17:02:15 +0000 (17:02 +0000)]
allow app_directed_pickup to try to pickup
multiple channels at the same time. however it
does not work in cases where dial was called
with multiple devices.  bug 5694.

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

14 years ago Range should be inclusive, not exclusive, of the end of the range.
BJ Weschke [Fri, 13 Jan 2006 16:01:40 +0000 (16:01 +0000)]
 Range should be inclusive, not exclusive, of the end of the range.

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

14 years agoSomebody complained the that length of the dah wasn't quite up to spec...
Tilghman Lesher [Fri, 13 Jan 2006 07:14:42 +0000 (07:14 +0000)]
Somebody complained the that length of the dah wasn't quite up to spec...

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

14 years agoadding more output for shutdown. as per 6102
Matt O'Gorman [Fri, 13 Jan 2006 06:49:23 +0000 (06:49 +0000)]
adding more output for shutdown. as per 6102

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

14 years agoadded some minor changes from bug 6046 thanks ppyy
Matt O'Gorman [Fri, 13 Jan 2006 06:43:27 +0000 (06:43 +0000)]
added some minor changes from bug 6046 thanks ppyy

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

14 years agofix spelling errors (issue #6227)
Russell Bryant [Fri, 13 Jan 2006 06:11:41 +0000 (06:11 +0000)]
fix spelling errors (issue #6227)

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

14 years ago More memory wrapper cleanup. #6224
BJ Weschke [Fri, 13 Jan 2006 03:34:31 +0000 (03:34 +0000)]
 More memory wrapper cleanup. #6224

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

14 years ago More memory wrapper and cleanup work. #6226 w/one very minor compile fix mod in...
BJ Weschke [Fri, 13 Jan 2006 03:25:23 +0000 (03:25 +0000)]
 More memory wrapper and cleanup work. #6226 w/one very minor compile fix mod in app_rpt.c

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

14 years agoforgot to take out createlink sample along with
Matt O'Gorman [Fri, 13 Jan 2006 02:34:10 +0000 (02:34 +0000)]
forgot to take out createlink sample along with
other part.

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

14 years agoBug 6223 - Remove unnecessary header that caused FreeBSD not to compile
Tilghman Lesher [Thu, 12 Jan 2006 21:18:46 +0000 (21:18 +0000)]
Bug 6223 - Remove unnecessary header that caused FreeBSD not to compile

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

14 years agoFix typos that caused voicemail not to compile.
Tilghman Lesher [Thu, 12 Jan 2006 21:12:25 +0000 (21:12 +0000)]
Fix typos that caused voicemail not to compile.

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

14 years agoI will never touch VM again...
Matt O'Gorman [Thu, 12 Jan 2006 20:04:52 +0000 (20:04 +0000)]
I will never touch VM again...
thanks qwell for spotting mistakes.

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

14 years agosome error checking added into g and a option
Matt O'Gorman [Thu, 12 Jan 2006 19:45:38 +0000 (19:45 +0000)]
some error checking added into g and a option
if there is no parens.

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

14 years agoMore cosmetic changes. thanks qwell and everyone
Matt O'Gorman [Thu, 12 Jan 2006 19:28:47 +0000 (19:28 +0000)]
More cosmetic changes. thanks qwell and everyone
else.

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

14 years agoOops... need to keep my trunk folder clean...
Matt O'Gorman [Thu, 12 Jan 2006 19:15:20 +0000 (19:15 +0000)]
Oops... need to keep my trunk folder clean...

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

14 years agoMinor revisions from bug 6090
Matt O'Gorman [Thu, 12 Jan 2006 19:09:36 +0000 (19:09 +0000)]
Minor revisions from bug 6090

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

14 years agoAdded option for limiting a user from logging in
Matt O'Gorman [Thu, 12 Jan 2006 19:07:18 +0000 (19:07 +0000)]
Added option for limiting a user from logging in
as multiple agents at same time. bug 6046 thanks
ppyy

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

14 years ago Remove an unneccessary unlock and do away with the error msg about not being able...
BJ Weschke [Thu, 12 Jan 2006 19:01:35 +0000 (19:01 +0000)]
 Remove an unneccessary unlock and do away with the error msg about not being able to unlock the lock. #6201

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

14 years agofix breakage from new feature committed in r7995
Russell Bryant [Thu, 12 Jan 2006 18:35:03 +0000 (18:35 +0000)]
fix breakage from new feature committed in r7995

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

14 years agoRemove unnecessary (but unexecutable) unlocks, cleanup code (bug #6220)
Mark Spencer [Thu, 12 Jan 2006 17:34:10 +0000 (17:34 +0000)]
Remove unnecessary (but unexecutable) unlocks, cleanup code (bug #6220)

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

14 years agoMerge rizzo's range optimizations (bug #6101)
Mark Spencer [Thu, 12 Jan 2006 17:27:38 +0000 (17:27 +0000)]
Merge rizzo's range optimizations (bug #6101)

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

14 years agoMore changes to make t.38 support work
Matthew Fredrickson [Thu, 12 Jan 2006 17:14:58 +0000 (17:14 +0000)]
More changes to make t.38 support work

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

14 years agoChanges to add udptl to asterisk (preliminary merging of the t.38 patch)
Matthew Fredrickson [Thu, 12 Jan 2006 17:12:12 +0000 (17:12 +0000)]
Changes to add udptl to asterisk (preliminary merging of the t.38 patch)

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

14 years agoAs we no longer have chan_modem this file is not used
Matt O'Gorman [Thu, 12 Jan 2006 16:15:01 +0000 (16:15 +0000)]
As we no longer have chan_modem this file is not used
either thanks rizzo in refrence to 6217

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

14 years ago More new memory wrapper work.
BJ Weschke [Thu, 12 Jan 2006 16:08:06 +0000 (16:08 +0000)]
 More new memory wrapper work.

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