asterisk/asterisk.git
14 years agoForce a rebuild since we mucked with enough stuff to justify it
Joshua Colp [Thu, 31 Aug 2006 02:03:01 +0000 (02:03 +0000)]
Force a rebuild since we mucked with enough stuff to justify it

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

14 years agoMerge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell...
Joshua Colp [Thu, 31 Aug 2006 01:59:02 +0000 (01:59 +0000)]
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!

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

14 years agoUpdate configure script to check for Zaptel VLDTMF support since this will now be...
Joshua Colp [Thu, 31 Aug 2006 01:48:04 +0000 (01:48 +0000)]
Update configure script to check for Zaptel VLDTMF support since this will now be required. If you build and don't have Zap stuff, upgrade your zaptel copy. As well - change some minor things so that we get "checking for" and not "checking checking for".

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

14 years agochange default setting for autofallthrough
Kevin P. Fleming [Wed, 30 Aug 2006 21:44:05 +0000 (21:44 +0000)]
change default setting for autofallthrough

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

14 years agoWhy check bridgepeer twice?
Olle Johansson [Wed, 30 Aug 2006 20:24:32 +0000 (20:24 +0000)]
Why check bridgepeer twice?

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

14 years agoupdate docs
Olle Johansson [Wed, 30 Aug 2006 20:20:52 +0000 (20:20 +0000)]
update docs

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

14 years agoDon't add headers to an uninitialized eq (from issue 7694 garyhai, but not
Olle Johansson [Wed, 30 Aug 2006 19:51:31 +0000 (19:51 +0000)]
Don't add headers to an uninitialized eq (from issue 7694 garyhai, but not
a resolution to that bug report)

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

14 years agoNote to myself: Remember Russell's note: Always compile first...
Olle Johansson [Wed, 30 Aug 2006 19:20:29 +0000 (19:20 +0000)]
Note to myself: Remember Russell's note: Always compile first...

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

14 years agoMark ALERT_INFO as deprecated. This can now be done with the sipaddheader() applicati...
Olle Johansson [Wed, 30 Aug 2006 19:16:53 +0000 (19:16 +0000)]
Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() application and
does not need special code in chan_sip any more.

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

14 years agoadd a note about behavior of the "clid" field in the CDR
Russell Bryant [Wed, 30 Aug 2006 19:07:59 +0000 (19:07 +0000)]
add a note about behavior of the "clid" field in the CDR

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

14 years agoIssue #7572 (Boesl) - hangup channel that get buggy 487 response (imported from 1.2)
Olle Johansson [Wed, 30 Aug 2006 19:07:21 +0000 (19:07 +0000)]
Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported from 1.2)

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

14 years agoBlocked revisions 41411 via svnmerge
Russell Bryant [Wed, 30 Aug 2006 19:02:34 +0000 (19:02 +0000)]
Blocked revisions 41411 via svnmerge

........
r41411 | russell | 2006-08-30 14:59:44 -0400 (Wed, 30 Aug 2006) | 6 lines

