asterisk/asterisk.git
17 years agoIssue #6848 - Accept MWI subscriptions with no Accept: header
Olle Johansson [Mon, 3 Apr 2006 10:50:56 +0000 (10:50 +0000)]
Issue #6848 - Accept MWI subscriptions with no Accept: header

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

17 years agoInclude new README files in index
Olle Johansson [Mon, 3 Apr 2006 07:44:29 +0000 (07:44 +0000)]
Include new README files in index

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

17 years agoBug 6861 - Routine should use the specified writetimeout, rather than the default
Tilghman Lesher [Mon, 3 Apr 2006 07:34:40 +0000 (07:34 +0000)]
Bug 6861 - Routine should use the specified writetimeout, rather than the default

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

17 years agoBug 6862 - No need to initialize memory to zero twice
Tilghman Lesher [Mon, 3 Apr 2006 07:30:07 +0000 (07:30 +0000)]
Bug 6862 - No need to initialize memory to zero twice

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

17 years agoMinor demo cleanups
Mark Spencer [Mon, 3 Apr 2006 01:48:59 +0000 (01:48 +0000)]
Minor demo cleanups

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

17 years agoCleanup URI (when none is specified) and make sure threads are stand alone
Mark Spencer [Sun, 2 Apr 2006 23:55:15 +0000 (23:55 +0000)]
Cleanup URI (when none is specified) and make sure threads are stand alone

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

17 years agoMinor cleanup in wakeup logic
Mark Spencer [Sun, 2 Apr 2006 20:11:55 +0000 (20:11 +0000)]
Minor cleanup in wakeup logic

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

17 years agoUnify manager behind a single event queue
Mark Spencer [Sun, 2 Apr 2006 19:59:55 +0000 (19:59 +0000)]
Unify manager behind a single event queue

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

17 years agoProperly handle empty prefix
Mark Spencer [Sun, 2 Apr 2006 09:10:43 +0000 (09:10 +0000)]
Properly handle empty prefix

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

17 years agoReduce debugging messages from WARNING to DEBUG
Tilghman Lesher [Sun, 2 Apr 2006 06:27:54 +0000 (06:27 +0000)]
Reduce debugging messages from WARNING to DEBUG

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

17 years agoFix formatting of the frog code
Tilghman Lesher [Sun, 2 Apr 2006 06:17:47 +0000 (06:17 +0000)]
Fix formatting of the frog code

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

17 years agoMake excessive debug optional
Mark Spencer [Sat, 1 Apr 2006 20:39:33 +0000 (20:39 +0000)]
Make excessive debug optional

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

