asterisk/asterisk.git
16 years agopointer signedness warnings
Russell Bryant [Fri, 7 Jul 2006 16:11:39 +0000 (16:11 +0000)]
pointer signedness warnings

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

16 years agoeliminate warning about unused variable that occurs in some cases
Russell Bryant [Fri, 7 Jul 2006 16:07:17 +0000 (16:07 +0000)]
eliminate warning about unused variable that occurs in some cases

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

16 years agorestore broken properties
Kevin P. Fleming [Fri, 7 Jul 2006 16:04:29 +0000 (16:04 +0000)]
restore broken properties

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

16 years agopointer signedness warnings elimination
Russell Bryant [Fri, 7 Jul 2006 16:03:56 +0000 (16:03 +0000)]
pointer signedness warnings elimination

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

16 years agopointer signedness warnings cleanup
Russell Bryant [Fri, 7 Jul 2006 16:01:36 +0000 (16:01 +0000)]
pointer signedness warnings cleanup

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

16 years agopointer signedness warnings cleanup
Russell Bryant [Fri, 7 Jul 2006 15:58:20 +0000 (15:58 +0000)]
pointer signedness warnings cleanup

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

16 years agomore pointer signedness cleanup
Russell Bryant [Fri, 7 Jul 2006 15:44:39 +0000 (15:44 +0000)]
more pointer signedness cleanup

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

16 years agoeliminate some pointer signedness warnings
Russell Bryant [Fri, 7 Jul 2006 07:03:42 +0000 (07:03 +0000)]
eliminate some pointer signedness warnings

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

16 years agoeliminate some pointer signedness warnings
Russell Bryant [Fri, 7 Jul 2006 07:01:50 +0000 (07:01 +0000)]
eliminate some pointer signedness warnings

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

16 years agoeliminate a pointer signedness warning
Russell Bryant [Fri, 7 Jul 2006 07:00:28 +0000 (07:00 +0000)]
eliminate a pointer signedness warning

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

16 years agoremove the unused usecount function to eliminate a compiler warning
Russell Bryant [Fri, 7 Jul 2006 06:58:16 +0000 (06:58 +0000)]
remove the unused usecount function to eliminate a compiler warning

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

16 years agofix a pointer signedness issue
Russell Bryant [Fri, 7 Jul 2006 06:57:02 +0000 (06:57 +0000)]
fix a pointer signedness issue

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

16 years agofix various pointer signedness issues
Russell Bryant [Fri, 7 Jul 2006 06:55:48 +0000 (06:55 +0000)]
fix various pointer signedness issues

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

16 years agoresolve some pointer signedness warnings
Russell Bryant [Fri, 7 Jul 2006 06:44:40 +0000 (06:44 +0000)]
resolve some pointer signedness warnings

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

16 years agoavoid an error from configure by not doing a cat on a file that doesn't exist
Russell Bryant [Fri, 7 Jul 2006 05:51:29 +0000 (05:51 +0000)]
avoid an error from configure by not doing a cat on a file that doesn't exist

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

16 years agosort lib info
Russell Bryant [Fri, 7 Jul 2006 05:32:28 +0000 (05:32 +0000)]
sort lib info

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

16 years agosort entries in this file
Russell Bryant [Fri, 7 Jul 2006 05:29:31 +0000 (05:29 +0000)]
sort entries in this file

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

16 years agospaces to tabs
Russell Bryant [Fri, 7 Jul 2006 02:58:53 +0000 (02:58 +0000)]
spaces to tabs

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

16 years agosmall cleanup
Kevin P. Fleming [Fri, 7 Jul 2006 02:33:24 +0000 (02:33 +0000)]
small cleanup

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

16 years agorename this file so it doesn't appear to be a module by itself
Kevin P. Fleming [Fri, 7 Jul 2006 02:20:28 +0000 (02:20 +0000)]
rename this file so it doesn't appear to be a module by itself

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

16 years agoactually do proper searching for c-client and output the results so app_voicemail...
Kevin P. Fleming [Fri, 7 Jul 2006 02:20:04 +0000 (02:20 +0000)]
actually do proper searching for c-client and output the results so app_voicemail can be built against it

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

16 years agovarious minor fixes
Kevin P. Fleming [Fri, 7 Jul 2006 00:48:40 +0000 (00:48 +0000)]
various minor fixes

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

