Commit Graph

101 Commits

Author SHA1 Message Date
Terry Wilson
4e069885ce Fix feature inheritance with builtin features
When using builtin features like parking and transfers, the AST_FEATURE_* flags
would not be set correctly for all instances when either performing a builtin
attended transfer, or parking a call and getting the timeout callback.  Also,
there was no way on a per-call basis to specify what features someone should
have on picking up a parked call (since that doesn't involve the Dial() command).
There was a global option for setting whether or not all users who pickup a
parked call should have AST_FEATURE_REDIRECT set, but nothing for DISCONNECT,
AUTOMON, or PARKCALL.

This patch:
1) adds the BRIDGE_FEATURES dialplan variable which can be set either in the
dialplan or with setvar in channels that support it.  This variable can be set
to any combination of 't', 'k', 'w', and 'h' (case insensitive matching of the
equivalent dial options), to set what features should be activated on this
channel.  The patch moves the setting of the features datastores into the
bridging code instead of app_dial to help facilitate this.

2) adds global options parkedcallparking, parkedcallhangup, and
parkedcallrecording to be similar to the parkedcalltransfers option for
globally setting features.

3) has builtin_atxfer call builtin_parkcall if being transfered to the parking
extension since tracking everything through multiple masquerades, etc. is
difficult and error-prone

