Luigi Rizzo
c01fc0ee03
the comment character is ';' not '#' ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 20:09:10 +00:00
Olle Johansson
16728da6a7
Whitespace fix forgotten by someone who added a note about needing to fix this...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 20:08:14 +00:00
Russell Bryant
aa029f44f0
convert calloc and malloc+memset to ast_calloc and remove duplicate error messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 19:54:41 +00:00
Tilghman Lesher
a532c787f2
Merged revisions 16192 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16192 | tilghman | 2006-03-29 13:11:18 -0600 (Wed, 29 Mar 2006) | 2 lines
Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 19:30:57 +00:00
Olle Johansson
13bcb6ed7d
Update to code documentation and developer guidelines.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 17:09:33 +00:00
Luigi Rizzo
b5c5446ec4
another batch of cli simplifications.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 16:51:51 +00:00
Luigi Rizzo
8f5bf61ef8
mention issues with the protection of the list used in indications.c
...
(part of work done to figure out what is used and what is not in lock.h)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 16:00:51 +00:00
Christian Richter
acacae4e68
fixed no dtmf detect on 64 bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 14:26:43 +00:00
Tilghman Lesher
0f48e2ba9e
Merged revisions 16082 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16082 | tilghman | 2006-03-29 08:10:23 -0600 (Wed, 29 Mar 2006) | 2 lines
Bug 6835 - Updates to GotoIf help text
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 14:24:30 +00:00
Mark Spencer
8b5670d8f1
Fix build of asterisk again (ahem, committers!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 05:12:24 +00:00
Olle Johansson
9e9db42562
Doxygen updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:42:07 +00:00
Olle Johansson
a6a0a8a287
- Formatting fixes
...
- Doxygen
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:34:55 +00:00
Russell Bryant
1caeee1c61
oops! :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:19:23 +00:00
Russell Bryant
d8b204563f
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:16:09 +00:00
Russell Bryant
9b436eecb7
fix the provided unsetenv for solaris to return an int like it's supposed to
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:14:12 +00:00
Russell Bryant
6601f4deba
conversion from malloc to ast_malloc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:09:31 +00:00
Luigi Rizzo
705ccb2218
Introduce an utility macro to set base, offset and
...
datalen of a frame, which is a very common operation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 02:14:38 +00:00
Luigi Rizzo
68ab41ebfe
Add two widely used constants
...
#define DEFAULT_SAMPLE_RATE 8000
#define DEFAULT_SAMPLES_PER_MS ((DEFAULT_SAMPLE_RATE)/1000)
to the main header, and remove equivalent ones from plc.[ch]
This will simplify the cleanup of the codec/ and formats/ files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 02:12:31 +00:00
North Antara
150e0b72cc
Added more "valid" phone types to skinny sample config.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 01:08:01 +00:00
Olle Johansson
b366c4062e
Issue #6823 - Registration and port numbers. (from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 01:01:09 +00:00
Kevin P. Fleming
c379ae8896
Merged revisions 15896 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r15896 | kpfleming | 2006-03-28 18:32:10 -0600 (Tue, 28 Mar 2006) | 2 lines
ensure that list traversal loops which skip entries properly update the 'previous entry' pointer so when entries _are_ removed the list does not get damaged
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 00:32:52 +00:00
Luigi Rizzo
c0f2f5b5b8
Normalize some cli completion code.
...
On passing, replace strdup with ast_strdup() and remove
the now useless checks for NULL since ast_strdup() can handle
it correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 00:30:29 +00:00
Olle Johansson
7058495f97
Doxygen fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:55:52 +00:00
Luigi Rizzo
f148a4df0f
more command completion normalization.
...
also change some explicit constant with sizeof()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:52:21 +00:00
Luigi Rizzo
e735f507b7
more command completion normalization
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:40:28 +00:00
Luigi Rizzo
096bf1511f
another batch of cli simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:33:02 +00:00
Luigi Rizzo
b94f6a6df4
normalize/simplify a bit of the command completion code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:20:13 +00:00
Luigi Rizzo
fb75d34e70
use ast_cli_complete() to largely simplify the command completion code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:06:46 +00:00
Luigi Rizzo
595775c6e6
black magic to make sure we recompile things after the changes to cli.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:59:34 +00:00
Kevin P. Fleming
bb87cd151b
make 'sip show subscriptions' include context for subscribed hints
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:47:02 +00:00
Luigi Rizzo
4ca73f8ae4
as reported in mantis #6066 , fix a bunch of cli bugs and
...
inconsistencies.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:44:55 +00:00
Luigi Rizzo
e5c455e15a
bring in the code that was discussed on Mantis #6068 ,
...
which is the basis for several simplifications and fixes
to the CLI interfaces.
The core is in cli.c, some documentation on a new function
to help command completion is in cli.h, and one line of
glue code in the other two files.
Next step is to bring in the patches described in #6066 and
other simplifications.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:25:08 +00:00
Kevin P. Fleming
e255a172f0
let's format that output sanely instead :-(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:14:50 +00:00
Kevin P. Fleming
4bf8e92c1d
make 'show hints' CLI command show context name for each hint
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:09:38 +00:00
Luigi Rizzo
e9b7424737
The condition to check the zaptel version was too strict.
...
If you are compiling with WITHOUT_ZAPTEL=1, you can also
work with older version of zaptel, and there is no reason
not to allow that.
This should help various people mentioning on the -dev
list that there were issues with newer zaptel versions
on FreeBSD, and so they had to use older version.
(This includes me, btw!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 21:24:48 +00:00
Luigi Rizzo
2326d0d499
Bring in the new loader code as described in mantis #4377
...
and updated to today's version.
The core of the patch is only two files, loader.c
and include/asterisk/module.h, with the other files
touched only to adapt non-standard usages of the
reference counts and localuser lists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 21:15:10 +00:00
Russell Bryant
f7debd1823
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 20:24:08 +00:00
Luigi Rizzo
f84e5cfd43
fix a bug introduced in 15187 that scrambled the flags and
...
among other things prevented proper handling of NAT.
Don't think it exist in 1.2 but be careful if 15187 is merged.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 20:22:25 +00:00
Russell Bryant
3de0204481
Merged revisions 15703 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r15703 | russell | 2006-03-28 14:47:03 -0500 (Tue, 28 Mar 2006) | 2 lines
fix Bus Error on sparc (issue #6354 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:49:30 +00:00
Russell Bryant
1ddae90e53
only display a debug message if iaxdebug is enabled as well (issue #6673 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:31:41 +00:00
Olle Johansson
147ae336d2
Fix NAT support breakage for peers with qualify=yes (imported from 1.2)
...
- Blame KLM, still jetlagged :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:09:51 +00:00
Kevin P. Fleming
f7c2eed26a
ensure that 'zap show channel' will indicate that the echo canceler has been disabled when CED has been detected on the channel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:00:21 +00:00
Russell Bryant
7298d3feb3
Merged revisions 15658 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r15658 | russell | 2006-03-28 13:09:05 -0500 (Tue, 28 Mar 2006) | 2 lines
fix the order in which for loops are expanded (issue #6810 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 18:13:53 +00:00
Russell Bryant
78f7235d04
store f->callno in a local var (issue #6818 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 18:00:05 +00:00
Kevin P. Fleming
584ab24577
oops :-(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 17:53:27 +00:00
Russell Bryant
dea8078eef
conversions to S_OR (issue #6817 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 17:52:50 +00:00
Tilghman Lesher
17938ac026
Merged revisions 15615 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r15615 | tilghman | 2006-03-28 11:48:18 -0600 (Tue, 28 Mar 2006) | 2 lines
Bug 6815 - Adding quotes to make bash happy
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 17:49:39 +00:00
Olle Johansson
5edae1cba0
Fix typo (thanks, North) and update docs for IP-tos settings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 17:18:02 +00:00
Luigi Rizzo
d0bc6c20a7
- remove an unnecessary cast and recomputation of (timeout - now);
...
- remove useless recomputations of strlen(word) in a loop, and
normalize the form of complete_peer_helper();
- move LOCAL_USER_ADD() to after the verification of arguments,
thus removing the need for one LOCAL_USER_REMOVE() call.
The three chunks of the patch are fully disjoint.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 15:19:32 +00:00
Luigi Rizzo
387d37469d
remove a few unneeded calls to strlen, and replace a while()
...
loop with the equivalent function strchr()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 14:30:31 +00:00