16 years agodirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc
Russell Bryant [Thu, 6 Jul 2006 23:51:15 +0000 (23:51 +0000)]
dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc

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

16 years agoignore muted if present
Kevin P. Fleming [Thu, 6 Jul 2006 23:21:27 +0000 (23:21 +0000)]
ignore muted if present

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

16 years agoadd missing file
Kevin P. Fleming [Thu, 6 Jul 2006 23:20:14 +0000 (23:20 +0000)]
add missing file
ignore .oo files from C++ modules

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

16 years agomake the build output less noisy (optional, can be controlled by the NOISY_BUILD...
Kevin P. Fleming [Thu, 6 Jul 2006 23:18:45 +0000 (23:18 +0000)]
make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)

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

16 years agoOK, here is everything I changed to fix 7474:
Steve Murphy [Thu, 6 Jul 2006 22:49:18 +0000 (22:49 +0000)]
OK, here is everything I changed to fix 7474:

1. ael/ael.flex -- the "fix" is here. In short, I modified the
   pattern for the chars that break args, to exclude those chars that
   would normally break args if they are preceded by a backslash. I did
   this to 3 patterns where really, this kind of exclusion should be placed.

2. ael_lex.c is an updated output from lex.

3. the ael-test stuff -- instituted a regression test for this condition.
   as ael_ntest9. The "n" in the name means that instead of just getting
   the syntax/semantic errors and high-level output from aelparse, we
   also want the compilation results to be in the comparison file.
   (remove the -n option).

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