Restore original functionality of 1.2 in places where ANI was not set, but was
changed to be set.  The original change was done to ensure that the behavior of
the "callerid" option in each channel driver was consistent, but it caused an
unexpected behavior change of CDR records for users, so this change is being
reverted in 1.2.  (issue #7695)

........

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

14 years agoMerged revisions 41390 via svnmerge from
Joshua Colp [Wed, 30 Aug 2006 18:02:53 +0000 (18:02 +0000)]
Merged revisions 41390 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r41390 | file | 2006-08-30 13:58:31 -0400 (Wed, 30 Aug 2006) | 2 lines

Properly handle an ETIMEDOUT result from pthread_cond_timedwait (issue #7318 reported by arkadia)

........

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

14 years agofix a bug introduced when I merged my frame caching branch. Queue the
Russell Bryant [Wed, 30 Aug 2006 17:07:07 +0000 (17:07 +0000)]
fix a bug introduced when I merged my frame caching branch.  Queue the
translated frame to the spies, *not* the original frame.  Thanks PCadach!

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

14 years agoClarify what show translations is displaying a bit more (issue #7772 reported by...
Joshua Colp [Wed, 30 Aug 2006 16:04:24 +0000 (16:04 +0000)]
Clarify what show translations is displaying a bit more (issue #7772 reported by Mithraen)

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

14 years agoPrint what read-only variable is being set so that the user doesn't have to guess...
Joshua Colp [Wed, 30 Aug 2006 15:15:06 +0000 (15:15 +0000)]
Print what read-only variable is being set so that the user doesn't have to guess and figure it out or look at the list in cdr.c and match it up (issue #7831 reported by sedwards)

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

14 years agoOnly feed a DTMF frame into the core if we need to
Joshua Colp [Wed, 30 Aug 2006 14:57:06 +0000 (14:57 +0000)]
Only feed a DTMF frame into the core if we need to

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

14 years agoIssue #7822 - don't issue SRV lookups if it's disabled. (barthek)
Olle Johansson [Wed, 30 Aug 2006 14:36:46 +0000 (14:36 +0000)]
Issue #7822 - don't issue SRV lookups if it's disabled. (barthek)

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

14 years agoFix transcoding performance issue
Mark Spencer [Wed, 30 Aug 2006 03:20:54 +0000 (03:20 +0000)]
Fix transcoding performance issue

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

14 years agoOnly switch the second alert fd (which is RTCP) to callback mode if it is in use
Joshua Colp [Wed, 30 Aug 2006 03:18:04 +0000 (03:18 +0000)]
Only switch the second alert fd (which is RTCP) to callback mode if it is in use

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

14 years agoUse an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to...
Joshua Colp [Wed, 30 Aug 2006 03:16:03 +0000 (03:16 +0000)]
Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking

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

14 years agoIf the RTP stack is already being operated in callback mode, then suspend it upon...
Joshua Colp [Wed, 30 Aug 2006 01:29:59 +0000 (01:29 +0000)]
If the RTP stack is already being operated in callback mode, then suspend it upon switching to P2P callback bridging. Once P2P callback bridging has ended, then restore callback mode.

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

14 years agoThis is the last round of RTP bridge optimizations. Basically it introduces a way...
Joshua Colp [Wed, 30 Aug 2006 01:22:46 +0000 (01:22 +0000)]
This is the last round of RTP bridge optimizations. Basically it introduces a way that under a straight bridge (ie: no transcoding and no DTMF detection) the core is not touched at all and no frames pass through (not even null frames). This is accomplished by stealing the file descriptors from the channel and using the provided IO context with a custom callback. When a channel is placed on hold this bridge is broken so audio can flow from the core to the other side. When a channel is off hold this bridge is re-established.

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

14 years agoMove the direct bridge write to after the NAT handling code
Joshua Colp [Tue, 29 Aug 2006 23:41:16 +0000 (23:41 +0000)]
Move the direct bridge write to after the NAT handling code

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

14 years agomake menuselect configure process be silent when possible
Kevin P. Fleming [Tue, 29 Aug 2006 23:33:59 +0000 (23:33 +0000)]
make menuselect configure process be silent when possible
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this

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

14 years agoThis change fixes bug 7820. Way back in April this bug was reintroduced, it appears...
Steve Murphy [Tue, 29 Aug 2006 23:08:42 +0000 (23:08 +0000)]
This change fixes bug 7820. Way back in April this bug was reintroduced, it appears, when a bunch of restructuring was done. This code was basically left out during the restructuring. In the case of the failure in 7820, it is trying to match the extension _x. with _x., and failing, because the 'x' should only match 0 thru 9. I **could** upgrade the code so that that N,Z, and X match not only their intended number ranges, but also N,Z,and X respectively. And, moreover, X could also match N and Z, and Z could also match N. I have no idea why this bug took so long to turn up. I have no idea what a more thorough treatment of the code would do to working code, either. So I left it as it ***was***.

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

14 years agoKevins last commit made me spot a typo.
Jason Parker [Tue, 29 Aug 2006 21:52:40 +0000 (21:52 +0000)]
Kevins last commit made me spot a typo.

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

14 years agoadd one remaining bit of functionality to the features.conf applicationmap (from...
Kevin P. Fleming [Tue, 29 Aug 2006 21:20:43 +0000 (21:20 +0000)]
add one remaining bit of functionality to the features.conf applicationmap (from Matt Nicholson in Digium Express Services)

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

14 years agoLimit challenges to 9 digits in length
Joshua Colp [Tue, 29 Aug 2006 20:53:27 +0000 (20:53 +0000)]
Limit challenges to 9 digits in length

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

14 years agoMerge team/russell/frame_caching
Russell Bryant [Tue, 29 Aug 2006 20:50:36 +0000 (20:50 +0000)]
Merge team/russell/frame_caching

There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).

This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.

This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.

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

14 years agosuppress compiler warning
Jason Parker [Tue, 29 Aug 2006 17:31:15 +0000 (17:31 +0000)]
suppress compiler warning

Code shamelessly borrowed from r41271 (it was the same warning/fix)

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

14 years agoupdate to reflect recent rtp changes
Russell Bryant [Tue, 29 Aug 2006 13:55:54 +0000 (13:55 +0000)]
update to reflect recent rtp changes

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

14 years agosuppress compiler warning
Russell Bryant [Tue, 29 Aug 2006 13:48:15 +0000 (13:48 +0000)]
suppress compiler warning

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

14 years agoMerged revisions 41269 via svnmerge from
Russell Bryant [Tue, 29 Aug 2006 13:40:04 +0000 (13:40 +0000)]
Merged revisions 41269 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r41269 | russell | 2006-08-29 09:33:34 -0400 (Tue, 29 Aug 2006) | 3 lines

clean up last commit ... most notably, there is no reason to do heap
allocations here, and it also included a potential memory leak

........

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

14 years agoCommitted a fix for 7731, suggested by mnehauser.
Steve Murphy [Tue, 29 Aug 2006 13:21:47 +0000 (13:21 +0000)]
Committed a fix for 7731, suggested by mnehauser.

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

14 years agoBugfix for 7813 applied to trunk as per patch supplied by stevens
Steve Murphy [Tue, 29 Aug 2006 12:24:01 +0000 (12:24 +0000)]
Bugfix for 7813 applied to trunk as per patch supplied by stevens

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

14 years agoblocking version 41240 from erasing stuff about complement and matching ops from...
Steve Murphy [Mon, 28 Aug 2006 20:56:52 +0000 (20:56 +0000)]
blocking version 41240 from erasing stuff about complement and matching ops from the trunk version

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

14 years agoMerge in RTP-level packet bridging. Packet comes in, packet goes out - that's what...
Joshua Colp [Mon, 28 Aug 2006 17:37:56 +0000 (17:37 +0000)]
Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!

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

14 years agoMy apologies, I missed the compiler warning in a previous commit for the ael_main.c;
Steve Murphy [Mon, 28 Aug 2006 15:31:14 +0000 (15:31 +0000)]
My apologies, I missed the compiler warning in a previous commit for the ael_main.c;
I've fixed this.

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

14 years agoGNU make already knows how to quietly ignore non-existent files in 'include' directives
Kevin P. Fleming [Sat, 26 Aug 2006 23:58:47 +0000 (23:58 +0000)]
GNU make already knows how to quietly ignore non-existent files in 'include' directives

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

14 years agoensure that unload_dynamic_module won't continue dereferencing a module pointer after...
Kevin P. Fleming [Sat, 26 Aug 2006 19:45:16 +0000 (19:45 +0000)]
ensure that unload_dynamic_module won't continue dereferencing a module pointer after the module has been unloaded from memory

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

14 years agomenuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
Russell Bryant [Sat, 26 Aug 2006 17:15:38 +0000 (17:15 +0000)]
menuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
removed

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

14 years agoensure that cross-compiler info is removed from the enviroment before configuring...
Kevin P. Fleming [Sat, 26 Aug 2006 17:05:38 +0000 (17:05 +0000)]
ensure that cross-compiler info is removed from the enviroment before configuring menuselect
ensure that the user's LDFLAGS take precedence when linking the final binary

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

14 years agomore optimizations for embedded systems:
Kevin P. Fleming [Sat, 26 Aug 2006 16:45:35 +0000 (16:45 +0000)]
more optimizations for embedded systems:
  when LOADABLE_MODULES is off, don't export symbols from the main binary
  when LOADABLE_MODULES is off, and the compiler/linker support it, strip out code not used in the final binary

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

14 years agoremove some unneeded variables now that the menuselect build is isolated from
Russell Bryant [Sat, 26 Aug 2006 16:13:45 +0000 (16:13 +0000)]
remove some unneeded variables now that the menuselect build is isolated from
the parent project

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

14 years agoChanges to fix all problems reported in 7804 are included here.
Steve Murphy [Fri, 25 Aug 2006 20:43:51 +0000 (20:43 +0000)]
Changes to fix all problems reported in 7804 are included here.

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

14 years agowe really need BSD make here to understand the -V option.
Luigi Rizzo [Fri, 25 Aug 2006 20:10:56 +0000 (20:10 +0000)]
we really need BSD make here to understand the -V option.
Fix and document this.
(problem introduced in SVN 40753)

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

14 years agofix redirect typo
Russell Bryant [Fri, 25 Aug 2006 19:10:15 +0000 (19:10 +0000)]
fix redirect typo

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

14 years agofix a typo and clarify something else
Kevin P. Fleming [Fri, 25 Aug 2006 18:58:52 +0000 (18:58 +0000)]
fix a typo and clarify something else

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

14 years agoremove the make version check, and instead, check for the actual bug that
Russell Bryant [Fri, 25 Aug 2006 18:55:26 +0000 (18:55 +0000)]
remove the make version check, and instead, check for the actual bug that
causes our build system to blow up.

If anyone still sees problems and configure didn't detect a problem with make,
please let me know.

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

14 years agoIdentify what the columns mean in the output of "show profile"
Russell Bryant [Fri, 25 Aug 2006 18:05:28 +0000 (18:05 +0000)]
Identify what the columns mean in the output of "show profile"

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

14 years agoOff by one error in buffer length (issue 7379)
Tilghman Lesher [Fri, 25 Aug 2006 17:48:34 +0000 (17:48 +0000)]
Off by one error in buffer length (issue 7379)

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

14 years agowe use autoconf 2.60.
Russell Bryant [Fri, 25 Aug 2006 16:19:58 +0000 (16:19 +0000)]
we use autoconf 2.60.

Note that this only affects people regenerating the configure script.

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

14 years agoinstead of reverting this supposedly 'stupid' change, let's try to get it working...
Kevin P. Fleming [Fri, 25 Aug 2006 16:14:00 +0000 (16:14 +0000)]
instead of reverting this supposedly 'stupid' change, let's try to get it working properly
also eliminate a warning from dlopen() because some flags were missing on the second dlopen() call

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

14 years agoNote to self, always compile before committing.
Matthew Fredrickson [Fri, 25 Aug 2006 15:20:16 +0000 (15:20 +0000)]
Note to self, always compile before committing.

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

14 years agoDon't send proceeding twice (#7800)
Matthew Fredrickson [Fri, 25 Aug 2006 15:14:42 +0000 (15:14 +0000)]
Don't send proceeding twice (#7800)

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

14 years agoremove documentation of 'global' section in modules.conf, since it is no longer neede...
Kevin P. Fleming [Fri, 25 Aug 2006 14:14:27 +0000 (14:14 +0000)]
remove documentation of 'global' section in modules.conf, since it is no longer needed or supported

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

14 years agodon't seg fault when using dbsecret
Russell Bryant [Fri, 25 Aug 2006 02:55:00 +0000 (02:55 +0000)]
don't seg fault when using dbsecret

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

14 years agoThis is a bit safer on some versions of sed.
Jason Parker [Fri, 25 Aug 2006 00:52:19 +0000 (00:52 +0000)]
This is a bit safer on some versions of sed.

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

14 years agoget cflags for libcurl as well as libs (patch from qwell)
Russell Bryant [Fri, 25 Aug 2006 00:13:03 +0000 (00:13 +0000)]
get cflags for libcurl as well as libs (patch from qwell)

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

14 years agoAs per the comments in this file..
Jason Parker [Thu, 24 Aug 2006 22:17:12 +0000 (22:17 +0000)]
As per the comments in this file..
The last patch was slightly wrong.  This'll get it for sure.

Solaris (and some others) don't have sed -r.  perl -p is equivalent

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

14 years agoFix a small typo I found.
Jason Parker [Thu, 24 Aug 2006 21:30:34 +0000 (21:30 +0000)]
Fix a small typo I found.

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

14 years agoMerged revisions 40994 via svnmerge from
Russell Bryant [Thu, 24 Aug 2006 19:53:43 +0000 (19:53 +0000)]
Merged revisions 40994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r40994 | russell | 2006-08-24 15:41:26 -0400 (Thu, 24 Aug 2006) | 11 lines

Fix a few issues related to the handling of channel variables
 - in pbx_builtin_serialize_variables(), the variable list traversal would stop
   on a variables with empty name/values, which is not appropriate
 - When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
   AST_LIST_REMOVE
 - During masquerading, when copying the variables list from one channel to the
   other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
   It leaves the tail pointer of the list invalid.  Introduce a new macro,
   AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802, softins)

........

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

14 years agofix codec_gsm build for powerpc
Russell Bryant [Thu, 24 Aug 2006 19:07:01 +0000 (19:07 +0000)]
fix codec_gsm build for powerpc

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

14 years agoremove CFLAGS that aren't needed anymore
Russell Bryant [Thu, 24 Aug 2006 18:57:46 +0000 (18:57 +0000)]
remove CFLAGS that aren't needed anymore

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

14 years agoDeprecate USERAGENT
Olle Johansson [Thu, 24 Aug 2006 18:49:35 +0000 (18:49 +0000)]
Deprecate USERAGENT

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

14 years agoRevert stupid RTLD_NOLOAD change that breaks module loading on some systems.
Matthew Fredrickson [Thu, 24 Aug 2006 17:24:33 +0000 (17:24 +0000)]
Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.

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

14 years agoMerged revisions 40979 via svnmerge from
Joshua Colp [Thu, 24 Aug 2006 17:13:57 +0000 (17:13 +0000)]
Merged revisions 40979 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r40979 | file | 2006-08-24 13:13:04 -0400 (Thu, 24 Aug 2006) | 2 lines

I can type english. Honest. Thanks Kenny.

........

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

14 years agoMerged revisions 40971 via svnmerge from
Joshua Colp [Thu, 24 Aug 2006 16:46:13 +0000 (16:46 +0000)]
Merged revisions 40971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r40971 | file | 2006-08-24 12:44:41 -0400 (Thu, 24 Aug 2006) | 2 lines

Minor documentation fix to add the 'dynamic' dialplan option from angler

........

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

14 years agoDocumentation updates (thanks Shaun for the speechrec.txt one!)
Joshua Colp [Thu, 24 Aug 2006 15:44:24 +0000 (15:44 +0000)]
Documentation updates (thanks Shaun for the speechrec.txt one!)

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

14 years agoOkay, there are 3 reasons why I'm doing this.
Jason Parker [Thu, 24 Aug 2006 01:21:41 +0000 (01:21 +0000)]
Okay, there are 3 reasons why I'm doing this.

1) Solaris sed doesn't have -r, which means things like \s and \S don't work.
2) GNU sed version 4.1.2 failed on a very simple test
     echo "Test   Test" | sed -r -e 's/\s/x/g'
     should have returned "TestxxxTest", but did not (however, 4.1.4 did?).
3) The CFLAGS were never set, so that entire line actually did nothing.  Now it's useful again.

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