4) attempts to fix all cases of return calls from parking and completed builtin
transfers not having the correct permissions
(closes issue #14274)
Reported by: aragon
Patches: 
      fix_feature_inheritence.diff.txt uploaded by otherwiseguy (license 396)
Tested by: aragon, otherwiseguy

Review http://reviewboard.digium.com/r/138/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@172517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-30 17:47:41 +00:00
Mark Michelson
7fdf99803e Backport of AUDIOHOOK_INHERIT for Asterisk 1.4
(closes issue #13538)
Reported by: mbit
Patches:
      13538.patch uploaded by putnopvut (license 60)
Tested by: putnopvut



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@166157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-19 23:34:57 +00:00
Terry Wilson
3f6d4154b8 Backport fix from 1.6.0 that allows you to set parkedcalltransfers=no|caller|callee|both, but default to both which would be the equivalent of the existing behaviour.
The problem was that if someone parked a call, the callee and caller would both get assigned the builtin transfer feature, which would not only be potentially giving someone the ability to transfer themselves when they shouldn't have it, but would also dissallow reinviting the media off of the call.
(closes issue #12854)
	Reported by: davidw
	Patches: 
	      parkingfix4.diff.txt uploaded by otherwiseguy
		  Tested by: davidw, otherwiseguy


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@151763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-23 16:04:42 +00:00
BJ Weschke
829ffbc857 Another documentation fix.
(closes issue #13708)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@149840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 21:34:02 +00:00
Leif Madsen
c2f7267ebf Add in some missing updates to the CHANGES file for sip.conf
(closes issue #13100)
Reported and patch by: gknispel_proformatique


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@148990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:05:12 +00:00
Steve Murphy
5c2cf0f3c0 (closes issue #10668)
Reported by: arkadia
Tested by: murf, arkadia

Options added to forkCDR() app and the CDR() func to
remove some roadblocks for CDR applications.

The "show application ForkCDR" output was upgraded
to more fully explain the inner workings of forkCDR.

The A option was added to forkCDR to force the
CDR system to NOT change the disposition on the
original CDR, after the fork. This involves
ast_cdr_answer, _busy, _failed, and so on.

The T option was added to forkCDR to force 
obedience of the cdr LOCKED flag in the
ast_cdr_end, all the disposition changing
funcs (ast_cdr_answer, etc), and in the
ast_cdr_setvar func.

The CHANGES file was updated to explain ALL
the new options added to satisfy this bug report
(and some requests made verbally and via 
email, irc, etc, over the past months/year)

The 's' option was added to the CDR() func,
to force it to skip LOCKED cdr's in the
chain.

Again, the new options should be totally transparent
to existing apps! Current behavior of CDR,
forkCDR, and the rest of the CDR system should
not change one little bit. Until you add the
new options, at least!



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 13:47:34 +00:00
Joshua Colp
405dfcb54a Add an option to use the source IP address of RTP as the destination IP address of UDPTL when a specific option is enabled. If the remote side is properly configured (ports forwarded) then UDPTL will flow.
(closes issue #10417)
Reported by: cstadlmann


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@118646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 14:23:34 +00:00
Brett Bryant
61bee5aa54 Add new "pri show version" command to show the libpri version for support reasons.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@115257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-02 20:25:42 +00:00
Kevin P. Fleming
bf1486e917 Merged revisions 110869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r110869 | kpfleming | 2008-03-26 08:53:46 -0700 (Wed, 26 Mar 2008) | 2 lines

due to licensing restrictions, we cannot distribute the source code for iLBC encoding and decoding... so remove it, and add instructions on how the user can obtain it themselves

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@110880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 16:42:35 +00:00
Steve Murphy
0ab411f2ed Here lies the fixes that killed bug 8423 -- OriginateSuccess and OriginateError incomplete channel name. May it rest in peace.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-07 15:33:32 +00:00
Olle Johansson
e8350b836b Backport of patch for #7828 that was reported for trunk, but obviously
exists in 1.4 too. 


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 17:16:38 +00:00
Jason Parker
9a370f9ac1 grammar check
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 17:38:05 +00:00
Olle Johansson
8d3f730595 Corrections to changes
(Multiparking is not included)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 16:38:56 +00:00
Kevin P. Fleming
58f292feae update to reflect G.722 addition
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 12:15:58 +00:00
Kevin P. Fleming
35697a1fce remove Jingle as per mog
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 21:09:16 +00:00
Kevin P. Fleming
0f29a4ddd3 various cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 21:07:44 +00:00
Steve Murphy
80e8dd637b I put the accumulated changes from the commit logs and inspection, into CHANGES. Hope everyone approves\!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 15:22:37 +00:00
Kevin P. Fleming
2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Russell Bryant
9a06a7c14c formatting ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7036 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 00:31:44 +00:00
Russell Bryant
5efc81c789 This is a start toward coming up with a feature ChangeLog. It is from some
notes I was keeping while writing some documentation.  It needs some formatting
help as well as short descriptions for each of the new options.  We also need to
come up with a list for all the time not accounted for here.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 05:45:28 +00:00
Kevin P. Fleming
661a2b97af update with today's work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 22:08:04 +00:00
Kevin P. Fleming
bb47f9fdc3 rename ChangeLog to CHANGES, a file which will contain a list of the significant changes between Asterisk releases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 19:57:20 +00:00
Russell Bryant
65f586c866 Merge ChangeLog from the v1-0 branch and begin a major feature addition list
for 1.2.  I know this list is very incomplete so anyone that would like to help
add stuff, please contact me.  (No, 1.0.10 hasn't been released.  That is going
to come out with 1.2).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-10 04:14:59 +00:00
Mark Spencer
fbc2051442 Update ChangeLog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 02:43:53 +00:00
Mark Spencer
c1a5796446 Update changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 05:14:10 +00:00
Mark Spencer
cd4ebb34ec Update chanelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 04:46:18 +00:00
Mark Spencer
15c6bf0860 Add iax2 parsing for TNS/TON/PRES
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 01:56:08 +00:00
Russell Bryant
ca88a7476f update description for VoiceMailMain (bug #2546)
update ChangeLog for Asterisk 1.0.1


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-30 04:00:41 +00:00
Russell Bryant
66bf105bbc add ability to purge callers from queue if no agents are logged in
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-28 03:32:21 +00:00
Russell Bryant
efd42d2d5c make pick-up extension configurable. update ChangeLog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-26 20:47:01 +00:00
Mark Spencer
a23534c4e2 Update Changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-23 11:30:08 +00:00
Mark Spencer
c14b405974 Make Asterisk cause codes match those of Q.931 (bug #1999)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-12 22:09:18 +00:00
Mark Spencer
cbe0264949 Prep for RC-2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-12 03:05:08 +00:00
Mark Spencer
f3522b6c01 Plane commits (a.k.a. the Delta deltas): 1) Make muted reconnect 2) Add "X" option to meetme and add ${MEETME_EXIT_CONTEXT}, 3) Allow SIP call parking with supervised transfer, 4) Only create parking entries when calls actually get parked, 5) Add "sunshine" song, 6) Update hardware documentation, 7) Don't load empty strings from history file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-03 06:31:20 +00:00
Mark Spencer
823f4559c9 Update Changelog/BUGS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 02:52:52 +00:00
Mark Spencer
0a059f8ce1 Update Chanelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-25 14:37:14 +00:00
Mark Spencer
5ae7b48700 Update changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-08 03:39:29 +00:00
Mark Spencer
17e2416f68 Merge queue changes from Bug #214
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-13 06:00:41 +00:00
Mark Spencer
548d6bb6c0 Add G.726, revise Changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-27 05:16:26 +00:00
Mark Spencer
e2ecedfa70 Add Icecast streaming support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-17 07:03:14 +00:00
Mark Spencer
9a7374faf0 Countless small bugfixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-04 15:22:59 +00:00
Jeremy McNamara
de08da1003 Update as we go this time
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-16 05:39:43 +00:00
Malcolm Davenport
3b4935ad97 Modify Changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 20:11:18 +00:00
Jeremy McNamara
51bac49a91 update changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 06:08:27 +00:00
Jeremy McNamara
9e980fde5f update changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 06:07:00 +00:00
Mark Spencer
5d32badfee Update Changelog and README
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 21:18:57 +00:00
Mark Spencer
8cd100de39 Add PGSQL support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 15:03:30 +00:00
Mark Spencer
5c19df841a Update changelog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-24 23:48:29 +00:00
Mark Spencer
5a25985a00 Add true native data mode bridging
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-23 17:49:54 +00:00
Mark Spencer
fff9b4ecba Shave off a smaller amount of time (bug #79)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-16 17:40:39 +00:00