Commit Graph

11108 Commits

Author SHA1 Message Date
Kevin P. Fleming
34f55a9bf6 remove variables that are no longer used (--enable-dev-mode is good, developers should be using it)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-22 23:34:22 +00:00
Steve Murphy
cb3e449d9b The stuff in utils was compiling with -O6 even if DONT_OPTIMIZE is set in menuconfig. Added the include to fix that
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-22 14:40:53 +00:00
Joshua Colp
27911f2128 Add svg mimetype for pari.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 18:08:57 +00:00
Joshua Colp
5d7bf5eb71 Merged revisions 59086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2 lines

Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 18:04:58 +00:00
Joshua Colp
067876afbc Until we can do media level parsing for sendrecv/etc just use the first value found. This crept up when a phone was offered audio+video and returned an inactive video stream. chan_sip thought the phone said to put the person on hold but that was totally wrong. (issue #9319 reported by benbrown)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 03:25:48 +00:00
Tilghman Lesher
007ee1324d Fix defines for inline stack backtraces (only used by developers anyway)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 21:04:52 +00:00
Joshua Colp
bfeb3bcf18 Copy len variable as well, should fix remaining IAX2 DTMF issues.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 20:42:46 +00:00
Steve Murphy
1d90b0dec7 Ooops. Sorry, messed up app_stack. This should return it to its previous, untouched, state.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 17:48:17 +00:00
Steve Murphy
6e869d135c The fix for the AEL <<security hole>> (bug 9316) is here...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 17:43:02 +00:00
Christian Richter
30165b1bf2 Merged revisions 58849-58850,59062-59063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r58849 | crichter | 2007-03-13 12:58:16 +0100 (Di, 13 Mär 2007) | 1 line

added method standard_dec for dialing out on groups, to avoid conflicts, which caused issues with some ISDN providers
........
r58850 | crichter | 2007-03-13 13:58:32 +0100 (Di, 13 Mär 2007) | 1 line

fixed the crypt_keys stuff
........
r59062 | crichter | 2007-03-20 10:18:06 +0100 (Di, 20 Mär 2007) | 1 line

avoid sending a disconnect when we already received one.
........
r59063 | crichter | 2007-03-20 10:23:22 +0100 (Di, 20 Mär 2007) | 1 line

modified a loglevel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 13:16:06 +00:00
Tilghman Lesher
7246207bd8 Oops, this should have been a %d all along
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 22:29:56 +00:00
Joshua Colp
54a94c650b Fix typo in help for CDR function. (issue #9295 reported by ajohnson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 15:52:28 +00:00
Tilghman Lesher
fe446989eb Fix unescaped semicolon (reported via -dev list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 15:42:26 +00:00
Olle Johansson
156c178143 Issue #9313, Asterisk crash on SIP return code 0 (reported by qwerty1979) (ASA-2007-011)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-18 20:37:06 +00:00
BJ Weschke
2a609b930c Don't return a non-zero return code if the profile doesn't exist, to match what the documentation says it already does. (#9307 Reported by kkiely)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-18 16:36:44 +00:00
Joshua Colp
74ad0dbc66 Wait for the async thread to exit when hanging up all of the paged phones under all circumstances. (issue #9181 reported by PhilSmith)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 16:12:28 +00:00
Russell Bryant
31a7b4aceb fix a couple SLA documentation references
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:42:37 +00:00
Russell Bryant
1b8da31130 Making these documentation changes in the 1.4 branch upset various people, so
these chanes will only be done in the trunk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:41:00 +00:00
Russell Bryant
2fc431b373 Add the --pdf option to the usage of rubber in prep_tarball
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:12:40 +00:00
Russell Bryant
fed69df9cd Add configure script checking for GTK2 and some additional Makefile targets
to support gmenuselect


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:53:26 +00:00
Tilghman Lesher
b6bd80b7f2 Refashion dump command to match common syntax and update the resulting appdocs TeX file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:52:48 +00:00
Russell Bryant
045e66abda add a link to the rubber homepage
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:24:09 +00:00
Tilghman Lesher
6278d5c65b Expand deprecation warnings from simply warning on use to the builtin documentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:11:33 +00:00
Russell Bryant
36aed17ca1 Add Asterisk version information to the generated PDF
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:51:29 +00:00
Russell Bryant
2e68c41d61 have prep_tarball attempt to build asterisk.pdf
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:35:52 +00:00
Tilghman Lesher
1771f9621d Function works fine, but the documentation is backwards.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:32:33 +00:00
Russell Bryant
c474809cdf Merge changes from svn/asterisk/team/russell/LaTeX_docs.
* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:25:12 +00:00
Joshua Colp
6548086af0 Don't assume that the pvt structure will still exist after calling schedule_delivery as it may not. (issue #9278 reported by fmachado)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 18:13:21 +00:00
Russell Bryant
4fc7d081d3 Some people like to put "limitonpeer" instead of "limitonpeers" in their
configuration.  While we're at it, support "limitonpeerz" and 
"limitonpeerssssss".  (inspired by issue #9172)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 19:18:08 +00:00
Russell Bryant
53bc57b467 Add a more basic example setup to the examples section
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 17:04:38 +00:00
Russell Bryant
06f55b3120 Merged revisions 58896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r58896 | russell | 2007-03-14 11:38:48 -0500 (Wed, 14 Mar 2007) | 3 lines

Add a note to the security file that the Asterisk CLI and log files may contain
sensitive information, and that people should keep this in mind.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 16:40:22 +00:00
Russell Bryant
78d178173f By default, don't attempt to do any CallerID handling at all with SLA because
it is known to not work properly in some situations.  However, add an option to
enable it for those that would like to use it anyway.

The short story behind this is that to properly handle CallerID with SLA, we
need the ability to change the CallerID on an existing call, and we are not
ready to handle that.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 16:33:01 +00:00
Tilghman Lesher
2fd66654ac Issue 9162 - pbx_substitute_variables_helper assumes the buffer is initialized
to all zeroes.  This fixes a case where it wasn't.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 01:47:08 +00:00
Russell Bryant
b7f05aeaaa Ensure that the blinky lights show that the trunk stopped ringing when the
trunk hangs up before a station has answered it.
(issue #9234, reported by francesco_r)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 23:19:51 +00:00
Russell Bryant
d93c20ac9d fix the reference to the SLA documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 23:11:08 +00:00
Olle Johansson
0eda92609d Merged revisions 58847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r58847 | oej | 2007-03-13 12:45:52 +0100 (Tue, 13 Mar 2007) | 2 lines

Issue #9229 - No port in request URI on register to non default SIP ports (neelakantan)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 11:49:35 +00:00
Olle Johansson
f546453573 Don't hangup the call on OK or errors on MESSAGE and INFO
inside of a dialog (like video update requests).


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 10:03:03 +00:00
Olle Johansson
83bb6718fc Issue #9251 - Clear From URI from user attributes (tgrman)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 09:12:16 +00:00
Joshua Colp
8f379dc693 Blocked revisions 58832 via svnmerge
........
r58832 | file | 2007-03-12 12:49:49 -0400 (Mon, 12 Mar 2007) | 2 lines

We can't use the assembler version of fetchadd_int under Intel Macs. (issue #9254 reported by darrell budic)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 16:52:14 +00:00
Christian Richter
5923e48d7f Merged revisions 57034,57523,57753,58558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57034 | crichter | 2007-02-28 17:09:27 +0100 (Mi, 28 Feb 2007) | 1 line

fixed bugs.digium.com bugs: #9157 and bugs.beronet.com bugs: #302, #303, #304
........
r57523 | crichter | 2007-03-02 19:32:51 +0100 (Fr, 02 Mar 2007) | 1 line

fixed typo
........
r57753 | crichter | 2007-03-04 11:39:50 +0100 (So, 04 Mar 2007) | 1 line

fixed another place where the out_cause was hardcoded to 16
........
r58558 | crichter | 2007-03-09 15:43:58 +0100 (Fr, 09 Mar 2007) | 1 line

we can free channel 31 as well, since we can occupy it
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 13:08:06 +00:00
Christian Richter
160cfaf1c6 added UU transceiving and corect handling for rdnis
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 12:43:24 +00:00
Joshua Colp
dd1a0aa1dd Allow RFC2833 compensation to compensate for even stupider implementations by queueing up the end frame at the start, not the actual end. (issue #8963 reported by AndrewZ)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 01:21:12 +00:00
Joshua Colp
fa866efb5c Add matchexterniplocally setting which only substitutes your externip/externhost setting if it matches the localnet setting. I know of at least two people who need opposite settings, so I made it an option! (issue #8821 reported by kokoskarokoska)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 00:51:16 +00:00
Russell Bryant
8ae4e264d1 Fix a few more places in chan_iax2 where the ast_frame used for receiving a
frame was not properly initialized.
 - Interpolating a frame when the jitterbuffer is in use
 - decrypting a frame when IAX2 encryption is on
 - frames in an IAX2 trunk


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-10 18:11:11 +00:00
Russell Bryant
442c9f222f Make the compiler happy and initialize a variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-10 03:58:27 +00:00
Russell Bryant
e836ed5ea3 Merge some updates to the SLA documentation. I plan to keep working on this
to explain all of the expected behavior with call handling, configuration
details for specific phones, and other things.  However, I got tired of doing
it in plain text, so I switched to using LaTeX.  I have included the PDF version.
I haven't been able to get a nice looking plain text version out of it yet, but
I'm not terribly concerned since this is supposed to be more of the manual,
while the plain text sample configuration file is the reference.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-09 23:59:10 +00:00
Joshua Colp
76f8e0c489 Fix spelling of unavailable in voicemail documentation. (issue #9248 reported by tensai)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-09 21:08:19 +00:00
Joshua Colp
b9124234e9 Merged revisions 58579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r58579 | file | 2007-03-09 15:46:43 -0500 (Fri, 09 Mar 2007) | 2 lines

If we are unable to lookup the host in a c line we have to abort, otherwise the previous data is gone and we will (potentially) have no data when all is said and done.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-09 20:49:47 +00:00
Russell Bryant
90aa4ab658 Hang up the channel that put the call on hold in the event processing thread to
avoid a race condition.  Also, if the station originated the call that it is
putting on hold, don't hang up the trunk if it was the only station on the call
and it is hanging up due to hold and not a normal hangup.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 22:15:15 +00:00
Russell Bryant
2f54661cf8 Add a missing break statement so that handling the above event does not
incorrectly destroy the channel. (issue #9242, andrew)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 22:06:54 +00:00