17 years agofix style and printf format errors in the frog command.
Luigi Rizzo [Sat, 1 Apr 2006 18:18:20 +0000 (18:18 +0000)]
fix style and printf format errors in the frog command.
(it's april first i guess...)

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

17 years agoRemoved "frog" command (so it could be moved to cli.c)
Jim Dixon [Sat, 1 Apr 2006 12:56:50 +0000 (12:56 +0000)]
Removed "frog" command (so it could be moved to cli.c)

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

17 years agoAdded "frog" CLI command, which performs frog-in-a-blender calculations.
Jim Dixon [Sat, 1 Apr 2006 12:54:04 +0000 (12:54 +0000)]
Added "frog" CLI command, which performs frog-in-a-blender calculations.

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

17 years agoFlesh out the remainder of the manager + http changes and create a sample application...
Mark Spencer [Sat, 1 Apr 2006 08:49:54 +0000 (08:49 +0000)]
Flesh out the remainder of the manager + http changes and create a sample application to partially
demonstrate the capability of manager over http.

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

17 years agoDon't add ast_extension_state on re-subscribes
Olle Johansson [Sat, 1 Apr 2006 00:44:36 +0000 (00:44 +0000)]
Don't add ast_extension_state on re-subscribes

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

17 years agoReverse revision 16804 that disables authentication
Olle Johansson [Sat, 1 Apr 2006 00:24:05 +0000 (00:24 +0000)]
Reverse revision 16804 that disables authentication
and a lot of other issues...

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

17 years ago Don't process re-subscribes as new subscriptions.
BJ Weschke [Fri, 31 Mar 2006 21:02:23 +0000 (21:02 +0000)]
 Don't process re-subscribes as new subscriptions.

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

17 years agoTypo
Olle Johansson [Fri, 31 Mar 2006 19:41:35 +0000 (19:41 +0000)]
Typo

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

17 years ago- Reference to doc/security.txt instead of SECURITY
Olle Johansson [Fri, 31 Mar 2006 19:40:27 +0000 (19:40 +0000)]
- Reference to doc/security.txt instead of SECURITY
- Instruct people to READ THE DOCUMENTATION!!!

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

17 years agomove a NULL check to before the first time the pointer is dereferenced (issue #6832)
Russell Bryant [Fri, 31 Mar 2006 19:14:28 +0000 (19:14 +0000)]
move a NULL check to before the first time the pointer is dereferenced (issue #6832)

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

17 years ago- code formatting tweaks
Russell Bryant [Fri, 31 Mar 2006 19:02:27 +0000 (19:02 +0000)]
- code formatting tweaks
- use the callno stored in a local variable
- store the result of atoi() so it's only called once
(issue #6833)

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

17 years agoMerged revisions 16744 via svnmerge from
Russell Bryant [Fri, 31 Mar 2006 18:43:45 +0000 (18:43 +0000)]
Merged revisions 16744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r16744 | russell | 2006-03-31 13:42:09 -0500 (Fri, 31 Mar 2006) | 2 lines

fix the situation where bindport is specified but bindaddr is not (issue #6616)

........

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

17 years agoMerged revisions 16742 via svnmerge from
Kevin P. Fleming [Fri, 31 Mar 2006 18:28:52 +0000 (18:28 +0000)]
Merged revisions 16742 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r16742 | kpfleming | 2006-03-31 12:24:22 -0600 (Fri, 31 Mar 2006) | 2 lines

ensure that hint watchers (subscribers) cannot be added or removed while the dialplan is being modified

........

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

17 years agomake an error message more descriptive (issue #6855)
Russell Bryant [Fri, 31 Mar 2006 17:46:03 +0000 (17:46 +0000)]
make an error message more descriptive (issue #6855)

M    rtp.c

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

17 years agoDoxygen fix
Olle Johansson [Fri, 31 Mar 2006 16:02:29 +0000 (16:02 +0000)]
Doxygen fix

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

17 years agoMake REG_STATE_* enum
Olle Johansson [Fri, 31 Mar 2006 15:19:04 +0000 (15:19 +0000)]
Make REG_STATE_* enum

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

17 years agoDon't accept new INVITE if we already have one pending.
Olle Johansson [Fri, 31 Mar 2006 15:07:36 +0000 (15:07 +0000)]
Don't accept new INVITE if we already have one pending.

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

17 years agotrailing whitespace/ useless extern removal
Luigi Rizzo [Fri, 31 Mar 2006 15:02:52 +0000 (15:02 +0000)]
trailing whitespace/ useless extern removal

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

17 years ago Provide warning about current behavior of autofill = yes
BJ Weschke [Fri, 31 Mar 2006 13:51:37 +0000 (13:51 +0000)]
 Provide warning about current behavior of autofill = yes

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

17 years agomore trailing whitespace and extern removal
Luigi Rizzo [Fri, 31 Mar 2006 10:35:25 +0000 (10:35 +0000)]
more trailing whitespace and extern removal

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

17 years agoremoval of trailing whitespace and useless 'extern'
Luigi Rizzo [Fri, 31 Mar 2006 10:29:50 +0000 (10:29 +0000)]
removal of trailing whitespace and useless 'extern'

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

17 years agominor cleanup: localize a variable and replace i++; i++ with i +=2;
Luigi Rizzo [Fri, 31 Mar 2006 10:13:22 +0000 (10:13 +0000)]
minor cleanup: localize a variable and replace i++; i++ with i +=2;

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

17 years agouseless 'extern' and trailing whitespace removal
Luigi Rizzo [Fri, 31 Mar 2006 10:11:10 +0000 (10:11 +0000)]
useless 'extern' and trailing whitespace removal

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

17 years agoanother batch of whitespace removal
Luigi Rizzo [Fri, 31 Mar 2006 10:06:42 +0000 (10:06 +0000)]
another batch of whitespace removal
(trailing space-tabs, and useless 'extern')

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

17 years agoremove useless 'extern' and trailing whitespace.
Luigi Rizzo [Fri, 31 Mar 2006 10:02:52 +0000 (10:02 +0000)]
remove useless 'extern' and trailing whitespace.

(this is a whitespace-only change)

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

17 years agofix formatting
Luigi Rizzo [Fri, 31 Mar 2006 09:53:05 +0000 (09:53 +0000)]
fix formatting

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

17 years agominor code simplifications - no need to use temporary
Luigi Rizzo [Fri, 31 Mar 2006 09:50:54 +0000 (09:50 +0000)]
minor code simplifications - no need to use temporary
variables.

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

17 years agoDo not leave a thread in limbo if an error occurs, or if testing packet loss.
Joshua Colp [Fri, 31 Mar 2006 00:53:32 +0000 (00:53 +0000)]
Do not leave a thread in limbo if an error occurs, or if testing packet loss.

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

17 years agoIssue 5852 (casper) Code clean up, adding documentation on new switches. Thanks!
Olle Johansson [Fri, 31 Mar 2006 00:33:28 +0000 (00:33 +0000)]
Issue 5852 (casper) Code clean up, adding documentation on new switches. Thanks!

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

17 years ago- Change AST_INLINE_AP to AST_INLINE_API for non-386 systems :-)
Olle Johansson [Fri, 31 Mar 2006 00:25:50 +0000 (00:25 +0000)]
- Change AST_INLINE_AP to AST_INLINE_API for non-386 systems :-)
- Doxygen changes

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

17 years agoremove useless 'extern' in function declarations.
Luigi Rizzo [Fri, 31 Mar 2006 00:11:45 +0000 (00:11 +0000)]
remove useless 'extern' in function declarations.

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

17 years agoAdd NetBSD for credits for editline
Mark Spencer [Thu, 30 Mar 2006 23:42:57 +0000 (23:42 +0000)]
Add NetBSD for credits for editline

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

17 years agoinitial implementation of support for native atomic ops.
Luigi Rizzo [Thu, 30 Mar 2006 23:26:22 +0000 (23:26 +0000)]
initial implementation of support for native atomic ops.

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

17 years agoMerged revisions 16581 via svnmerge from
Tilghman Lesher [Thu, 30 Mar 2006 23:05:58 +0000 (23:05 +0000)]
Merged revisions 16581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r16581 | tilghman | 2006-03-30 16:56:35 -0600 (Thu, 30 Mar 2006) | 2 lines

Bug 6853 - Manager fixes: 1) extra ActionID, 2) missing colon

........

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

17 years agoMerged revisions 16579 via svnmerge from
Tilghman Lesher [Thu, 30 Mar 2006 22:47:11 +0000 (22:47 +0000)]
Merged revisions 16579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r16579 | tilghman | 2006-03-30 16:46:06 -0600 (Thu, 30 Mar 2006) | 2 lines

Bug 6849 - trivial typo fix

........

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

17 years agoAdd more 64-bit detection goodness (issue #6850 reported by evilbunny)
Joshua Colp [Thu, 30 Mar 2006 21:57:49 +0000 (21:57 +0000)]
Add more 64-bit detection goodness (issue #6850 reported by evilbunny)

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

17 years agoBlock 1.2 fix for amd64, trunk version coming soon
Joshua Colp [Thu, 30 Mar 2006 21:52:04 +0000 (21:52 +0000)]
Block 1.2 fix for amd64, trunk version coming soon

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

17 years agolocalize a variable
Luigi Rizzo [Thu, 30 Mar 2006 21:49:24 +0000 (21:49 +0000)]
localize a variable

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

17 years agouse ast_strdup instead of strdup
Luigi Rizzo [Thu, 30 Mar 2006 21:47:22 +0000 (21:47 +0000)]
use ast_strdup instead of strdup

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

17 years agodon't use 8000, use DEFAULT_SAMPLE_RATE
Luigi Rizzo [Thu, 30 Mar 2006 21:45:43 +0000 (21:45 +0000)]
don't use 8000, use DEFAULT_SAMPLE_RATE

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

17 years agoas discussed with Mark a few weeks ago, the 'newstack' argument
Luigi Rizzo [Thu, 30 Mar 2006 21:29:39 +0000 (21:29 +0000)]
as discussed with Mark a few weeks ago, the 'newstack' argument
in pbx_exec is always 1 so it can be removed.

This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.

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

17 years agoDoxygen doc updates
Olle Johansson [Thu, 30 Mar 2006 19:05:00 +0000 (19:05 +0000)]
Doxygen doc updates

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

17 years agodeprecate insecure=very and insecure=yes, since we have more explicit versions availa...
Kevin P. Fleming [Thu, 30 Mar 2006 18:17:36 +0000 (18:17 +0000)]
deprecate insecure=very and insecure=yes, since we have more explicit versions available now

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

17 years agoMerged revisions 16534 via svnmerge from
Joshua Colp [Thu, 30 Mar 2006 17:58:16 +0000 (17:58 +0000)]
Merged revisions 16534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r16534 | file | 2006-03-30 13:55:28 -0400 (Thu, 30 Mar 2006) | 2 lines

Do not exceed the array size for maximum allowed moh files. (issue #6842)

........

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

17 years agoremove AST_MUTEX_DEFINE_EXPORTED, which now has no more clients.
Luigi Rizzo [Thu, 30 Mar 2006 17:11:49 +0000 (17:11 +0000)]
remove AST_MUTEX_DEFINE_EXPORTED, which now has no more clients.

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

17 years agodo not export the tzlock and the list head, and introduce a new method,
Luigi Rizzo [Thu, 30 Mar 2006 17:10:11 +0000 (17:10 +0000)]
do not export the tzlock and the list head, and introduce a new method,
ast_walk_indications(), to walk through the list of indications.
The new method returns an unlocked record, which is no different from the
behaviour of other existing methods in indications.c
(i.e. they all need to be fixed, with refcounts or some similar
method).

Note that ast_walk_indications() uses the pointer argument only as a
search key, so its implementation is completely safe.

In turn, this change allows the removal of AST_MUTEX_DEFINE_EXPORTED.

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

17 years agodocument why there are so many versions of the mutex functions,
Luigi Rizzo [Thu, 30 Mar 2006 16:09:23 +0000 (16:09 +0000)]
document why there are so many versions of the mutex functions,
with their pros and cons, and that we should converge to a single method.

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

17 years agobe more careful when merging in a branch with automerge properties :-(
Kevin P. Fleming [Thu, 30 Mar 2006 14:19:25 +0000 (14:19 +0000)]
be more careful when merging in a branch with automerge properties :-(

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

17 years agoconvert internal timing to be stored as a flag in the ast_options flags
Russell Bryant [Thu, 30 Mar 2006 06:26:16 +0000 (06:26 +0000)]
convert internal timing to be stored as a flag in the ast_options flags

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

17 years agoIssue #5374 - Enable internal timing of generators (cmantunes)
Olle Johansson [Thu, 30 Mar 2006 06:07:04 +0000 (06:07 +0000)]
Issue #5374 - Enable internal timing of generators (cmantunes)

Thanks everyone involved for hard work, testing and testing!

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

17 years agoIssue #6450 - Don't remove characters from SIP uri's when not needed
Olle Johansson [Thu, 30 Mar 2006 04:16:38 +0000 (04:16 +0000)]
Issue #6450 - Don't remove characters from SIP uri's when not needed
  Patch by jcomellas, heavily modified by oej

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

17 years agoFix IAX2 multithreaded scheduling (issue #6840)
Joshua Colp [Thu, 30 Mar 2006 03:16:09 +0000 (03:16 +0000)]
Fix IAX2 multithreaded scheduling (issue #6840)

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

17 years agoSet default value of adsipark (import from 1.2)
Olle Johansson [Thu, 30 Mar 2006 01:35:56 +0000 (01:35 +0000)]
Set default value of adsipark (import from 1.2)

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

17 years agoBlock patch on app_groupcount.c from 1.2
Olle Johansson [Thu, 30 Mar 2006 01:30:15 +0000 (01:30 +0000)]
Block patch on app_groupcount.c from 1.2

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

17 years agoTypo
Olle Johansson [Thu, 30 Mar 2006 00:32:01 +0000 (00:32 +0000)]
Typo

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

17 years agoFormatting fix.
Olle Johansson [Thu, 30 Mar 2006 00:30:49 +0000 (00:30 +0000)]
Formatting fix.

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

17 years agowhitespace "fixes", and general cleanup
North Antara [Wed, 29 Mar 2006 21:08:13 +0000 (21:08 +0000)]
whitespace "fixes", and general cleanup

It's nice to have consistency in sample configs too.

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

17 years agothe comment character is ';' not '#' ...
Luigi Rizzo [Wed, 29 Mar 2006 20:09:10 +0000 (20:09 +0000)]
the comment character is ';' not '#' ...

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

17 years agoWhitespace fix forgotten by someone who added a note about needing to fix this...
Olle Johansson [Wed, 29 Mar 2006 20:08:14 +0000 (20:08 +0000)]
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

17 years agoconvert calloc and malloc+memset to ast_calloc and remove duplicate error messages
Russell Bryant [Wed, 29 Mar 2006 19:54:41 +0000 (19:54 +0000)]
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

17 years agoMerged revisions 16192 via svnmerge from
Tilghman Lesher [Wed, 29 Mar 2006 19:30:57 +0000 (19:30 +0000)]
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

17 years agoUpdate to code documentation and developer guidelines.
Olle Johansson [Wed, 29 Mar 2006 17:09:33 +0000 (17:09 +0000)]
Update to code documentation and developer guidelines.

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

17 years agoanother batch of cli simplifications.
Luigi Rizzo [Wed, 29 Mar 2006 16:51:51 +0000 (16:51 +0000)]
another batch of cli simplifications.

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

17 years agomention issues with the protection of the list used in indications.c
Luigi Rizzo [Wed, 29 Mar 2006 16:00:51 +0000 (16:00 +0000)]
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

17 years agofixed no dtmf detect on 64 bit
Christian Richter [Wed, 29 Mar 2006 14:26:43 +0000 (14:26 +0000)]
fixed no dtmf detect on 64 bit

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

17 years agoMerged revisions 16082 via svnmerge from
Tilghman Lesher [Wed, 29 Mar 2006 14:24:30 +0000 (14:24 +0000)]
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

17 years agoFix build of asterisk again (ahem, committers!)
Mark Spencer [Wed, 29 Mar 2006 05:12:24 +0000 (05:12 +0000)]
Fix build of asterisk again (ahem, committers!)

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

17 years agoDoxygen updates
Olle Johansson [Wed, 29 Mar 2006 04:42:07 +0000 (04:42 +0000)]
Doxygen updates

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

17 years ago- Formatting fixes
Olle Johansson [Wed, 29 Mar 2006 04:34:55 +0000 (04:34 +0000)]
- Formatting fixes
- Doxygen

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

17 years agooops! :)
Russell Bryant [Wed, 29 Mar 2006 04:19:23 +0000 (04:19 +0000)]
oops!  :)

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

17 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16009 65c4cc65-6c06-0410...
Russell Bryant [Wed, 29 Mar 2006 04:16:09 +0000 (04:16 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16009 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agofix the provided unsetenv for solaris to return an int like it's supposed to
Russell Bryant [Wed, 29 Mar 2006 04:14:12 +0000 (04:14 +0000)]
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

17 years agoconversion from malloc to ast_malloc
Russell Bryant [Wed, 29 Mar 2006 04:09:31 +0000 (04:09 +0000)]
conversion from malloc to ast_malloc

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

17 years agoIntroduce an utility macro to set base, offset and
Luigi Rizzo [Wed, 29 Mar 2006 02:14:38 +0000 (02:14 +0000)]
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

17 years agoAdd two widely used constants
Luigi Rizzo [Wed, 29 Mar 2006 02:12:31 +0000 (02:12 +0000)]
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

17 years agoAdded more "valid" phone types to skinny sample config.
North Antara [Wed, 29 Mar 2006 01:08:01 +0000 (01:08 +0000)]
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

17 years agoIssue #6823 - Registration and port numbers. (from 1.2)
Olle Johansson [Wed, 29 Mar 2006 01:01:09 +0000 (01:01 +0000)]
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

17 years agoMerged revisions 15896 via svnmerge from
Kevin P. Fleming [Wed, 29 Mar 2006 00:32:52 +0000 (00:32 +0000)]
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

17 years agoNormalize some cli completion code.
Luigi Rizzo [Wed, 29 Mar 2006 00:30:29 +0000 (00:30 +0000)]
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

17 years agoDoxygen fixes
Olle Johansson [Tue, 28 Mar 2006 23:55:52 +0000 (23:55 +0000)]
Doxygen fixes

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

17 years agomore command completion normalization.
Luigi Rizzo [Tue, 28 Mar 2006 23:52:21 +0000 (23:52 +0000)]
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

17 years agomore command completion normalization
Luigi Rizzo [Tue, 28 Mar 2006 23:40:28 +0000 (23:40 +0000)]
more command completion normalization

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

17 years agoanother batch of cli simplifications
Luigi Rizzo [Tue, 28 Mar 2006 23:33:02 +0000 (23:33 +0000)]
another batch of cli simplifications

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

17 years agonormalize/simplify a bit of the command completion code.
Luigi Rizzo [Tue, 28 Mar 2006 23:20:13 +0000 (23:20 +0000)]
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

17 years agouse ast_cli_complete() to largely simplify the command completion code.
Luigi Rizzo [Tue, 28 Mar 2006 23:06:46 +0000 (23:06 +0000)]
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

17 years agoblack magic to make sure we recompile things after the changes to cli.c
Luigi Rizzo [Tue, 28 Mar 2006 22:59:34 +0000 (22:59 +0000)]
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

17 years agomake 'sip show subscriptions' include context for subscribed hints
Kevin P. Fleming [Tue, 28 Mar 2006 22:47:02 +0000 (22:47 +0000)]
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

17 years agoas reported in mantis #6066, fix a bunch of cli bugs and
Luigi Rizzo [Tue, 28 Mar 2006 22:44:55 +0000 (22:44 +0000)]
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