]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
19 years agospelling typo
Matt O'Gorman [Mon, 30 Oct 2006 22:25:43 +0000 (22:25 +0000)] 
spelling typo

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

19 years agoformatting fix.
Matt O'Gorman [Mon, 30 Oct 2006 22:22:34 +0000 (22:22 +0000)] 
formatting fix.

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

19 years agowhen unregistering a translator, don't rebuild the translation matrix unless needed
Kevin P. Fleming [Mon, 30 Oct 2006 22:19:55 +0000 (22:19 +0000)] 
when unregistering a translator, don't rebuild the translation matrix unless needed
when filtering formats out of an offer, ensure we check for translation ability in both directions

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

19 years agoensure that items removed from a list are always unlinked from the list (next pointer...
Kevin P. Fleming [Mon, 30 Oct 2006 21:46:07 +0000 (21:46 +0000)] 
ensure that items removed from a list are always unlinked from the list (next pointer set to NULL)

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

19 years agoDon't explicitly link in crypt as it is not used on some platforms.
Joshua Colp [Mon, 30 Oct 2006 21:09:13 +0000 (21:09 +0000)] 
Don't explicitly link in crypt as it is not used on some platforms.

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

19 years agoWe need to lock the pvt structure during retransmission as another worker thread...
Joshua Colp [Mon, 30 Oct 2006 18:13:07 +0000 (18:13 +0000)] 
We need to lock the pvt structure during retransmission as another worker thread may be doing something as well.

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

19 years agoIssue #8246 - Doxygen fixes from kshumard.
Olle Johansson [Mon, 30 Oct 2006 16:27:34 +0000 (16:27 +0000)] 
Issue #8246 - Doxygen fixes from kshumard.

An extra big thankyou is given to everyone that contributes to doxygen!

THANK YOU!

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

19 years agoBind RTCP to the same IP as RTP
Olle Johansson [Mon, 30 Oct 2006 16:09:05 +0000 (16:09 +0000)] 
Bind RTCP to the same IP as RTP

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

19 years agoIssue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
Olle Johansson [Sun, 29 Oct 2006 19:31:58 +0000 (19:31 +0000)] 
Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)

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

19 years agoIssue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)
Olle Johansson [Sun, 29 Oct 2006 19:12:18 +0000 (19:12 +0000)] 
Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)

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

19 years agoBackport of patch for #7828 that was reported for trunk, but obviously
Olle Johansson [Sun, 29 Oct 2006 17:16:38 +0000 (17:16 +0000)] 
Backport of patch for #7828 that was reported for trunk, but obviously
exists in 1.4 too.

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

19 years agoRestoring the old logic, since working around it and fixing it seemed too complicated.
Olle Johansson [Sun, 29 Oct 2006 08:45:05 +0000 (08:45 +0000)] 
Restoring the old logic, since working around it and fixing it seemed too complicated.

- The SIP_OUTGOING flag indicates the direction of the last transaction in the dialog.
- The initreq stores the last request in the dialog, the request that opened the
  latest transaction.

Please now retry all the 1.4 bug reports with mixed to/from headers, tags etc
in ACK, BYE, CANCEL. Thanks!

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

19 years agoAccepting a message twice may be misinterpreted...
Olle Johansson [Sat, 28 Oct 2006 20:25:18 +0000 (20:25 +0000)] 
Accepting a message twice may be misinterpreted...

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

19 years ago- 183 is not reliable message...
Olle Johansson [Sat, 28 Oct 2006 19:08:58 +0000 (19:08 +0000)] 
- 183 is not reliable message...
- Error should not have SDP

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

19 years agoDon't build muted on OpenBSD, it is not supported.
Joshua Colp [Sat, 28 Oct 2006 16:37:44 +0000 (16:37 +0000)] 
Don't build muted on OpenBSD, it is not supported.

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

19 years agomove the copy of the default settings to the global settings back out of
Russell Bryant [Fri, 27 Oct 2006 19:03:32 +0000 (19:03 +0000)] 
move the copy of the default settings to the global settings back out of
process_zap, so that they aren't overwritten when process_zap is called
multiple times

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

