Kevin P. Fleming [Wed, 15 Nov 2006 20:51:18 +0000 (20:51 +0000)]
Merged revisions 47701 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47701 | kpfleming | 2006-11-15 14:50:06 -0600 (Wed, 15 Nov 2006) | 2 lines
don't try to call fclose() if fopen() failed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47702
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 15 Nov 2006 20:40:22 +0000 (20:40 +0000)]
- Don't reply to ACK
- Improve SIP history for debugging
(Imported from 1.4)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47700
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 20:28:25 +0000 (20:28 +0000)]
Merged revisions 47693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47693 | kpfleming | 2006-11-15 14:27:38 -0600 (Wed, 15 Nov 2006) | 12 lines
Merged revisions 47677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47677 | kpfleming | 2006-11-15 11:56:42 -0600 (Wed, 15 Nov 2006) | 4 lines
ensure that message duration is included in email notifications for forwarded messages (BE-96, fix by me after corydon used his clue-bat on me)
ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96)
remove prototype for API call that does not exist
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47694
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 20:05:26 +0000 (20:05 +0000)]
Merged revisions 47690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47690 | kpfleming | 2006-11-15 14:01:22 -0600 (Wed, 15 Nov 2006) | 20 lines
Merged revisions 47686,47688-47689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47686 | kpfleming | 2006-11-15 13:42:05 -0600 (Wed, 15 Nov 2006) | 2 lines
clear the category's variable tail pointer as well when variables are detached from it
........
r47688 | kpfleming | 2006-11-15 13:47:43 -0600 (Wed, 15 Nov 2006) | 2 lines
when appending a list of variable to a category, ensure the tail pointer points to the last variable in the list
........
r47689 | kpfleming | 2006-11-15 13:58:46 -0600 (Wed, 15 Nov 2006) | 2 lines
when re-writing the config file, don't repeat the path if it hasn't changed
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47691
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 18:44:29 +0000 (18:44 +0000)]
Merged revisions 47684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47684 | kpfleming | 2006-11-15 12:43:30 -0600 (Wed, 15 Nov 2006) | 10 lines
Merged revisions 47682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47682 | kpfleming | 2006-11-15 12:39:47 -0600 (Wed, 15 Nov 2006) | 2 lines
ouch... don't use printf, use ast_log/ast_verbose
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47685
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 17:40:09 +0000 (17:40 +0000)]
fix indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47669
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 17:17:07 +0000 (17:17 +0000)]
small simplifications and localization of variables.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47667
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 17:05:55 +0000 (17:05 +0000)]
new-style "core show channels"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47665
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 16:39:38 +0000 (16:39 +0000)]
more changes to new style of "module load" and "load".
Under FreeBSD, the filename_completion used in the above commands does
not work. Not sure why, but on passing i note that the function is
part of readline and is not reentrant, so it needs to be fixed one way
or another.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47664
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 16:20:23 +0000 (16:20 +0000)]
move another deprecated command to the new style
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47663
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 16:13:30 +0000 (16:13 +0000)]
move "core set debug" to the new style, and remove duplicated
code for the deprecated handler.
On passing fix a long standing bug in find_cli() which would not
find the longest match - this part (trivial, basically
just update matchlen on a match) must go in 1.4 and possibly 1.2 as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47662
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 15 Nov 2006 16:09:48 +0000 (16:09 +0000)]
Messed up earlier, cleaning up...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47661
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 15 Nov 2006 16:04:24 +0000 (16:04 +0000)]
Send proper SIP error message improperly when we can't allocate dialog (out of file handles is one cause)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47660
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 15 Nov 2006 15:27:46 +0000 (15:27 +0000)]
Update doxygen docs to reflect the code...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47657
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 15:02:56 +0000 (15:02 +0000)]
one more step cleaning the internal CLI interface:
the NEW_CLI macro now supports extra arguments (to deprecate other commands).
use this to implement unload and reload, and remove some unused functions.
usual completion fixes (as these function accept multiple arguments).
The summary is still a bit inconsistent.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47654
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 15 Nov 2006 14:11:28 +0000 (14:11 +0000)]
update the internal cli api following comments from kevin.
This change basically simplifies the interface of the
new-style handler removing almost all the tricks used in
the previous implementation to achieve backward compatibility
(which is still present and guaranteed.)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47652
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 15 Nov 2006 04:47:52 +0000 (04:47 +0000)]
Merged revisions 47645 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47645 | file | 2006-11-14 23:45:24 -0500 (Tue, 14 Nov 2006) | 2 lines
If NAT detection is turned on or already detected then say NAT is active when setting the remote RTP peer when doing early bridging. (issue #8365 reported by marcelbarbulescu)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47646
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 00:19:35 +0000 (00:19 +0000)]
Merged revisions 47641 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47641 | kpfleming | 2006-11-14 18:19:05 -0600 (Tue, 14 Nov 2006) | 2 lines
more formatting cleanup, and avoid running off the end of the string
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47642
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 15 Nov 2006 00:15:38 +0000 (00:15 +0000)]
Merged revisions 47639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47639 | file | 2006-11-14 19:14:07 -0500 (Tue, 14 Nov 2006) | 2 lines
Turn notice about unknown RTCP packet type into a debug message instead.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47640
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 15 Nov 2006 00:06:37 +0000 (00:06 +0000)]
Merged revisions 47635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47635 | kpfleming | 2006-11-14 18:05:44 -0600 (Tue, 14 Nov 2006) | 2 lines
silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47636
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 14 Nov 2006 22:19:18 +0000 (22:19 +0000)]
Merged revisions 47632 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47632 | file | 2006-11-14 17:17:16 -0500 (Tue, 14 Nov 2006) | 10 lines
Merged revisions 47631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2 lines
Update copyright information in the ADSI logo blob.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47633
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 22:08:20 +0000 (22:08 +0000)]
add missing casts and remove an unused function.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47630
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 14 Nov 2006 22:07:20 +0000 (22:07 +0000)]
Merged revisions 47628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47628 | file | 2006-11-14 17:05:03 -0500 (Tue, 14 Nov 2006) | 2 lines
Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47629
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 14 Nov 2006 21:33:59 +0000 (21:33 +0000)]
Merged revisions 47625 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47625 | file | 2006-11-14 16:30:44 -0500 (Tue, 14 Nov 2006) | 2 lines
Small documentation clarification for URIENCODE. (issue #8294 reported by salaud)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47626
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 14 Nov 2006 20:09:10 +0000 (20:09 +0000)]
Make local copy of arguments to parse. (issue #8362 reported by homesick)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47623
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 14 Nov 2006 18:58:15 +0000 (18:58 +0000)]
Merged revisions 47621 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47621 | tilghman | 2006-11-14 12:54:40 -0600 (Tue, 14 Nov 2006) | 3 lines
Conversion of res_odbc API to include ast_ prefix did not completely transition app_voicemail
when ODBC_STORAGE is used (reported on IRC by caio1982, not in bugtracker)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47622
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 17:00:39 +0000 (17:00 +0000)]
fix completion for "module reload mod_1 mod_2 ... "
(should do the same for the other similar commands, "reload", "module unload" and so on.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47620
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 16:55:27 +0000 (16:55 +0000)]
partly convert to new style set-verbose, with completion fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47619
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 14 Nov 2006 16:48:03 +0000 (16:48 +0000)]
Merged revisions 47617 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47617 | file | 2006-11-14 11:45:57 -0500 (Tue, 14 Nov 2006) | 2 lines
Use LOG_DEBUG to print out the indication that app_amd is using default settings instead of using LOG_NOTICE. This stops needless logging of this information under normal circumstances. (issue #8361 reported by Seb7)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47618
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 16:38:35 +0000 (16:38 +0000)]
replace two deprecated functions with calls to the standard ones,
with fixes to argc/argv
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47616
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 16:31:57 +0000 (16:31 +0000)]
remove duplicated implementation for a deprecated function, use the
original one instead with appropriate changes in argc/argv.
This is not always applicable, but in some simple cases it is.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47614
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 14 Nov 2006 16:15:34 +0000 (16:15 +0000)]
need to check quoting in the doxygen docs...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47611
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 14 Nov 2006 16:10:32 +0000 (16:10 +0000)]
Some improvements to doxygen docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47610
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 16:09:08 +0000 (16:09 +0000)]
new-style for 'core show uptime', include 'complete' support and better error checking
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47609
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 15:55:18 +0000 (15:55 +0000)]
apply previous fix to old-style cli entries as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47608
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 15:39:03 +0000 (15:39 +0000)]
fix "core set debug atleast ",
and fix the simple case where a command can have multiple completions,
the first ones coming from keywords in previous CLI entries.
There is no solution yet for the complex case of N1 completions
from a CLI entry, followed by N2 from the next one, and so on,
because the _complete() handlers do not tell us how many matches
it generates, so we don't know how many to skip when interrogating
the other handlers.
The only solution is to avoid, as much as possible, multiple
CLI entries with the same prefix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47607
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 14 Nov 2006 15:23:35 +0000 (15:23 +0000)]
Bring in the improved internal API for the CLI.
WATCH OUT: this changes the binary interface (ABI) for modules,
so e.g. users of g729 codecs need a rebuilt module (but read below).
The new way to write CLI handlers is described in detail in cli.h,
and there are a few converted handlers in cli.c, look for NEW_CLI.
After converting a couple of commands i am convinced that
it is reasonably convenient to use, and it makes it easier to fix the
pending CLI issues.
On passing, note a bug with the current 'complete' architecture:
if a command is a prefix of multiple CLI entries, we miss some
of the possible options. As an example, "core set debug" can
continue with "channel" from one CLI entry, and "off" or "atleast"
from another one.
We address this problem in a separate commit
(when i have figured out a fix, that is).
ABI issues:
I asked Kevin if it was ok to make this change and he said yes.
While it would have been possible to make the change without breaking
the module ABI, the code would have been more convoluted.
I am happy to restore the old ABI (while still being able
to use the "new style" handlers) if there is demand.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47606
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 14 Nov 2006 13:17:38 +0000 (13:17 +0000)]
Adding some debug output to trace bug in realtime
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47600
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 14 Nov 2006 12:32:46 +0000 (12:32 +0000)]
Adding a new debug line for issue #7351 - trying to find where an ACK can overwrite the initreq...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47599
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 14 Nov 2006 11:26:06 +0000 (11:26 +0000)]
Issue #8272 imported from 1.2/1.4 - Let the peerpoke system destroy it's own packets, please.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47598
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 14 Nov 2006 11:00:33 +0000 (11:00 +0000)]
Remove flags not used any more (thanks Luigi)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47595
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 13 Nov 2006 22:40:01 +0000 (22:40 +0000)]
oops no parens
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47587
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 13 Nov 2006 22:01:43 +0000 (22:01 +0000)]
fix bytesize to 5.3kb for g723 codec and add support for multimode of tc400p
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47586
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 21:32:13 +0000 (21:32 +0000)]
Merged revisions 47584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47584 | file | 2006-11-13 16:28:57 -0500 (Mon, 13 Nov 2006) | 10 lines
Merged revisions 47583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47583 | file | 2006-11-13 16:26:36 -0500 (Mon, 13 Nov 2006) | 2 lines
Initialize global pointers for connection and result to NULL. (issue #8356 reported by james)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47585
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 20:21:33 +0000 (20:21 +0000)]
Merged revisions 47581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47581 | tilghman | 2006-11-13 14:20:01 -0600 (Mon, 13 Nov 2006) | 10 lines
Merged revisions 47580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines
Having more than 255 old messages caused corruption in the new/old count
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47582
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 13 Nov 2006 19:20:54 +0000 (19:20 +0000)]
Small fix for uncommon scenario.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47579
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 13 Nov 2006 19:19:16 +0000 (19:19 +0000)]
Blocking 47576 from merging into trunk. Already done in 47577
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47578
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 13 Nov 2006 19:15:45 +0000 (19:15 +0000)]
This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47577
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 19:14:39 +0000 (19:14 +0000)]
Make chan_h323 build again and make the CLI commands work. (reported on asterisk-dev mailing list by Di-Shi Sun)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47575
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 19:12:23 +0000 (19:12 +0000)]
Blocked revisions 47573 via svnmerge
........
r47573 | tilghman | 2006-11-13 13:11:15 -0600 (Mon, 13 Nov 2006) | 2 lines
Re-enable old deprecated commands
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47574
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 13 Nov 2006 18:24:20 +0000 (18:24 +0000)]
blocked 47564 from 1.4 to be merged onto trunk; 47566 already did it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47568
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 18:23:55 +0000 (18:23 +0000)]
Add 'loose' option to joinempty and leavewhenempty which is almost exactly like 'strict' except it does not count paused queue members as unavailable. (issue #8263 reported by gnarf)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47567
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 13 Nov 2006 18:20:56 +0000 (18:20 +0000)]
Eager people beat me to fixing the messed if, but we all forgot to update the regressions. Until now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47566
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 17:55:24 +0000 (17:55 +0000)]
Don't play the "entering conference number <insert number here>" prompts if the 'q' option is used. If others believe this should be in 1.2/1.4 then we can put it in, but I'm uncomfortable doing so right now as it is a change of behavior. (issue #8138 reported by tmancill)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47560
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 17:41:22 +0000 (17:41 +0000)]
Blocked revisions 47558 via svnmerge
........
r47558 | file | 2006-11-13 12:38:44 -0500 (Mon, 13 Nov 2006) | 2 lines
Clean up last commit to better conform to standards.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47559
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 17:36:28 +0000 (17:36 +0000)]
Clean up last commit to better conform to standards.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47556
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 13 Nov 2006 17:36:01 +0000 (17:36 +0000)]
Blocking 47553 from 1.4 to trunk... 47554 is done for it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47555
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 13 Nov 2006 17:32:16 +0000 (17:32 +0000)]
AEL need not complain about parkedcalls not being found... just confuses users
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47554
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 17:10:21 +0000 (17:10 +0000)]
Merged revisions 47551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47551 | file | 2006-11-13 12:08:07 -0500 (Mon, 13 Nov 2006) | 10 lines
Merged revisions 47549 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47549 | file | 2006-11-13 12:05:32 -0500 (Mon, 13 Nov 2006) | 2 lines
When sending an SMS with a user data header properly set the UDH flag in the first byte. (issue #8347 reported by hoffmeis)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47552
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 16:41:45 +0000 (16:41 +0000)]
Return module show to a working state. (issue #8353 reported by jserve)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47544
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 13 Nov 2006 16:33:46 +0000 (16:33 +0000)]
Blocked revisions 47542 via svnmerge
........
r47542 | file | 2006-11-13 11:30:38 -0500 (Mon, 13 Nov 2006) | 2 lines
Free full command string upon unregistering of CLI command. Backported from revision 47536 from rizzo.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47543
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 13 Nov 2006 16:08:12 +0000 (16:08 +0000)]
Only produce error message once, don't fill the screen with them...
(Testing SIPP thanks to JerJer and Greg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47541
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 13 Nov 2006 14:29:31 +0000 (14:29 +0000)]
merge from astobj2-r47450: use UNLINK to remove a packet from its queue,
and related code rearrangement.
Approved by: oej
This could be made better if we declared
struct sip_pvt *dialpg = pkt->owner;
at the beginning of the function, and use it throughout the function.
I'll let the boss decide :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47539
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 13 Nov 2006 14:14:54 +0000 (14:14 +0000)]
merge from codename-pineapple and astobj2 47499:
simplify __sip_ack() removing a strcmp for looking up packets.
no functional change, only performance, so don't need to merging
to earlier branches now.
Approved By: oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47538
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 13 Nov 2006 12:04:05 +0000 (12:04 +0000)]
stop looking for new entries when we know we are done.
there is no functional change, so it is not necessary to
bother merging this to 1.4 now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47537
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 13 Nov 2006 12:01:25 +0000 (12:01 +0000)]
free memory when unregistering an entry.
needs to be merged to 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47536
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 05:58:14 +0000 (05:58 +0000)]
Feature: allow the sanity SQL to be customized per connection class (Issue 6453)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47530
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 13 Nov 2006 05:51:30 +0000 (05:51 +0000)]
Merged revisions 47527 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47527 | russell | 2006-11-13 00:48:18 -0500 (Mon, 13 Nov 2006) | 5 lines
AC_PROG_SED is included in autoconf 2.60, but apparently it is not included
in 2.59. So, to maintain compatability with 2.59 since it is a small change,
copy this macro into acinclude.m4 and rename it to AST_PROG_SED.
(issue #8345)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47529
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 05:48:27 +0000 (05:48 +0000)]
Merged revisions 47526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47526 | tilghman | 2006-11-12 23:46:18 -0600 (Sun, 12 Nov 2006) | 10 lines
Merged revisions 47525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006) | 2 lines
If the execute fails a second time, make sure that we don't pass back a stale handle
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47528
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 13 Nov 2006 01:16:30 +0000 (01:16 +0000)]
Merged revisions 47523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47523 | tilghman | 2006-11-12 19:12:01 -0600 (Sun, 12 Nov 2006) | 10 lines
Merged revisions 47522 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines
Don't play dialtone if the seizing the channel fails (Bug 7754)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47524
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 12 Nov 2006 20:47:25 +0000 (20:47 +0000)]
Part of patch in #7403 to improve tag checking in pedantic mode (stephen_dredge)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47521
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 12 Nov 2006 19:22:19 +0000 (19:22 +0000)]
The use of an ifdef to check for FreeBSD is useless here because the two
versions of the format string are identical. Also, since each format is only
used once, get rid of the use of defines all together. (issue #8344, julieng)
In passing, also clean up the formatting a but to get rid of the nesting
without the use of braces, as defined in the coding guidelines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47520
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 12 Nov 2006 16:15:49 +0000 (16:15 +0000)]
Restore auto-framing (DEA). Imported from 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47514
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 12 Nov 2006 15:40:03 +0000 (15:40 +0000)]
- Support UDPTL as well as udptl in T38 sdp.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47512
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 12 Nov 2006 15:30:48 +0000 (15:30 +0000)]
- Don't hangup because of failed re-invite. Go back to previous state.
- Keep RTP running during T.38 session
We might improve the code to issue ast_rtp_stop if T.38 re-invite not fails
later on in the code, but I don't see many reasons to.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47510
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 12 Nov 2006 15:14:35 +0000 (15:14 +0000)]
- Add some comments to t.38 code
- Remove improper blocking of ptime: in SDP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47508
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 12 Nov 2006 06:31:39 +0000 (06:31 +0000)]
Merged revisions 47497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47497 | russell | 2006-11-12 01:23:23 -0500 (Sun, 12 Nov 2006) | 12 lines
Merged revisions 47496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47496 | russell | 2006-11-12 01:09:03 -0500 (Sun, 12 Nov 2006) | 4 lines
Only do the check to determine whether the channel calling this function is an
IAX2 channel when getting the IP address using the special argument,
CURRENTCHANNEL. (issue #8341, jcovert)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47498
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 11 Nov 2006 15:33:06 +0000 (15:33 +0000)]
Merged revisions 47494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47494 | russell | 2006-11-11 10:31:08 -0500 (Sat, 11 Nov 2006) | 6 lines
Add the target "menuconfig" as an alias for the "menuselect" target. This is
just a favor to users so that if you accidentally type "make menuconfig"
instead of "make menuselect", it still works.
(inspired by a comment on IRC from wangster calling me an "especially devious
asterisk developer" for having it be menuselect instead of menuconfig. :) )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47495
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 11 Nov 2006 15:22:08 +0000 (15:22 +0000)]
Merged revisions 47492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47492 | russell | 2006-11-11 10:18:02 -0500 (Sat, 11 Nov 2006) | 2 lines
Tweak the formatting of this new function to better conform to coding guidelines.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47493
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Sat, 11 Nov 2006 02:12:27 +0000 (02:12 +0000)]
safe terminal output is sweet.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47491
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 10 Nov 2006 22:06:11 +0000 (22:06 +0000)]
Make sure we don't use 32bits for a value that only requires 1 bit. Also, fix a compiler warning for one of the SS7 functions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47478
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 21:55:31 +0000 (21:55 +0000)]
Add some history and fix some debug output for autodestruct.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47477
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 21:39:58 +0000 (21:39 +0000)]
Proper fix for adding debug...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47475
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 20:31:57 +0000 (20:31 +0000)]
Make sure we destroy dialog in case of loop
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47468
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 20:25:32 +0000 (20:25 +0000)]
Cleanup imported from 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47467
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 10 Nov 2006 20:05:31 +0000 (20:05 +0000)]
Fine, take this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47465
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 10 Nov 2006 19:51:15 +0000 (19:51 +0000)]
A trunk that builds is a productive trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47464
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 10 Nov 2006 19:42:15 +0000 (19:42 +0000)]
Hello compiler working, goodbye compiler warning. (fix compiler warning introduced from pbx_dundi optimizations)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47461
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 10 Nov 2006 19:40:01 +0000 (19:40 +0000)]
Merged revisions 47457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47457 | file | 2006-11-10 14:36:25 -0500 (Fri, 10 Nov 2006) | 2 lines
Let's give this a go...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47459
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 10 Nov 2006 19:35:41 +0000 (19:35 +0000)]
Add fix for 7321. Ability to hide calleridname from zapata.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47456
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 19:01:12 +0000 (19:01 +0000)]
Issue 8336- fix support for multipart SDP (imported from 1.2/1.4). (Alphaque)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47455
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 10 Nov 2006 17:53:46 +0000 (17:53 +0000)]
Blocked revisions 47444 via svnmerge
........
r47444 | rizzo | 2006-11-10 12:13:34 -0500 (Fri, 10 Nov 2006) | 3 lines
grep -m is not available on BSD, so use head -1 instead
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47446
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 10 Nov 2006 17:22:51 +0000 (17:22 +0000)]
manual merge from 1.4:
grep -m not available on bsd, use head -1 which works for all
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47445
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 10 Nov 2006 17:01:06 +0000 (17:01 +0000)]
Merged revisions 47436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47436 | tilghman | 2006-11-10 10:51:55 -0600 (Fri, 10 Nov 2006) | 2 lines
Discussion of these CLI changes resulted in more consistency (Bug 8236)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47439
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 10 Nov 2006 16:55:13 +0000 (16:55 +0000)]
Merged revisions 47437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47437 | file | 2006-11-10 11:53:16 -0500 (Fri, 10 Nov 2006) | 2 lines
Only split up extension and context if a value exists. (issue #8332 reported by loloski)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47438
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 10 Nov 2006 16:38:33 +0000 (16:38 +0000)]
Merged revisions 47433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47433 | kpfleming | 2006-11-10 10:36:49 -0600 (Fri, 10 Nov 2006) | 2 lines
if adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE, not LOG_DEBUG
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47435
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 10 Nov 2006 16:37:42 +0000 (16:37 +0000)]
Merged revisions 47432 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47432 | kpfleming | 2006-11-10 10:34:04 -0600 (Fri, 10 Nov 2006) | 2 lines
reflect addition/removal of dynamic queue members in queue_log, so that people using dialplan replacement for AgentCallbackLogin can still track login/logout (issue #7736, reported/patched by whoiswes but this commit was written by me and covers all three paths for AQM/RQM)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47434
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 13:14:44 +0000 (13:14 +0000)]
Ripping out bad support for 491 replies to INVITE's. Let's try again properly later.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47419
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 12:22:44 +0000 (12:22 +0000)]
Fix badly defined flag. Thanks fenlander!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47416
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 10 Nov 2006 12:11:06 +0000 (12:11 +0000)]
Small simplification and documentation correction.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47415
65c4cc65-6c06-0410-ace0-
fbb531ad65f3