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
Russell Bryant [Fri, 10 Nov 2006 04:30:23 +0000 (04:30 +0000)]
Various little bits of code cleanup to reduce nesting, remove useless casts,
and to remove a duplicated error message after a memory allocation error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47410
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 10 Nov 2006 03:59:48 +0000 (03:59 +0000)]
Add the ability to specify multiple prompts to the Read() dialplan application,
similar to Background() and Playback().
(issue #7897, jsmith, with some modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47408
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 10 Nov 2006 03:45:59 +0000 (03:45 +0000)]
Merged revisions 47405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47405 | file | 2006-11-09 22:44:36 -0500 (Thu, 09 Nov 2006) | 2 lines
Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47406
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 10 Nov 2006 03:34:13 +0000 (03:34 +0000)]
This should already be called while locked.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47404
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 9 Nov 2006 22:34:00 +0000 (22:34 +0000)]
Merged revisions 47398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47398 | file | 2006-11-09 17:32:30 -0500 (Thu, 09 Nov 2006) | 2 lines
Do conversion in a more easier to read and working way for \r, \n, and \t. (issue #8324 reported by johnlange)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47399
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 9 Nov 2006 21:32:27 +0000 (21:32 +0000)]
Merged revisions 47391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines
Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap. These modules use some preprocessor directives to
determine what it will report to Asterisk as its description. However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326, #8328)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47392
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 9 Nov 2006 17:08:29 +0000 (17:08 +0000)]
Merged revisions 47380 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47380 | file | 2006-11-09 11:53:25 -0500 (Thu, 09 Nov 2006) | 10 lines
Merged revisions 47379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov 2006) | 2 lines
Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47382
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 9 Nov 2006 16:30:06 +0000 (16:30 +0000)]
Merged revisions 47377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47377 | russell | 2006-11-09 11:28:15 -0500 (Thu, 09 Nov 2006) | 2 lines
fix tab completion for "core debug channel" and "core no debug channel"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47378
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 9 Nov 2006 16:26:47 +0000 (16:26 +0000)]
Merged revisions 47375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47375 | russell | 2006-11-09 11:24:02 -0500 (Thu, 09 Nov 2006) | 3 lines
Fix "core show channel". Also, fix tab completion for both "core show channel"
and "core show channels".
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47376
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 9 Nov 2006 16:20:43 +0000 (16:20 +0000)]
Merged revisions 47372 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47372 | russell | 2006-11-09 11:18:33 -0500 (Thu, 09 Nov 2006) | 3 lines
Fix "core debug channel <whatever>". I guess someone needs to go through and
audit every CLI command that changed number of arguments ...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47374
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 9 Nov 2006 16:15:49 +0000 (16:15 +0000)]
Blocked revisions 47369 via svnmerge
........
r47369 | russell | 2006-11-09 11:04:38 -0500 (Thu, 09 Nov 2006) | 3 lines
Fix argument parsing for the "core show profile" CLI command
(fixed by rizzo in his branch, team/rizzo/astobj2)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47371
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 9 Nov 2006 15:51:15 +0000 (15:51 +0000)]
Merged revisions 47366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47366 | russell | 2006-11-09 10:49:39 -0500 (Thu, 09 Nov 2006) | 3 lines
Fix another CLI command, "core show uptime" ...
(issue #8323, reported by johnlange, fixed by myself)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47367
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 9 Nov 2006 06:35:05 +0000 (06:35 +0000)]
Merged revisions 47352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47352 | russell | 2006-11-09 01:31:37 -0500 (Thu, 09 Nov 2006) | 3 lines
fix "core show version" to reflect the new number of arguments for this
CLI command (issue #8316, kshumard)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47353
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 9 Nov 2006 00:46:24 +0000 (00:46 +0000)]
Blocking 47344 from automerging into trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47351
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 9 Nov 2006 00:40:14 +0000 (00:40 +0000)]
Blocking 47348 from automerging into trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47350
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 8 Nov 2006 23:17:27 +0000 (23:17 +0000)]
This mod via bug 7531
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47349
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 8 Nov 2006 22:52:01 +0000 (22:52 +0000)]
committed in behalf of bug 8190
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47343
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 8 Nov 2006 22:35:22 +0000 (22:35 +0000)]
- Add Max-Forwards higher in the packet, following recommendations
- Fix documentation for sip_pvt_lock/unlock - doxygen does not inherit like zapata.conf !!!
- Change doc for a sip_pvt setting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47341
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 8 Nov 2006 21:59:51 +0000 (21:59 +0000)]
restore display of G.722 codec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47339
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 8 Nov 2006 18:28:53 +0000 (18:28 +0000)]
Merged revisions 47333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47333 | kpfleming | 2006-11-08 12:07:16 -0600 (Wed, 08 Nov 2006) | 2 lines
add simple fix for SDP to report proper sample rate for G.722 media sessions
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47337
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 8 Nov 2006 18:26:52 +0000 (18:26 +0000)]
Display CID matching information when using dialplan show. (issue #8279 reported by caio1982)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47335
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 8 Nov 2006 17:06:33 +0000 (17:06 +0000)]
Merged revisions 47331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47331 | russell | 2006-11-08 12:03:09 -0500 (Wed, 08 Nov 2006) | 5 lines
I occasionally get email from users that are trying to figure out what this
does, or due to some misunderstanding as to what it is supposed to do, can't
get it to work. So, I have added some text here to hopefully explain what
this application does and does not do.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47332
65c4cc65-6c06-0410-ace0-
fbb531ad65f3