19 years agoPut some doxygen pressure on Christian :-)
Olle Johansson [Fri, 27 Oct 2006 18:29:21 +0000 (18:29 +0000)] 
Put some doxygen pressure on Christian :-)

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

19 years agoWe should always be using _exit() after a fork() or vfork() instead of exit().
Russell Bryant [Fri, 27 Oct 2006 17:39:31 +0000 (17:39 +0000)] 
We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes.  (issue #7971, Nick Gavrikov)

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

19 years agoBlocked revisions 46361 via svnmerge
Russell Bryant [Fri, 27 Oct 2006 17:37:20 +0000 (17:37 +0000)] 
Blocked revisions 46361 via svnmerge

........
r46361 | russell | 2006-10-27 12:36:07 -0500 (Fri, 27 Oct 2006) | 5 lines

We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes.  (issue #7971, Nick Gavrikov)

........

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

19 years agoInstead of iterating all of the options once to look for jitterbuffer options,
Russell Bryant [Fri, 27 Oct 2006 15:32:40 +0000 (15:32 +0000)] 
Instead of iterating all of the options once to look for jitterbuffer options,
and then again for everything else, move the processing of jitterbuffer
options into the main loop so that there are no erroneous messages about
ignoring unknown options.  (issue #8226)

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

19 years agoMerged revisions 46350 via svnmerge from
Christian Richter [Fri, 27 Oct 2006 10:03:23 +0000 (10:03 +0000)] 
Merged revisions 46350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46350 | crichter | 2006-10-27 11:24:01 +0200 (Fr, 27 Okt 2006) | 1 line

fixed a bug which caused chan_misdn to try to allocate 2 times the same channel on high load, which then caused instability of mISDN. removed a useless function from isdn_lib.c
........

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

19 years agofixed not compile issue, which was just introduced
Christian Richter [Fri, 27 Oct 2006 09:58:44 +0000 (09:58 +0000)] 
fixed not compile issue, which was just introduced

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

19 years agoMerged revisions 46176 via svnmerge from
Christian Richter [Fri, 27 Oct 2006 09:49:20 +0000 (09:49 +0000)] 
Merged revisions 46176 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46176 | crichter | 2006-10-25 10:41:59 +0200 (Mi, 25 Okt 2006) | 1 line

added nttimeout option to configure wether we disconnect calls on NT timeouts or not during an overlapdial session
........

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

19 years agoFix small formatting issue, that causes misaligned line
Jason Parker [Thu, 26 Oct 2006 20:25:44 +0000 (20:25 +0000)] 
Fix small formatting issue, that causes misaligned line

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

19 years agoBlock patch that only applies to 1.2
Olle Johansson [Thu, 26 Oct 2006 20:12:07 +0000 (20:12 +0000)] 
Block patch that only applies to 1.2

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

19 years agoMerged revisions 46337 via svnmerge from
Jason Parker [Thu, 26 Oct 2006 17:57:56 +0000 (17:57 +0000)] 
Merged revisions 46337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46337 | qwell | 2006-10-26 12:47:52 -0500 (Thu, 26 Oct 2006) | 2 lines

oops - somebody forgot to change this - long ago, probably.

........

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

19 years agogrammar check
Jason Parker [Thu, 26 Oct 2006 17:38:05 +0000 (17:38 +0000)] 
grammar check

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

19 years agoCorrections to changes
Olle Johansson [Thu, 26 Oct 2006 16:38:56 +0000 (16:38 +0000)] 
Corrections to changes
(Multiparking is not included)

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

19 years ago- If the source has no audio or no video portion, do not call powerof() to
Russell Bryant [Thu, 26 Oct 2006 16:31:05 +0000 (16:31 +0000)] 
- If the source has no audio or no video portion, do not call powerof() to
  get the format index.
- Don't run through the audio and video loops if there is no audio or video
  portion of the source
If 0 is passed to powerof, it will return -1.  This value of -1 was then being
used as an array index in these loops, which caused a crash on some systems.
Other than this issue, this code works as we expected it to.  If a format is
not in the source, and we have to translation path to it, it is not offered in
the list of acceptable destination formats.
(fixes issue #8231)

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

19 years agoupdate to reflect G.722 addition
Kevin P. Fleming [Thu, 26 Oct 2006 12:15:58 +0000 (12:15 +0000)] 
update to reflect G.722 addition

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

19 years agoupdate backtrace documentation to reflect changes in 1.4 (issue #8230, kshumard)
Russell Bryant [Thu, 26 Oct 2006 04:18:00 +0000 (04:18 +0000)] 
update backtrace documentation to reflect changes in 1.4 (issue #8230, kshumard)

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

19 years agoFix config comment code preservation code (thanks murf!)
Mark Spencer [Thu, 26 Oct 2006 01:37:40 +0000 (01:37 +0000)] 
Fix config comment code preservation code (thanks murf!)

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

19 years agoOld todo note - Don't add Contact header on BYE and Cancel
Olle Johansson [Wed, 25 Oct 2006 20:14:57 +0000 (20:14 +0000)] 
Old todo note - Don't add Contact header on BYE and Cancel

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

19 years agoregenerate configure script
Russell Bryant [Wed, 25 Oct 2006 19:24:11 +0000 (19:24 +0000)] 
regenerate configure script

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

19 years agofix error output when checking for openh323 to refer to openh323 instead
Russell Bryant [Wed, 25 Oct 2006 19:20:23 +0000 (19:20 +0000)] 
fix error output when checking for openh323 to refer to openh323 instead
of pwlib (issue #8222, misaksen)

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

19 years agoSomewhat ugly code to try to fix issue #7608.
Olle Johansson [Wed, 25 Oct 2006 19:16:10 +0000 (19:16 +0000)] 
Somewhat ugly code to try to fix issue #7608.
Since the problem was not very well defined, the fix is a bit fuzzy too...
Thanks to Luigi for accidentally spotting the possible problem!

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

19 years agoupdate warning message to include "agi" option (issue #8225, jmls)
Russell Bryant [Wed, 25 Oct 2006 19:08:18 +0000 (19:08 +0000)] 
update warning message to include "agi" option (issue #8225, jmls)

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

19 years agouse 1.4.3 extra sounds with corrected silence files
Kevin P. Fleming [Wed, 25 Oct 2006 18:13:54 +0000 (18:13 +0000)] 
use 1.4.3 extra sounds with corrected silence files

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

19 years agoadd support for prebuilt G.722 prompts and music on hold files
Kevin P. Fleming [Wed, 25 Oct 2006 17:08:58 +0000 (17:08 +0000)] 
add support for prebuilt G.722 prompts and music on hold files

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

19 years agoshow settings doesn't produce a list
Olle Johansson [Wed, 25 Oct 2006 15:56:08 +0000 (15:56 +0000)] 
show settings doesn't produce a list
of similar objects, it should stay a "show"

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

19 years agoBlock change to 1.2 that was already committed to 1.4
Olle Johansson [Wed, 25 Oct 2006 15:52:29 +0000 (15:52 +0000)] 
Block change to 1.2 that was already committed to 1.4

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

19 years agoapparently developers are still not aware that they should be use ast_copy_string...
Kevin P. Fleming [Wed, 25 Oct 2006 14:32:08 +0000 (14:32 +0000)] 
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process

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

19 years agoWaitExten truncates decimals of times to wait, instead of accepting them (Bug 8208)
Tilghman Lesher [Wed, 25 Oct 2006 04:58:44 +0000 (04:58 +0000)] 
WaitExten truncates decimals of times to wait, instead of accepting them (Bug 8208)

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

19 years agoadd passthrough and file format support for G.722 16KHz audio (issue #5084, original...
Kevin P. Fleming [Wed, 25 Oct 2006 00:26:17 +0000 (00:26 +0000)] 
add passthrough and file format support for G.722 16KHz audio (issue #5084, original patch by andrew, updated by mithraen)

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

19 years agocode zone experiment: don't offer formats in the outbound INVITE that aren't either...
Kevin P. Fleming [Wed, 25 Oct 2006 00:10:54 +0000 (00:10 +0000)] 
code zone experiment: don't offer formats in the outbound INVITE that aren't either passthrough or translatable

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

19 years agoif multiple translators are registered for the same source/dest combination, ensure...
Kevin P. Fleming [Tue, 24 Oct 2006 23:45:19 +0000 (23:45 +0000)] 
if multiple translators are registered for the same source/dest combination, ensure that the lowest-cost one is always inserted earlier in the list

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

19 years agoFix FastAGI when there is no pid (bug #7628, #8147)
Mark Spencer [Tue, 24 Oct 2006 20:30:25 +0000 (20:30 +0000)] 
Fix FastAGI when there is no pid (bug #7628, #8147)

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

19 years agoWe need to initialize our scheduler pthread condition... yes.
Joshua Colp [Tue, 24 Oct 2006 19:29:56 +0000 (19:29 +0000)] 
We need to initialize our scheduler pthread condition... yes.

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

19 years agomerge 45152 don't leak descriptors in http.c
Luigi Rizzo [Tue, 24 Oct 2006 08:34:23 +0000 (08:34 +0000)] 
merge 45152   don't leak descriptors in http.c

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

19 years agomerge 45966 refer_to_domain potentially containing options
Luigi Rizzo [Tue, 24 Oct 2006 08:32:15 +0000 (08:32 +0000)] 
merge 45966   refer_to_domain potentially containing options

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

19 years agomerge 46026 improper checks on get_header() return values
Luigi Rizzo [Tue, 24 Oct 2006 08:30:26 +0000 (08:30 +0000)] 
merge 46026   improper checks on get_header() return values

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

19 years agomerge 46045 prevent NULL args to ast_strdupa() in chan_sip.c
Luigi Rizzo [Tue, 24 Oct 2006 07:14:17 +0000 (07:14 +0000)] 
merge 46045   prevent NULL args to ast_strdupa() in chan_sip.c

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

19 years agoRestore the ability to remove the firmware directory without causing the
Russell Bryant [Tue, 24 Oct 2006 05:23:33 +0000 (05:23 +0000)] 
Restore the ability to remove the firmware directory without causing the
installation to fail (issue #8111)

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

19 years agoensure that the translation matrix is properly lock-protected every place it is used
Kevin P. Fleming [Tue, 24 Oct 2006 03:53:32 +0000 (03:53 +0000)] 
ensure that the translation matrix is properly lock-protected every place it is used

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

19 years agoadd an API call to allow channel drivers to determine which media formats are compati...
Kevin P. Fleming [Tue, 24 Oct 2006 03:45:42 +0000 (03:45 +0000)] 
add an API call to allow channel drivers to determine which media formats are compatible (passthrough or transcode) with the format an existing channel is already using

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

19 years agosimplify and correct voicemail IMAP storage build instructions
Kevin P. Fleming [Tue, 24 Oct 2006 03:13:08 +0000 (03:13 +0000)] 
simplify and correct voicemail IMAP storage build instructions

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

19 years agoPass through a frame if we don't know what it is, rather than trying to pass a
Tilghman Lesher [Tue, 24 Oct 2006 03:01:00 +0000 (03:01 +0000)] 
Pass through a frame if we don't know what it is, rather than trying to pass a
NULL, which will segfault a channel driver (Bug 8149)

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

19 years agoIn muted.c, check the return value of strdup. In ael_main.c, check the return
Russell Bryant [Tue, 24 Oct 2006 01:27:42 +0000 (01:27 +0000)] 
In muted.c, check the return value of strdup.  In ael_main.c, check the return
value of calloc.  (issue #8157)

In passing fix a few minor bugs in ael_main.c.  The last argument to strncpy()
was a hard-coded 100, where it should have been 99.  I changed this to use
sizeof() - 1.

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

19 years agoFix the descriptions of some of the MeetMeAdmin options (issue #8098, mflorell)
Russell Bryant [Tue, 24 Oct 2006 01:04:14 +0000 (01:04 +0000)] 
Fix the descriptions of some of the MeetMeAdmin options (issue #8098, mflorell)

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

19 years agodon't crash when an incoming message has no "from" (issue #8205, jmls)
Russell Bryant [Mon, 23 Oct 2006 17:07:45 +0000 (17:07 +0000)] 
don't crash when an incoming message has no "from" (issue #8205, jmls)

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

19 years agoMerged revisions 45927 via svnmerge from
Joshua Colp [Mon, 23 Oct 2006 00:27:39 +0000 (00:27 +0000)] 
Merged revisions 45927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45927 | file | 2006-10-22 20:25:28 -0400 (Sun, 22 Oct 2006) | 2 lines

Don't leak memory mmmk?

........

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

19 years agoMerged revisions 45808 via svnmerge from
Christian Richter [Sun, 22 Oct 2006 21:44:46 +0000 (21:44 +0000)] 
Merged revisions 45808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45808 | crichter | 2006-10-21 14:35:13 +0200 (Sat, 21 Oct 2006) | 1 line

fixed issue, that if chan_misdn is loaded and couldn't be initialized it would cause a segfault after 'reload'. Reported by Drew/Matt thx.
........

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

19 years agoAdd a couple missing unregistrations of manager actions and remove duplicate
Russell Bryant [Sat, 21 Oct 2006 18:49:46 +0000 (18:49 +0000)] 
Add a couple missing unregistrations of manager actions and remove duplicate
unregistrations of applications.  (issue #8194, jmls)

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

19 years agoDon't use promotion on Darwin because it doesn't seem to work quite right in all...
Joshua Colp [Sat, 21 Oct 2006 18:48:58 +0000 (18:48 +0000)] 
Don't use promotion on Darwin because it doesn't seem to work quite right in all cases, this should solve the unresolved symbol issue people have been seeing.

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

19 years agoPass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper locatio...
Joshua Colp [Fri, 20 Oct 2006 19:03:03 +0000 (19:03 +0000)] 
Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list)

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

19 years agoLet's understand SIP:
Olle Johansson [Fri, 20 Oct 2006 07:44:42 +0000 (07:44 +0000)] 
Let's understand SIP:
- REFER can create dialog, Asterisk does not support it yet
- NOTIFY can create dialog in Asterisk's implementation (voicemail) even though
  we don't support the server side of it. In this case, the standard is a side issue ;-)
- Added extened functionality for unsupported methods (PING, PUBLISH) so we don't
  create PVT's for those either.

Russellb needs to judge what to do with this in 1.2, but I think the current implementation
n 1.2 is a bug since we're sending bad replies to NOTIFY and REFER outside of dialogs

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

19 years agoLet's remember to unregister JabberStatus too (issue #8184 reported by jmls)
Joshua Colp [Thu, 19 Oct 2006 17:24:40 +0000 (17:24 +0000)] 
Let's remember to unregister JabberStatus too (issue #8184 reported by jmls)

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

19 years agoMerged revisions 45691 via svnmerge from
Joshua Colp [Thu, 19 Oct 2006 17:19:47 +0000 (17:19 +0000)] 
Merged revisions 45691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45691 | file | 2006-10-19 13:16:37 -0400 (Thu, 19 Oct 2006) | 2 lines

Respect language selection when seeing if the file exists (issue #8178 reported by mnicholson)

........

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

19 years agoIf the jitterbuffer is forced on then we can't partially bridge (reported by wangster...
Joshua Colp [Thu, 19 Oct 2006 16:03:09 +0000 (16:03 +0000)] 
If the jitterbuffer is forced on then we can't partially bridge (reported by wangster on #asterisk-dev)

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

19 years agoCleaning up
Olle Johansson [Thu, 19 Oct 2006 07:09:37 +0000 (07:09 +0000)] 
Cleaning up

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

19 years agoDon't leak the actual thread-specific sip_pvt struct
Russell Bryant [Thu, 19 Oct 2006 00:59:51 +0000 (00:59 +0000)] 
Don't leak the actual thread-specific sip_pvt struct

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

19 years agodon't leak memory when a chan_sip thread is destroyed that has a thread-local temp_pv...
Kevin P. Fleming [Wed, 18 Oct 2006 23:49:39 +0000 (23:49 +0000)] 
don't leak memory when a chan_sip thread is destroyed that has a thread-local temp_pvt allocated

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

19 years agoDon't modify things if we are using vfork as this is very bad and may cause unexpecte...
Joshua Colp [Wed, 18 Oct 2006 21:03:34 +0000 (21:03 +0000)] 
Don't modify things if we are using vfork as this is very bad and may cause unexpected behavior (issue #7970 reported by Nick Gavrikov)

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

19 years agoremove duplicate declarations
Olle Johansson [Wed, 18 Oct 2006 11:54:33 +0000 (11:54 +0000)] 
remove duplicate declarations

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

19 years agomerge from trunk: move ast_variables_destroy() to a better
Luigi Rizzo [Wed, 18 Oct 2006 04:09:50 +0000 (04:09 +0000)] 
merge from trunk: move ast_variables_destroy() to a better
place in handle_uri() to avoid leaking memory on non existing files.

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

19 years agoDon't segfault if you're using a channel driver that doesn't turn RTCP on
Joshua Colp [Wed, 18 Oct 2006 03:02:08 +0000 (03:02 +0000)] 
Don't segfault if you're using a channel driver that doesn't turn RTCP on

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

19 years agoDon't attempt to access private data members of the pthread_mutex_t object,
Russell Bryant [Wed, 18 Oct 2006 02:41:36 +0000 (02:41 +0000)] 
Don't attempt to access private data members of the pthread_mutex_t object,
because this does not work on all linux systems.  Instead, just access
the reentrancy field in the ast_mutex_info struct when DEBUG_THREADS is
enabled.  If DEBUG_CHANNEL_LOCKS is enabled, the developer probably has
DEBUG_THREADS on as well.
(issue #8139, me)

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

19 years agoupdate entry to reboot a snom phone (issue #7850, pnlarsson)
Russell Bryant [Wed, 18 Oct 2006 02:19:07 +0000 (02:19 +0000)] 
update entry to reboot a snom phone (issue #7850, pnlarsson)

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

19 years agoadd a project-specific script to be used during release preparation
Kevin P. Fleming [Tue, 17 Oct 2006 22:31:54 +0000 (22:31 +0000)] 
add a project-specific script to be used during release preparation

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

19 years agooptimize the 'quick response' code a bit more... no more malloc() or memset() for...
Kevin P. Fleming [Tue, 17 Oct 2006 22:24:10 +0000 (22:24 +0000)] 
optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
expand stringfields API a bit to allow reusing the stringfield pool on a structure when needed, and remove some unnecessary code when the structure was being freed

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

19 years agoBlocked revisions 45380 via svnmerge
Joshua Colp [Tue, 17 Oct 2006 20:38:15 +0000 (20:38 +0000)] 
Blocked revisions 45380 via svnmerge

........
r45380 | file | 2006-10-17 16:37:17 -0400 (Tue, 17 Oct 2006) | 2 lines

Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.

........

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

19 years agoDon't create a "real" pvt structure for requests that shouldn't be able to create...
Joshua Colp [Tue, 17 Oct 2006 20:30:34 +0000 (20:30 +0000)] 
Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.

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

19 years agoAdding information about Marks direct-RTP hack to the docs...
Olle Johansson [Tue, 17 Oct 2006 17:39:18 +0000 (17:39 +0000)] 
Adding information about Marks direct-RTP hack to the docs...

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

19 years agoMerged revisions 45326 via svnmerge from
Kevin P. Fleming [Tue, 17 Oct 2006 17:22:25 +0000 (17:22 +0000)] 
Merged revisions 45326 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45326 | kpfleming | 2006-10-17 12:22:01 -0500 (Tue, 17 Oct 2006) | 2 lines

provide licensing language for IAXy firmware file

........

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

19 years agoNow, remove all traces of the option that we did not need :-)
Olle Johansson [Tue, 17 Oct 2006 16:23:27 +0000 (16:23 +0000)] 
Now, remove all traces of the option that we did not need :-)

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

19 years agoremove the option that was not needed, really.
Olle Johansson [Tue, 17 Oct 2006 16:22:41 +0000 (16:22 +0000)] 
remove the option that was not needed, really.

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

19 years agoMerged revisions 45265 via svnmerge from
Joshua Colp [Mon, 16 Oct 2006 20:06:18 +0000 (20:06 +0000)] 
Merged revisions 45265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45265 | file | 2006-10-16 15:59:54 -0400 (Mon, 16 Oct 2006) | 2 lines

Use responses rather then replies even though they mean the same thing.

........

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

19 years agoMerged revisions 45260 via svnmerge from
Joshua Colp [Mon, 16 Oct 2006 19:37:34 +0000 (19:37 +0000)] 
Merged revisions 45260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45260 | file | 2006-10-16 15:28:18 -0400 (Mon, 16 Oct 2006) | 2 lines

Add 'ignoreoodreplies' option which will not create a pvt structure on a SIP response but instead basically drop it.

........

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

19 years agoBackport of new directed pickup (BE-85).
Joshua Colp [Mon, 16 Oct 2006 17:24:35 +0000 (17:24 +0000)] 
Backport of new directed pickup (BE-85).

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

19 years agoAdding Inotel to credits for SIP transfers. Thanks for your support!
Olle Johansson [Mon, 16 Oct 2006 13:59:51 +0000 (13:59 +0000)] 
Adding Inotel to credits for SIP transfers. Thanks for your support!

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

19 years agoDon't destroy dialog for unexpected REFER response...
Olle Johansson [Mon, 16 Oct 2006 13:00:07 +0000 (13:00 +0000)] 
Don't destroy dialog for unexpected REFER response...

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

19 years agoupdate the doc string for both AEL and extensions.conf users.
Steve Murphy [Sat, 14 Oct 2006 04:38:15 +0000 (04:38 +0000)] 
update the doc string for both AEL and extensions.conf users.

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

19 years ago------------------------------------------------------------------------
Kevin P. Fleming [Fri, 13 Oct 2006 23:02:48 +0000 (23:02 +0000)] 
------------------------------------------------------------------------
r45119 | kpfleming | 2006-10-13 17:57:42 -0500 (Fri, 13 Oct 2006) | 2 lines

don't drop the entire permit/deny list when an attempt is made to add an invalid entry (BE-92)

------------------------------------------------------------------------

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

19 years agoClear the quiet flag too since we are restarting a recognition again (reported on...
Joshua Colp [Fri, 13 Oct 2006 21:06:09 +0000 (21:06 +0000)] 
Clear the quiet flag too since we are restarting a recognition again (reported on -dev by Stephan Edelman)

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

19 years agoCheck return value from engine in case of failure (ie: out of licenses) (reported...
Joshua Colp [Fri, 13 Oct 2006 21:01:13 +0000 (21:01 +0000)] 
Check return value from engine in case of failure (ie: out of licenses) (reported on -dev mailing list)

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

19 years agoBug 8128 fixed in this release via these changes
Steve Murphy [Fri, 13 Oct 2006 20:52:17 +0000 (20:52 +0000)] 
Bug 8128 fixed in this release via these changes

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

19 years agoavoiding warning, fixing potential bug
Christian Richter [Fri, 13 Oct 2006 19:19:46 +0000 (19:19 +0000)] 
avoiding warning, fixing potential bug

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

19 years agoAnd file said... let the compiler warnings STOP!
Joshua Colp [Fri, 13 Oct 2006 18:42:49 +0000 (18:42 +0000)] 
And file said... let the compiler warnings STOP!

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

19 years agoMerged revisions 45060 via svnmerge from
Joshua Colp [Fri, 13 Oct 2006 17:05:02 +0000 (17:05 +0000)] 
Merged revisions 45060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45060 | file | 2006-10-13 13:01:22 -0400 (Fri, 13 Oct 2006) | 2 lines

Turn on volume adjustment if it needs to be on (issue #8136 reported by mnicholson)

........

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

19 years agoMove say.conf existence check to do_say function since it is called from multiple...
Joshua Colp [Fri, 13 Oct 2006 16:20:58 +0000 (16:20 +0000)] 
Move say.conf existence check to do_say function since it is called from multiple places (issue #8144 reported by kshumard)

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