14 years agoFixing a comment
Olle Johansson [Wed, 23 Aug 2006 21:19:21 +0000 (21:19 +0000)]
Fixing a comment

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

14 years agoAdd a lasting legacy from 1082... a Macro to do a pre acknowledgement message with...
Joshua Colp [Wed, 23 Aug 2006 20:39:23 +0000 (20:39 +0000)]
Add a lasting legacy from 1082... a Macro to do a pre acknowledgement message with option to reject. Thanks to patbaker82 for this. (issue #1082 reported by damin)

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

14 years agoFree the filename so we don't have a memory leak. (reported by PCadach in #asterisk...
Joshua Colp [Wed, 23 Aug 2006 20:22:18 +0000 (20:22 +0000)]
Free the filename so we don't have a memory leak. (reported by PCadach in #asterisk-bugs)

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

14 years agouse RTLD_NOLOAD if it's available to make loading dynamic modules a little faster...
Kevin P. Fleming [Wed, 23 Aug 2006 19:28:13 +0000 (19:28 +0000)]
use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
also, keep trying to dlclose() a module until it actually goes away, since it may have other modules it brought in when it was loaded (thanks PCadach for pointing this problem out to me)

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

14 years agomove the "muted" svn:ignore to the utils/ directory
Jason Parker [Wed, 23 Aug 2006 18:51:39 +0000 (18:51 +0000)]
move the "muted" svn:ignore to the utils/ directory

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

14 years agoremove svnmerge-integrated property
Russell Bryant [Wed, 23 Aug 2006 17:44:33 +0000 (17:44 +0000)]
remove svnmerge-integrated property

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

14 years agoMerged revisions 40901 via svnmerge from
Tilghman Lesher [Wed, 23 Aug 2006 16:14:18 +0000 (16:14 +0000)]
Merged revisions 40901 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r40901 | tilghman | 2006-08-23 11:05:26 -0500 (Wed, 23 Aug 2006) | 2 lines

Revert last change - breaks retrieval of builtin variables

........

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

14 years agomerge menuselect_build ... most of the changes happened in menuselect
Russell Bryant [Wed, 23 Aug 2006 03:07:34 +0000 (03:07 +0000)]
merge menuselect_build ... most of the changes happened in menuselect

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

14 years agogenerate a message when a module cannot be found and loadable modules are disabled
Kevin P. Fleming [Tue, 22 Aug 2006 23:55:16 +0000 (23:55 +0000)]
generate a message when a module cannot be found and loadable modules are disabled

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

14 years agomake platforms that use mutexes in stdio.h happy
Kevin P. Fleming [Tue, 22 Aug 2006 23:07:11 +0000 (23:07 +0000)]
make platforms that use mutexes in stdio.h happy

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

14 years agominor improvements
Kevin P. Fleming [Tue, 22 Aug 2006 23:06:13 +0000 (23:06 +0000)]
minor improvements

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

14 years agowhen loadable modules are disabled, if someone tries to load a module that does not...
Kevin P. Fleming [Tue, 22 Aug 2006 21:57:16 +0000 (21:57 +0000)]
when loadable modules are disabled, if someone tries to load a module that does not exist, don't dereference a NULL pointer, just stop trying to load it...

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

14 years agoadd a new include file for out-of-tree modules that need to know where things are...
Kevin P. Fleming [Tue, 22 Aug 2006 21:45:15 +0000 (21:45 +0000)]
add a new include file for out-of-tree modules that need to know where things are located

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

14 years agoremove requirement for libtasn1, which appears to be a Debian thing
Kevin P. Fleming [Tue, 22 Aug 2006 16:32:41 +0000 (16:32 +0000)]
remove requirement for libtasn1, which appears to be a Debian thing

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

14 years agoSolaris didn't like this.
Jason Parker [Tue, 22 Aug 2006 05:34:44 +0000 (05:34 +0000)]
Solaris didn't like this.

Let's just go ahead and make this match every other uintXX_t in Asterisk.

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

14 years agoa couple Solaris tweaks, to help build properly.
Jason Parker [Tue, 22 Aug 2006 05:24:50 +0000 (05:24 +0000)]
a couple Solaris tweaks, to help build properly.

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

14 years agoBlocked revisions 40821 via svnmerge
Tilghman Lesher [Tue, 22 Aug 2006 03:01:49 +0000 (03:01 +0000)]
Blocked revisions 40821 via svnmerge

........
r40821 | tilghman | 2006-08-21 21:59:37 -0500 (Mon, 21 Aug 2006) | 2 lines

Bug 7779 - Using initstate(3) means that we cannot unload this module once loaded.

........

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

14 years agoAnother compile time warning bites the dust
Joshua Colp [Tue, 22 Aug 2006 02:30:38 +0000 (02:30 +0000)]
Another compile time warning bites the dust

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

14 years agoMake a warning about an unused function & variable go away on the stand alone AEL...
Joshua Colp [Tue, 22 Aug 2006 02:24:46 +0000 (02:24 +0000)]
Make a warning about an unused function & variable go away on the stand alone AEL build.

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

14 years agoMake doxygen work with the new location of files that now reside in main
Joshua Colp [Tue, 22 Aug 2006 02:15:34 +0000 (02:15 +0000)]
Make doxygen work with the new location of files that now reside in main

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

14 years agoSorry, but this does not resemble malloc... so GCC was ignoring the attribute and...
Joshua Colp [Tue, 22 Aug 2006 01:57:40 +0000 (01:57 +0000)]
Sorry, but this does not resemble malloc... so GCC was ignoring the attribute and throwing a warning.

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

14 years agoFix up the props a bit
Joshua Colp [Tue, 22 Aug 2006 01:01:39 +0000 (01:01 +0000)]
Fix up the props a bit

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

14 years agoMerged revisions 40798 via svnmerge from
Matt O'Gorman [Mon, 21 Aug 2006 22:36:15 +0000 (22:36 +0000)]
Merged revisions 40798 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r40798 | mogorman | 2006-08-21 17:34:26 -0500 (Mon, 21 Aug 2006) | 4 lines

Move the load_modules call so that if a module needs
realtime support it will work, none do currently but a good
move none the less.

........

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

14 years agorestore 'preload' functionality in loader
Kevin P. Fleming [Mon, 21 Aug 2006 22:23:26 +0000 (22:23 +0000)]
restore 'preload' functionality in loader

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

14 years agooops... missed one
Kevin P. Fleming [Mon, 21 Aug 2006 20:19:47 +0000 (20:19 +0000)]
oops... missed one

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

14 years agoanother variable to clear out before configuring mxml
Kevin P. Fleming [Mon, 21 Aug 2006 20:18:36 +0000 (20:18 +0000)]
another variable to clear out before configuring mxml

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

14 years agouse a customized configure macro to tell the script that uCLinux does not have fork...
Kevin P. Fleming [Mon, 21 Aug 2006 20:12:18 +0000 (20:12 +0000)]
use a customized configure macro to tell the script that uCLinux does not have fork() that works
drop all startup options and code related to forking if it is not available

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

14 years agodon't initialize global variables list twice
Kevin P. Fleming [Mon, 21 Aug 2006 20:04:59 +0000 (20:04 +0000)]
don't initialize global variables list twice

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

14 years agouse new configure-provided wrappers for attributes
Kevin P. Fleming [Mon, 21 Aug 2006 19:56:45 +0000 (19:56 +0000)]
use new configure-provided wrappers for attributes

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