Olle Johansson [Sat, 5 Jul 2008 20:54:30 +0000 (20:54 +0000)]
Implement flags for AGI in the channel structure so taht "show channels" and
AMI commands can display that a channel is under control of an AGI.
Work inspired by work at customer site, but paid for by Edvina AB
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128240
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 5 Jul 2008 20:39:54 +0000 (20:39 +0000)]
Make TCP disabled by default (it's considered experimental)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128237
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 5 Jul 2008 20:37:53 +0000 (20:37 +0000)]
Reformatting the config sample
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128236
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 5 Jul 2008 20:04:50 +0000 (20:04 +0000)]
Stop cli command completion with tabs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128201
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 5 Jul 2008 19:52:54 +0000 (19:52 +0000)]
Make this actually evaluate how it was intended to be.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128198
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 5 Jul 2008 19:27:42 +0000 (19:27 +0000)]
Add new SIP cli command "sip show channelstats" that displays some QoS data (if we have RTCP reports
and not use the p2p rtp bridge). I could not find a way to detect us using the p2p bridge, which
would be nice.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128197
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 5 Jul 2008 15:17:51 +0000 (15:17 +0000)]
LDAP schema updates
(closes issue #12860)
Reported by: flyn
Patches:
asterisk.ldif uploaded by suretec (license 70)
asterisk.schema uploaded by suretec (license 70)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128160
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 5 Jul 2008 03:39:07 +0000 (03:39 +0000)]
It would help if we actually parsed the ss7_explicitacm option in the config file...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128125
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 5 Jul 2008 03:26:42 +0000 (03:26 +0000)]
Add option to wait to be able to explicitly send ACM via the Proceeding() application in the dialplan. Also minor documentation update explaining how to setup multiple signalling links within a linkset
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128122
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 4 Jul 2008 16:41:03 +0000 (16:41 +0000)]
Fullcontact needs more than 20 characters, even for the simplest case
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128082
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 4 Jul 2008 16:11:32 +0000 (16:11 +0000)]
Blocked revisions 128029 via svnmerge
........
r128029 | tilghman | 2008-07-04 11:11:03 -0500 (Fri, 04 Jul 2008) | 2 lines
Move the free down one
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128030
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 4 Jul 2008 16:06:34 +0000 (16:06 +0000)]
Merged revisions 127973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r127973 | tilghman | 2008-07-03 22:30:30 -0500 (Thu, 03 Jul 2008) | 8 lines
Fix the 'dialplan remove extension' logic, so that it a) works with cidmatch,
and b) completes contexts correctly when the extension is ambiguous.
(closes issue #12980)
Reported by: licedey
Patches:
20080703__bug12980.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128027
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 4 Jul 2008 14:36:28 +0000 (14:36 +0000)]
- reorganize SIP extensions alphabetically, to make it easier to synch with the IANA list
- add a few new registered and well-known extension names
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127995
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Thu, 3 Jul 2008 22:47:48 +0000 (22:47 +0000)]
Fix one more file that got changed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127934
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Thu, 3 Jul 2008 22:44:39 +0000 (22:44 +0000)]
Remove commit that somehow got mergeed into trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127933
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Thu, 3 Jul 2008 22:36:02 +0000 (22:36 +0000)]
Update these files with transfer code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127931
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 3 Jul 2008 22:23:04 +0000 (22:23 +0000)]
Merged revisions 127892,127895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r127892 | kpfleming | 2008-07-03 17:18:38 -0500 (Thu, 03 Jul 2008) | 6 lines
a couple of small Solaris-related fixes
(closes issue #11885)
Reported by: snuffy, asgaroth
........
r127895 | kpfleming | 2008-07-03 17:20:16 -0500 (Thu, 03 Jul 2008) | 3 lines
remove this, it has been moved to the main Makefile
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127903
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 3 Jul 2008 20:59:51 +0000 (20:59 +0000)]
Make change proposed by andrew53 on bugtracker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127857
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 3 Jul 2008 20:37:21 +0000 (20:37 +0000)]
Thanks to a suggestion from seanbright, print a warning if the attachment
of the whisper or barge audiohooks fails.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127856
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 3 Jul 2008 20:23:57 +0000 (20:23 +0000)]
Fix build
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127852
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 3 Jul 2008 20:19:10 +0000 (20:19 +0000)]
Fix a crash when attempting to spy on an unbridged channel.
(closes issue #12986)
Reported by: andrew53
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127831
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 3 Jul 2008 17:16:44 +0000 (17:16 +0000)]
Merged revisions 127663 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r127663 | murf | 2008-07-02 18:16:25 -0600 (Wed, 02 Jul 2008) | 30 lines
The CDRfix4/5/6 omnibus cdr fixes.
(closes issue #10927)
Reported by: murf
Tested by: murf, deeperror
(closes issue #12907)
Reported by: falves11
Tested by: murf, falves11
(closes issue #11849)
Reported by: greyvoip
As to 11849, I think these changes fix the core problems
brought up in that bug, but perhaps not the more global
problems created by the limitations of CDR's themselves
not being oriented around transfers.
Reopen if necc, but bug reports are not the best
medium for enhancement discussions. We need to start
a second-generation CDR standardization effort to cover
transfers.
(closes issue #11093)
Reported by: rossbeer
Tested by: greyvoip, murf
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127793
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 3 Jul 2008 16:48:23 +0000 (16:48 +0000)]
Make sure we stop session timers as soon as we start hanging up an active call.
May fix issue 12919.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127791
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 3 Jul 2008 16:25:59 +0000 (16:25 +0000)]
Revert some logic for session timers. We do send in-dialog requests that should not have session-timer
require headers, like MESSAGE and REFER. So in the future, only add them on requests and responses
that are related to INVITEs and re-INVITEs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127779
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 3 Jul 2008 16:22:02 +0000 (16:22 +0000)]
some minor fixes found while working on issue #12911 (and block the rev from 1.4 since the equivalent is already here)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127767
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 3 Jul 2008 14:34:25 +0000 (14:34 +0000)]
Added a new option, "timeoutpriority" to queues.conf. A detailed
explanation of the change may be found in configs/queues.conf.sample
(closes issue #12690)
Reported by: atis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127720
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 3 Jul 2008 09:59:12 +0000 (09:59 +0000)]
Fix bad formatting in a very confusing function. Who added the sipdb sql output?
It's mixing peers and users in a strange way and should really not be a CLI command,
since it's not meant for human output. It should be done with an app connecting to
manager.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127685
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 2 Jul 2008 22:17:37 +0000 (22:17 +0000)]
Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127622
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Wed, 2 Jul 2008 22:16:29 +0000 (22:16 +0000)]
Update transport= in sip so that the option is not broken from a recent commit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127621
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 2 Jul 2008 21:27:53 +0000 (21:27 +0000)]
Keep ast_app_inboxcount API compatible with 1.6.0.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127609
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Jul 2008 21:09:18 +0000 (21:09 +0000)]
Add a janitor project to use ARRAY_LEN instead of in-line
sizeof() and division.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127566
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 2 Jul 2008 20:52:27 +0000 (20:52 +0000)]
Fix some crashlike bugs because flag could be NULL in play_record_review().
(Closes issue #12892)
Reported by: jaroth
Patch originally by jaroth, fixed by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127564
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Jul 2008 20:49:08 +0000 (20:49 +0000)]
Merged revisions 127560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r127560 | mmichelson | 2008-07-02 15:47:38 -0500 (Wed, 02 Jul 2008) | 3 lines
Fix thread-safety of some of the pbx_builtin_getvar_helper calls
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127562
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Jul 2008 20:43:55 +0000 (20:43 +0000)]
The ackcall and endcall options in agents.conf now have supplemental options
acceptdtmf and enddtmf. These allow for the DTMF pressed to be configurable
instead of being hardcoded to '#' and '*'.
(AST-86)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127558
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Wed, 2 Jul 2008 20:28:17 +0000 (20:28 +0000)]
Expose the prefix variable so that it can be used by modules depending on http support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127545
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 2 Jul 2008 19:47:50 +0000 (19:47 +0000)]
Blocked revisions 127501 via svnmerge
................
r127501 | tilghman | 2008-07-02 14:47:15 -0500 (Wed, 02 Jul 2008) | 14 lines
Merged revisions 127466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r127466 | tilghman | 2008-07-02 13:31:11 -0500 (Wed, 02 Jul 2008) | 6 lines
Solaris fix
(closes issue #12949)
Reported by: snuffy
Patches:
bug_12949.diff uploaded by snuffy (license 35)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127502
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 2 Jul 2008 18:31:11 +0000 (18:31 +0000)]
Solaris fix
(closes issue #12949)
Reported by: snuffy
Patches:
bug_12949.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127466
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Wed, 2 Jul 2008 17:27:36 +0000 (17:27 +0000)]
Fix to sip_parse_host so that it passes the correct information to sip_registry.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127434
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 2 Jul 2008 14:50:45 +0000 (14:50 +0000)]
Fix a bunch of places where \arg was used instead of \param. Using \arg
to document arguments seems logical, and does work, but is not the best
thing to use.
\arg in doxygen is simply for creating non-nested unordered lists. \param is
the correct tag to use to document function parameters, and will come out
better in the generated documentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127401
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Wed, 2 Jul 2008 14:30:09 +0000 (14:30 +0000)]
Fix a bug I noticed while doing the previous merge
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127398
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 2 Jul 2008 12:08:33 +0000 (12:08 +0000)]
Add a locking section to the coding guidelines document.
This section covers some locking fundamentals, as well as some information on
locking as it is used in Asterisk. It describes some of the ways that are used
and could be used to achieve deadlock avoidance. It also demonstrates the
unfortunate conclusion that with the use of recursive locks, none of the
constructs in use today are failsafe from deadlocks. Finally, it makes some
recommendations for new code being written. As proper locking strategies is a
complex subject, this section still has room for expansion and improvement.
This is a result of collaboration between Luigi Rizzo and myself on the
asterisk-dev mailing list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127363
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 2 Jul 2008 12:06:48 +0000 (12:06 +0000)]
plug another panic when the gui cannot be started.
We can still send video, just don't try to use what is not available.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127362
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 2 Jul 2008 09:16:29 +0000 (09:16 +0000)]
prevent a segfault when trying to start the gui without any
specific configuration in oss.conf
(reported by Klaus Darillion on the -video mailing list).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127330
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 2 Jul 2008 02:48:43 +0000 (02:48 +0000)]
Change the global timer B to be dependent on the value of the T1 timer, as
recommended in RFC 3261, instead of being hardcoded to 32 seconds. This is
important for LANs, as it allows autocongestion to occur much more quickly, if
desired by the local PBX administrator. It also corrects a bug: if the T1
timer was increased beyond 500ms, then timer B would have been set at a much
lower value than recommended.
(closes issue #12544)
Reported by: kactus
Patches:
20080616__bug12544.diff.txt uploaded by Corydon76 (license 14)
Tested by: kactus
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127297
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 1 Jul 2008 23:38:12 +0000 (23:38 +0000)]
Merged revisions 127244 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r127244 | mmichelson | 2008-07-01 18:36:40 -0500 (Tue, 01 Jul 2008) | 5 lines
Add error message to failed open(2) calls inside the copy() function of
app_voicemail. This idea came as part of my work in helping to resolve
issue #12764.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127245
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 1 Jul 2008 21:43:55 +0000 (21:43 +0000)]
Add a \todo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127210
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 1 Jul 2008 21:21:26 +0000 (21:21 +0000)]
Add AMI events for start/stop of MOH
(closes issue #12909)
Reported by: chris-mac
Patches:
res_musiconhold-event.patch uploaded by chris-mac (license 506)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127169
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 1 Jul 2008 21:16:00 +0000 (21:16 +0000)]
Place the delay in __ast_answer prior to the channel-specific answer
callback. This change differs from commit 127113 in that now the
channel is not set to AST_STATE_UP until after the answer callback.
(closes issue #12924)
Reported by: snyfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127157
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Tue, 1 Jul 2008 21:03:52 +0000 (21:03 +0000)]
Add a configuration option so the global outboundproxy can use tcptls without it being defined by each sip user.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127154
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 1 Jul 2008 20:51:43 +0000 (20:51 +0000)]
Fix a typo that caused this asterisk.conf to not get correctly generated.
(closes issue #12966)
Reported by: ibc
Patches:
12966.patch uploaded by bkruse (license 132)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127152
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 1 Jul 2008 20:28:54 +0000 (20:28 +0000)]
Merged revisions 127133 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r127133 | tilghman | 2008-07-01 15:25:37 -0500 (Tue, 01 Jul 2008) | 2 lines
Disable the old, slow search for matching callno in chan_iax2 (but allow it to be reenabled for debugging)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127143
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 1 Jul 2008 19:53:03 +0000 (19:53 +0000)]
change the process of inserting a delay into the ast_answer() path so that we don't tell the calling channel that it has been answered unutil after the delay; for a single-thread call this won't matter all, but for a dual-thread call (using chan_local) this may fix the problem in issue 12924
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127113
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 1 Jul 2008 19:24:29 +0000 (19:24 +0000)]
Blocked revisions 127069 via svnmerge
........
r127069 | tilghman | 2008-07-01 14:05:28 -0500 (Tue, 01 Jul 2008) | 2 lines
Oops
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127089
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 1 Jul 2008 19:20:25 +0000 (19:20 +0000)]
Merged revisions 127068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r127068 | tilghman | 2008-07-01 13:52:53 -0500 (Tue, 01 Jul 2008) | 8 lines
Change around how we schedule pings and lagrqs, and fix a reason why the
jobs were not getting properly cancelled.
(closes issue #12903)
Reported by: stevedavies
Patches:
20080620__bug12903__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: stevedavies
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127074
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 1 Jul 2008 17:22:47 +0000 (17:22 +0000)]
make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127017
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 1 Jul 2008 16:52:29 +0000 (16:52 +0000)]
Merged revisions 126999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126999 | tilghman | 2008-07-01 11:50:46 -0500 (Tue, 01 Jul 2008) | 2 lines
Suppress annoying warning by finding the remaining cases where the callno is not in the hash.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127000
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 1 Jul 2008 16:28:43 +0000 (16:28 +0000)]
even uglier gui with more buttons
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126991
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 1 Jul 2008 16:16:36 +0000 (16:16 +0000)]
another minor ast_channel memory size decrease... for nearly all channels, 'dialcontext' is only going to be set once during the channel's lifetime, so make it a string field instead of a char array
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126960
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 1 Jul 2008 16:14:28 +0000 (16:14 +0000)]
add documentation on video console support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126959
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 1 Jul 2008 15:03:59 +0000 (15:03 +0000)]
Merged revisions 126902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126902 | oej | 2008-07-01 16:59:31 +0200 (Tis, 01 Jul 2008) | 7 lines
Use domain part of SIP uri in register= configuration as fromdomain.
Reported by: one47
Patches:
sip-reg-fromdom2.dpatch uploaded by one47 (license 23)
(closes issue #12474)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126903
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 1 Jul 2008 14:32:15 +0000 (14:32 +0000)]
Merged revisions 126899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126899 | oej | 2008-07-01 16:27:33 +0200 (Tis, 01 Jul 2008) | 8 lines
Handle escaped URI's in call pickups. Patch by oej and IgorG.
Reported by: IgorG
Patches:
bug12299-11062-v2.patch uploaded by IgorG (license 20)
Tested by: IgorG, oej
(closes issue #12299)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126900
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 1 Jul 2008 12:54:57 +0000 (12:54 +0000)]
Merged revisions 126844 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126844 | oej | 2008-07-01 14:53:01 +0200 (Tis, 01 Jul 2008) | 5 lines
Clear up documentation on "domain=" setting in sip.conf
Reported by: davidw
(closes issue #12413)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126845
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 1 Jul 2008 12:29:31 +0000 (12:29 +0000)]
use %p to print a pointer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126835
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 1 Jul 2008 11:58:17 +0000 (11:58 +0000)]
Merged revisions 126789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126789 | oej | 2008-07-01 13:51:38 +0200 (Tis, 01 Jul 2008) | 6 lines
Report 200 OK to all in-dialog OPTIONs requests (to confirm that the dialog
exist). Don't bother checking the request URI.
(closes issue #11264)
Reported by: ibc
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126790
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 1 Jul 2008 09:51:22 +0000 (09:51 +0000)]
Merged revisions 126735 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126735 | oej | 2008-07-01 09:49:15 +0200 (Tis, 01 Jul 2008) | 7 lines
Fix bad XML for hold notification.
Reported by: gowen72
Patches:
hold.patch uploaded by gowen72 (license 432)
(closes issue #12942)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126755
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Mon, 30 Jun 2008 23:11:51 +0000 (23:11 +0000)]
Blocked revisions 126680 via svnmerge
........
r126680 | jpeeler | 2008-06-30 18:11:16 -0500 (Mon, 30 Jun 2008) | 3 lines
Load the proper channel configuration file based on which driver was detected.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126681
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Mon, 30 Jun 2008 22:34:08 +0000 (22:34 +0000)]
rename zapata.conf.sample to chan_dahdi.conf.sample
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126675
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Mon, 30 Jun 2008 20:25:46 +0000 (20:25 +0000)]
Add support to see MTP2 down events when the link layer drops in SS7
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126637
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 30 Jun 2008 16:07:25 +0000 (16:07 +0000)]
Merged revisions 126573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126573 | russell | 2008-06-30 11:05:08 -0500 (Mon, 30 Jun 2008) | 10 lines
Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE()
macro. This caused the lock to not actually be released, and as a result, not
avoid deadlocks at all. This resolves the issues reported in the last while about
Asterisk locking up all over the place (and most commonly, in chan_iax2).
(closes issue #12927)
(closes issue #12940)
(closes issue #12925)
(potentially closes others ...)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126574
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 30 Jun 2008 15:45:15 +0000 (15:45 +0000)]
implement the 'freeze' function for incoming frames;
fix a bug which caused a crash when a videodevice was
specified after startgui=1 in the config file. This also
involves a slightly different method to determine if the
gui is active or not.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126572
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 30 Jun 2008 15:44:50 +0000 (15:44 +0000)]
fix an uninitialized variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126571
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 30 Jun 2008 13:03:53 +0000 (13:03 +0000)]
The following patch with some changes for trunk...
Merged revisions 126516 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126516 | oej | 2008-06-30 14:50:55 +0200 (MÃ¥n, 30 Jun 2008) | 10 lines
Send all responses to an INVITE reliably, so that we retransmit if we don't get an ACK and
also fail if we don't get the very same precious ACK. Based on patch by tsearle, with
my own additions.
(closes issue #12951)
Reported by: tsearle
Patches:
busy_retransmit.patch uploaded by tsearle (license 373)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126517
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 30 Jun 2008 12:49:56 +0000 (12:49 +0000)]
a few minor updates and typo fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126515
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Mon, 30 Jun 2008 11:57:42 +0000 (11:57 +0000)]
Cast a few more strings to char *, so that we can compile cleanly against
FreeTDS 0.60. Update the docs to reflect that we can now compile and run
against all modern releases of FreeTDS (0.60 through 0.82)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126513
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 29 Jun 2008 21:17:14 +0000 (21:17 +0000)]
import the recent additions for video console into trunk,
giving you support for up to 9 video sources (e.g. webcams,
or X11 grabbers, etc.) active at once, displaying thumbnails for
each of them in the main GUI window, and with the ability to switch
between them on the fly during a conversation.
The code also implements a 'Picture in Picture' feature,
allowing you to select any source as primary or secondary,
and move the PiP window by just dragging it with the mouse.
The window looks like this:
________________________________________________________________
| ______ ______ ______ ______ ______ ______ ______ |
| | tn.1 | | tn.2 | | tn.3 | | tn.4 | | tn.5 | | tn.6 | | tn.7 | |
| |______| |______| |______| |______| |______| |______| |______| |
| ______ ______ ______ ______ ______ ______ ______ |
| |______| |______| |______| |______| |______| |______| |______| |
| _________________ __________________ _________________ |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | remote video | | | | local video | |
| | | | | | ______ | |
| | | | keypad | | | PIP || |
| | | | | | |______|| |
| |_________________| | | |_________________| |
| | | |
| | | |
| |__________________| |
|________________________________________________________________|
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126480
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 29 Jun 2008 18:50:20 +0000 (18:50 +0000)]
fix wrong argument in checking boundaries for a rectangle
some whitespace fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126448
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 29 Jun 2008 18:06:13 +0000 (18:06 +0000)]
Blocked revisions 126395 via svnmerge
........
r126395 | kpfleming | 2008-06-29 11:05:34 -0700 (Sun, 29 Jun 2008) | 1 line
ignore warnings for prototypes in GTK headers
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126396
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 29 Jun 2008 16:19:29 +0000 (16:19 +0000)]
various minor fixes created while i worked on getting *every* Asterisk module to build on laptop in dev mode:
remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c
add searching for OpenAIS libraries in /usr/lib/openais if a path is not specified; not sure if this is really the optimal solution, but it works
make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126356
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 29 Jun 2008 13:20:01 +0000 (13:20 +0000)]
This was bogus, need to find a better way.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126319
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 29 Jun 2008 13:11:55 +0000 (13:11 +0000)]
While we're at it, escape all the columns in our TDS queries as well. Double
quotes seems to be more standard than square brackets (Sybase and SQL Server
both support them).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126312
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 29 Jun 2008 13:02:54 +0000 (13:02 +0000)]
implement a 'toggle' option for 'console mute' and 'console unmute'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126311
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 29 Jun 2008 12:59:26 +0000 (12:59 +0000)]
add some defines and fields in preparation for the import of
the video source switching support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126310
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 29 Jun 2008 12:53:45 +0000 (12:53 +0000)]
accept any name starting with X11 for X11 grabbers - this lets
you have multiple active instances of this grabber;
require v4l device names to start with '/dev/' - prevents some useless
attempt to open a file as a device.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126309
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 29 Jun 2008 12:45:59 +0000 (12:45 +0000)]
make this compile after ast_frame's data field changed to a union
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126308
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 29 Jun 2008 12:06:46 +0000 (12:06 +0000)]
Quote column names when inserting CDRs into postgres to avoid conflicts
with reserved words.
(closes issue #12947)
Reported by: panolex
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126274
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sat, 28 Jun 2008 21:28:16 +0000 (21:28 +0000)]
Merge in changes from my cdr-tds-conversion branch. This changes the internal
implementation from using the volatile libtds, to using the db-lib front end.
The unintended side effect of this is that we support (at least) versions 0.62
through 0.82 of the FreeTDS distribution without any #ifdef ugliness.
(closes issue #12844)
Reported by: jcollie
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126226
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 28 Jun 2008 15:54:04 +0000 (15:54 +0000)]
yay for airplane ride optimizations... sort the fields in ast_channel by alignment requirements, saving 36 bytes per instance on a 64-bit platform
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126187
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 28 Jun 2008 14:56:56 +0000 (14:56 +0000)]
fix silly syntax error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126154
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 28 Jun 2008 14:46:08 +0000 (14:46 +0000)]
add message when no UI for menuselect is present
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126153
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 28 Jun 2008 14:34:07 +0000 (14:34 +0000)]
use batch-mode (no user interface) menuselect for --check-deps operations
move automatic user interface selection for menuselect to this Makefile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126152
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Fri, 27 Jun 2008 23:29:56 +0000 (23:29 +0000)]
Pretty up the 'cdr show status' output.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126115
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 27 Jun 2008 22:10:34 +0000 (22:10 +0000)]
Merged revisions 126056 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r126056 | tilghman | 2008-06-27 17:01:09 -0500 (Fri, 27 Jun 2008) | 4 lines
When we get a 408 Timeout, don't stop trying to re-register.
(closes issue #12863)
Reported by: ricvil
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126057
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 27 Jun 2008 20:38:59 +0000 (20:38 +0000)]
Separate multiple items encoded into a single field with ';'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126021
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 27 Jun 2008 19:19:08 +0000 (19:19 +0000)]
Fix a typo. Someone on IRC copied this literally and then wondered why it
wasn't working. :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125988
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 27 Jun 2008 19:05:40 +0000 (19:05 +0000)]
Revert this part of the fix. We'll fix it in libss7
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125984
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 27 Jun 2008 19:00:44 +0000 (19:00 +0000)]
Obviously somebody didn't compile with libss7 support when doing the DAHDI conversion.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125982
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 27 Jun 2008 18:32:17 +0000 (18:32 +0000)]
Add support for new commands to block/unblock all CICs on a linkset
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125980
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Fri, 27 Jun 2008 17:35:41 +0000 (17:35 +0000)]
Small error in the function that converts peer transports to a string.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125947
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 27 Jun 2008 17:02:56 +0000 (17:02 +0000)]
Document DLA_UNLOCK and DLA_LOCK
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125895
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 27 Jun 2008 16:48:05 +0000 (16:48 +0000)]
Blocked revisions 125893 via svnmerge
........
r125893 | tilghman | 2008-06-27 11:46:05 -0500 (Fri, 27 Jun 2008) | 7 lines
Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first
check for HAVE_ZAPTEL.
(closes issue #12938)
Reported by: opticron
Patches:
tonezone_compat.diff uploaded by opticron (license 267)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125894
65c4cc65-6c06-0410-ace0-
fbb531ad65f3