16 years agoAsterisk portion of the T309 patch. (#7271)
Matthew Fredrickson [Thu, 6 Jul 2006 21:51:51 +0000 (21:51 +0000)]
Asterisk portion of the T309 patch. (#7271)

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

16 years agoBlocked revisions 37224 via svnmerge
Matt O'Gorman [Thu, 6 Jul 2006 21:42:09 +0000 (21:42 +0000)]
Blocked revisions 37224 via svnmerge

........
r37224 | mogorman | 2006-07-06 16:41:23 -0500 (Thu, 06 Jul 2006) | 4 lines

patch resolves issue with when to decide if its right time
to native bridge, feature redirect was not being checked.
patch from bug #7296

........

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

16 years agopatch resolves issue with when to decide if its right time
Matt O'Gorman [Thu, 6 Jul 2006 21:36:17 +0000 (21:36 +0000)]
patch resolves issue with when to decide if its right time
to native bridge, feature redirect was not being checked.
patch from bug #7296

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

16 years agomove rules file to prepare for generic rules file
Kevin P. Fleming [Thu, 6 Jul 2006 21:04:28 +0000 (21:04 +0000)]
move rules file to prepare for generic rules file

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

16 years agoMerged revisions 37173 via svnmerge from
Joshua Colp [Thu, 6 Jul 2006 15:55:05 +0000 (15:55 +0000)]
Merged revisions 37173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37173 | file | 2006-07-06 11:48:07 -0400 (Thu, 06 Jul 2006) | 2 lines

Instead of giving the scheduled item ID on a peer expiration, give the time until they expire (issue #7455 reported by slavon)

........

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

16 years ago* removed tone_indicate, we genrate only the dialtone by ourself (and the hanguptone...
Christian Richter [Thu, 6 Jul 2006 15:11:40 +0000 (15:11 +0000)]
* removed tone_indicate, we genrate only the dialtone by ourself (and the hanguptone of course)
* removed the state handling from release_chan, and simplified the ast_hangup/ast_queue_hangup stuff
* added pp_l2_check option, for pp lines where the pbx does not initially gets the L2 up
* simplified and fixed a bug in the pid generation code
* fixed a bug in empty_chan, which might cause segfaults and memorry corruptions
* added prepare_bc function, which is sort of the opposite of empty_bc

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

16 years agoMerged revisions 37143 via svnmerge from
Tilghman Lesher [Thu, 6 Jul 2006 13:50:54 +0000 (13:50 +0000)]
Merged revisions 37143 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37143 | tilghman | 2006-07-06 08:47:23 -0500 (Thu, 06 Jul 2006) | 2 lines

Fix spelling/grammar (issue 7493)

........

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

16 years agomake chan_zap use proper test for libpri support
Kevin P. Fleming [Thu, 6 Jul 2006 13:07:47 +0000 (13:07 +0000)]
make chan_zap use proper test for libpri support

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

16 years agoInclude h.264 in "show codecs"
Olle Johansson [Thu, 6 Jul 2006 07:25:32 +0000 (07:25 +0000)]
Include h.264 in "show codecs"

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

16 years agoallow codec_gsm to be built using internal GSM library again (oops!)
Kevin P. Fleming [Wed, 5 Jul 2006 21:28:30 +0000 (21:28 +0000)]
allow codec_gsm to be built using internal GSM library again (oops!)

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

16 years agosolves issue with bug 7468. but with a patch that works
Matt O'Gorman [Wed, 5 Jul 2006 20:28:54 +0000 (20:28 +0000)]
solves issue with bug 7468. but with a patch that works

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

16 years agoupdate OSS so it works again
Kevin P. Fleming [Wed, 5 Jul 2006 20:15:43 +0000 (20:15 +0000)]
update OSS so it works again

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

16 years agoupdate dependency information to match new names for dependencies
Kevin P. Fleming [Wed, 5 Jul 2006 20:12:29 +0000 (20:12 +0000)]
update dependency information to match new names for dependencies

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

16 years agomassive rework of configure script, and split of AST_EXT_LIB into separate macros...
Kevin P. Fleming [Wed, 5 Jul 2006 19:59:34 +0000 (19:59 +0000)]
massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication

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

16 years agofix a compiler warning and clean up the code a bit.
Matt O'Gorman [Wed, 5 Jul 2006 18:45:40 +0000 (18:45 +0000)]
fix a compiler warning and clean up the code a bit.

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

16 years agoChange superfluous messages to DEBUG and remove dead code
Tilghman Lesher [Wed, 5 Jul 2006 18:08:18 +0000 (18:08 +0000)]
Change superfluous messages to DEBUG and remove dead code

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

16 years agoprepare Asterisk for new zaptel.h/tonezone.h installation locations
Kevin P. Fleming [Wed, 5 Jul 2006 16:44:41 +0000 (16:44 +0000)]
prepare Asterisk for new zaptel.h/tonezone.h installation locations

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

16 years agoDraft became RFC...
Olle Johansson [Wed, 5 Jul 2006 15:56:13 +0000 (15:56 +0000)]
Draft became RFC...

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

16 years agoMerged revisions 36998 via svnmerge from
Joshua Colp [Wed, 5 Jul 2006 15:33:43 +0000 (15:33 +0000)]
Merged revisions 36998 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36998 | file | 2006-07-05 11:31:01 -0400 (Wed, 05 Jul 2006) | 2 lines

Spell extension correctly in documentation for chan_oss dial (issue #7487 reported by flefoll)

........

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

16 years ago- Add notes about voicemail depending on res_adsi
Olle Johansson [Wed, 5 Jul 2006 06:06:23 +0000 (06:06 +0000)]
- Add notes about voicemail depending on res_adsi
- Remove obsolete modules from modules.conf.sample
  (make install will warn if those exist on the machine)

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

16 years agomatch the change made to AST_EXT_LIB in asterisk-addons
Russell Bryant [Wed, 5 Jul 2006 00:01:32 +0000 (00:01 +0000)]
match the change made to AST_EXT_LIB in asterisk-addons

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

16 years agoremoved the reloading of the ntdebug stuff, since this is a bit buggy, we only set...
Christian Richter [Tue, 4 Jul 2006 17:04:21 +0000 (17:04 +0000)]
removed the reloading of the ntdebug stuff, since this is a bit buggy, we only set it when loading chan_misdn for now. fixed a litle state problem when receiving RELEASE_COMPLETE. also we may only play tones to a NT when the extension does not match and such cases.

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

16 years agoSpecify digest algorithm for picky clients
Olle Johansson [Tue, 4 Jul 2006 14:54:55 +0000 (14:54 +0000)]
Specify digest algorithm for picky clients

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

16 years agoBug 7472 - Change line terminator for header to be RFC-compliant
Tilghman Lesher [Tue, 4 Jul 2006 00:16:33 +0000 (00:16 +0000)]
Bug 7472 - Change line terminator for header to be RFC-compliant
Also, check to ensure the memory allocation didn't fail.

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

16 years agoremoved our own tone creation from misdn_indicate, we just return -1. Now we get...
Christian Richter [Mon, 3 Jul 2006 16:47:28 +0000 (16:47 +0000)]
removed our own tone creation from misdn_indicate, we just return -1. Now we get a lot fewer blocked in thread blah warnings..

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

16 years agoadded misdn show config description[s] to show all the possible misdn.conf settings...
Christian Richter [Mon, 3 Jul 2006 16:41:43 +0000 (16:41 +0000)]
added misdn show config description[s] to show all the possible misdn.conf settings with a description in the CLI

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

16 years agoIncrease buffer size for routing headers. When routing with enc.keys within
Olle Johansson [Mon, 3 Jul 2006 15:10:22 +0000 (15:10 +0000)]
Increase buffer size for routing headers. When routing with enc.keys within
route headers, we're reaching the limimt for what's possible in one UDP packet...

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

16 years agoWhitespace fixes only.
Tilghman Lesher [Mon, 3 Jul 2006 13:26:10 +0000 (13:26 +0000)]
Whitespace fixes only.

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

16 years agoAdd some comments to the SLA code
Olle Johansson [Mon, 3 Jul 2006 07:40:08 +0000 (07:40 +0000)]
Add some comments to the SLA code

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

16 years agoRaise debugging level for message
Olle Johansson [Mon, 3 Jul 2006 07:25:33 +0000 (07:25 +0000)]
Raise debugging level for message

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

16 years agoDon't attempt to run a regcomp if we haven't even parsed arguments correctly
Tilghman Lesher [Mon, 3 Jul 2006 06:32:35 +0000 (06:32 +0000)]
Don't attempt to run a regcomp if we haven't even parsed arguments correctly

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

16 years agoreduce indentation a couple of levels
Russell Bryant [Mon, 3 Jul 2006 05:32:08 +0000 (05:32 +0000)]
reduce indentation a couple of levels

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

16 years agoBlocked revisions 36751 via svnmerge
Russell Bryant [Mon, 3 Jul 2006 05:14:06 +0000 (05:14 +0000)]
Blocked revisions 36751 via svnmerge

........
r36751 | russell | 2006-07-03 01:12:03 -0400 (Mon, 03 Jul 2006) | 3 lines

fix a race condition that caused asterisk to log a *ton* of warnings on mac
osx about poll returning an error because the polled file descriptor was bad.

........

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

16 years agoBlocked revisions 36725 via svnmerge
Russell Bryant [Mon, 3 Jul 2006 04:25:21 +0000 (04:25 +0000)]
Blocked revisions 36725 via svnmerge

........
r36725 | russell | 2006-07-03 00:19:09 -0400 (Mon, 03 Jul 2006) | 4 lines

use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285, gkloepfer)

........

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

16 years ago- remove an unused variable
Russell Bryant [Mon, 3 Jul 2006 03:39:37 +0000 (03:39 +0000)]
- remove an unused variable
- use ast_calloc instead of malloc + memset
- return immediately on ast_calloc failure instead of indenting the whole func
- remove a duplicate ast_strdupa

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

16 years agoadd RDNIS to the DumpChan application (issue #7432, junky)
Russell Bryant [Mon, 3 Jul 2006 03:34:47 +0000 (03:34 +0000)]
add RDNIS to the DumpChan application (issue #7432, junky)

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

16 years agoMerged revisions 36697 via svnmerge from
Russell Bryant [Mon, 3 Jul 2006 03:24:58 +0000 (03:24 +0000)]
Merged revisions 36697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36697 | russell | 2006-07-02 23:23:36 -0400 (Sun, 02 Jul 2006) | 2 lines

fix the build with BUSYDETECT_TONEONLY defined (issue #7414)

........

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

16 years agoIssue #7421 - Hold status not working fully. Thanks jmls for a good job debugging!
Olle Johansson [Sun, 2 Jul 2006 19:53:54 +0000 (19:53 +0000)]
Issue #7421 - Hold status not working fully. Thanks jmls for a good job debugging!

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

16 years agousers want code to compile, really.
Olle Johansson [Sun, 2 Jul 2006 17:14:32 +0000 (17:14 +0000)]
users want code to compile, really.

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

16 years agoFormatting and debug output fixes
Olle Johansson [Sun, 2 Jul 2006 16:42:53 +0000 (16:42 +0000)]
Formatting and debug output fixes

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

16 years agotell the other side that we're using 20 ms packetization for iLBC
Olle Johansson [Sun, 2 Jul 2006 14:18:00 +0000 (14:18 +0000)]
tell the other side that we're using 20 ms packetization for iLBC
- we need to investigate support for refusing offers of 30 ms (like the Nokia
  e-series) or supporting it.

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

16 years ago- Make use of system name in realtime SIP peers optional
Olle Johansson [Sun, 2 Jul 2006 12:00:36 +0000 (12:00 +0000)]
- Make use of system name in realtime SIP peers optional
- Fix small issue with SIP history

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

16 years agoFirst pass at SLA support
Mark Spencer [Sat, 1 Jul 2006 23:54:43 +0000 (23:54 +0000)]
First pass at SLA support

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

16 years agoIt might help if this had the right stimulus name
North Antara [Sat, 1 Jul 2006 17:59:37 +0000 (17:59 +0000)]
It might help if this had the right stimulus name

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

16 years agoRevert the previous change to FILTER and fix the embedded documentation instead.
Tilghman Lesher [Sat, 1 Jul 2006 16:03:51 +0000 (16:03 +0000)]
Revert the previous change to FILTER and fix the embedded documentation instead.

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

16 years agofix up res_snmp so it builds and loads correctly
Russell Bryant [Sat, 1 Jul 2006 15:13:56 +0000 (15:13 +0000)]
fix up res_snmp so it builds and loads correctly
- update to current loader
- update to latest build system changes to ensure snmp/agent.o is built
  and linked

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

16 years agoFix chan_nbs to build...
Mark Spencer [Sat, 1 Jul 2006 14:55:29 +0000 (14:55 +0000)]
Fix chan_nbs to build...

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

16 years agofix the parsing of options in the FILTER function to match the documentation.
Russell Bryant [Sat, 1 Jul 2006 14:42:42 +0000 (14:42 +0000)]
fix the parsing of options in the FILTER function to match the documentation.
(issue #7465)

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

16 years agofix removing autoconfig.h on distclean (issue #7439, casper)
Russell Bryant [Sat, 1 Jul 2006 14:29:06 +0000 (14:29 +0000)]
fix removing autoconfig.h on distclean (issue #7439, casper)

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

16 years agoswap distclean and dist-clean, since distclean is more commonly used ...
Russell Bryant [Sat, 1 Jul 2006 14:25:43 +0000 (14:25 +0000)]
swap distclean and dist-clean, since distclean is more commonly used ...

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

16 years agoremove build_tools/menuselelct-deps on distclean
Russell Bryant [Sat, 1 Jul 2006 04:37:52 +0000 (04:37 +0000)]
remove build_tools/menuselelct-deps on distclean

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

16 years agodon't specify this include in the menuselect Makefile, because asterisk-addons
Russell Bryant [Sat, 1 Jul 2006 03:27:37 +0000 (03:27 +0000)]
don't specify this include in the menuselect Makefile, because asterisk-addons
doesn't have an include dir

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

16 years agomore pickyness
Russell Bryant [Sat, 1 Jul 2006 03:23:18 +0000 (03:23 +0000)]
more pickyness

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

16 years agochange bracket style because i'm picky
Russell Bryant [Sat, 1 Jul 2006 03:21:56 +0000 (03:21 +0000)]
change bracket style because i'm picky

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

16 years agomenuselect doesn't pull strcompat.o from asterisk anymore
Russell Bryant [Sat, 1 Jul 2006 03:21:06 +0000 (03:21 +0000)]
menuselect doesn't pull strcompat.o from asterisk anymore

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

16 years agomore reasons why solaris sucks
Russell Bryant [Fri, 30 Jun 2006 17:52:49 +0000 (17:52 +0000)]
more reasons why solaris sucks

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

16 years agofix the condition for including the header for osx atomics
Russell Bryant [Fri, 30 Jun 2006 16:02:05 +0000 (16:02 +0000)]
fix the condition for including the header for osx atomics

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

16 years agoupdate configure
Russell Bryant [Fri, 30 Jun 2006 15:55:38 +0000 (15:55 +0000)]
update configure

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

16 years agoadd support for atomic operations provided by mac osx
Russell Bryant [Fri, 30 Jun 2006 15:54:13 +0000 (15:54 +0000)]
add support for atomic operations provided by mac osx

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

16 years agoFix up a few log messages in chan_sip (issue #7449 reported by tgrman)
Joshua Colp [Fri, 30 Jun 2006 15:29:15 +0000 (15:29 +0000)]
Fix up a few log messages in chan_sip (issue #7449 reported by tgrman)

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

16 years agoMake sure that we build chan_misdn with the object files in the right order
Matthew Fredrickson [Fri, 30 Jun 2006 15:23:20 +0000 (15:23 +0000)]
Make sure that we build chan_misdn with the object files in the right order

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

16 years agoUpdates from transnexus to osplookup, removes res_osp
Matt O'Gorman [Fri, 30 Jun 2006 15:12:35 +0000 (15:12 +0000)]
Updates from transnexus to osplookup, removes res_osp
and puts all logic into the app, documentation provided now
in osp.txt.

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

16 years agoMerged revisions 36377 via svnmerge from
Tilghman Lesher [Fri, 30 Jun 2006 14:10:53 +0000 (14:10 +0000)]
Merged revisions 36377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36377 | tilghman | 2006-06-30 09:05:53 -0500 (Fri, 30 Jun 2006) | 5 lines

Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.

Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.

........

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

16 years agoadded a bit logging, when we split the bridge
Christian Richter [Fri, 30 Jun 2006 14:09:52 +0000 (14:09 +0000)]
added a bit logging, when we split the bridge

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

16 years agoadded fix, that if the L2 goes down on ptp-NT that we reinitialize the NT Library...
Christian Richter [Fri, 30 Jun 2006 14:05:42 +0000 (14:05 +0000)]
added fix, that if the L2 goes down on ptp-NT that we reinitialize the NT Library. Also if we have no ntflags, we don't pass the filename to the debug routines of mISDNuser.

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

16 years agoStore sysname even if we do not store fullcontact (thanks tholo)
Olle Johansson [Fri, 30 Jun 2006 07:22:47 +0000 (07:22 +0000)]
Store sysname even if we do not store fullcontact (thanks tholo)

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

16 years agoRemoving configuration options that does not do anything yet. No need to
Olle Johansson [Fri, 30 Jun 2006 07:18:30 +0000 (07:18 +0000)]
Removing configuration options that does not do anything yet. No need to
add "promises" to the sip.conf.sample...

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

16 years agomake this script work on solaris
Russell Bryant [Fri, 30 Jun 2006 04:33:18 +0000 (04:33 +0000)]
make this script work on solaris

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

16 years agoMerged revisions 36290 via svnmerge from
Tilghman Lesher [Thu, 29 Jun 2006 22:01:41 +0000 (22:01 +0000)]
Merged revisions 36290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36290 | tilghman | 2006-06-29 14:23:18 -0500 (Thu, 29 Jun 2006) | 2 lines

Bug 7388 - compatibility changes for Solaris

........

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

16 years agoadded better L2 handling for ptp, if it's down we don't try to call on that port...
Christian Richter [Thu, 29 Jun 2006 20:12:19 +0000 (20:12 +0000)]
added better L2 handling for ptp, if it's down we don't try to call on that port in groupdial anymore, also we try to get it up then. Additionally added the configoptions  ntdebugflags and ntdebugfile to debug the mISDNuser NT Stack (should have done that ages before..). isdn_lib.c compiles again.

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

16 years agoMerged revisions 36253-36254 via svnmerge from
Kevin P. Fleming [Thu, 29 Jun 2006 08:01:08 +0000 (08:01 +0000)]
Merged revisions 36253-36254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36253 | kpfleming | 2006-06-29 02:19:27 -0500 (Thu, 29 Jun 2006) | 2 lines

add documentation for peer-specific 'outboundproxy' setting

........
r36254 | kpfleming | 2006-06-29 02:19:54 -0500 (Thu, 29 Jun 2006) | 2 lines

clarify documentation for 'persistentmembers' setting

........

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

16 years ago...too early in the morning for commits in Bergen, Norway...
Olle Johansson [Thu, 29 Jun 2006 07:59:10 +0000 (07:59 +0000)]
...too early in the morning for commits in Bergen, Norway...

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

16 years agomove FreeTDS version check into configure script
Kevin P. Fleming [Thu, 29 Jun 2006 07:50:01 +0000 (07:50 +0000)]
move FreeTDS version check into configure script

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