dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

205 Commits

Author SHA1 Message Date
qwell c3f386fc6b Fix UPGRADE.txt files for Asterisk 10.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@329130 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-21 16:22:58 +00:00
lmadsen ca43a479c8 Merged revisions 328448 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

........
  r328448 | lmadsen | 2011-07-15 16:57:15 -0400 (Fri, 15 Jul 2011) | 2 lines
  
  Update UPGRADE.txt and CHANGES files.
  Update documentation files stating that deprecated modules are no longer built by default.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@328449 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-15 21:01:41 +00:00
lmadsen 53890401ac Add UPGRADE-1.10.txt file from UPGRADE.txt.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@328079 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-13 21:06:23 +00:00
dvossel 644c8745fe Adds entry in UPDATES.txt for removal of formats/format_sln16.c. Fixes typo in CHANGES as well.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@327168 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-08 20:33:49 +00:00
twilson 9b10a0c265 Replace Berkeley DB with SQLite 3
There were some bugs in the very ancient version of Berkeley DB that Asterisk
used. Instead of spending the time tracking down the bugs in the Berkeley code
we move to the much better documented SQLite 3.

Conversion of the old astdb happens at runtime by running the included
astdb2sqlite3 utility. The ast_db API with SQLite 3 backend should behave
identically to the old Berkeley backend, but in the future we could offer a
much more robust interface.

We do not include the SQLite 3 library in the source tree, but instead rely
upon the distribution-provided libraries. SQLite is so ubiquitous that this
should not place undue burden on administrators.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@326589 f38db490-d61c-443f-a65b-d21fe96a405b
2011-07-06 20:58:12 +00:00
irroot f4e69acdf3 Commit "distrotech" app_queue changes to Trunk
* Added general option negative_penalty_invalid default off. when set
   members are seen as invalid/logged out when there penalty is negative.  
   for realtime members when set remove from queue will set penalty to -1.  
 * Added queue option autopausedelay when autopause is enabled it will be
   delayed for this number of seconds since last successful call if there
   was no prior call the agent will be autopaused immediately.
 * Added member option ignorebusy this when set and ringinuse is not   
   will allow per member control of multiple calls as ringinuse does for
   the Queue.
  
 - Mark QUEUE_MEMBER_PENALTY Deprecated it never worked for realtime members
 - QUEUE_MEMBER is now R/W supporting setting paused, ignorebusy and penalty.

(closes issue ASTERISK-17421)
(closes issue ASTERISK-17391)
Reported by: irroot
Tested by: irroot, jrose
Review: https://reviewboard.asterisk.org/r/1119/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@325483 f38db490-d61c-443f-a65b-d21fe96a405b
2011-06-29 06:39:26 +00:00
rmudgett c02794a6c1 Merged revisions 321337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

Also revert -r321331 and -r321332.

........
  r321337 | rmudgett | 2011-05-27 17:06:43 -0500 (Fri, 27 May 2011) | 7 lines
  
  The app_privacy args have undocumented "options" position, interferes with "context" position.
  
  * Add documention for unused "options" position to match existing code.
  
  (closes issue #19273)
  Reported by: mdavenport
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@321338 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-27 22:09:03 +00:00
rmudgett a4b727cced Add note about PrivacyManager to UPGRADE.txt
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@321332 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-27 21:37:05 +00:00
mnicholson e7be0dbc5f Default to starting an autoservice in pbx_lua. The autoservice is
automatically stopped when applications are executed, so this shouldn't cause
any problems.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@317806 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-06 19:14:39 +00:00
mnicholson 19b6396301 Make pbx_lua handle managing the autoservice better.
Make autoservice_start() and autoservice_stop() return nothing.  Also check if
the autoservice flag is set before starting or stopping the autoservice and
stop and start the autoservice when returning control to and getting control
from the pbx engine.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@317803 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-06 19:01:57 +00:00
mnicholson 1804a664e3 Added note about changes in pbx_lua's behavior when applications do dialplan jumps
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@317802 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-06 18:40:35 +00:00
russell b1614a0ef5 Add CEL extra field to cel_pgsql.
(closes issue #18462)
Reported by: joscas
Patches:
      bug_18462.diff uploaded by snuffy (license 35)
      cel_pgsql.conf.sample.issue18462.patch uploaded by joscas (license 1180)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@317482 f38db490-d61c-443f-a65b-d21fe96a405b
2011-05-05 23:08:05 +00:00
dvossel c7b7b920af New HD ConfBridge conferencing application.
Includes a new highly optimized and customizable
ConfBridge application capable of mixing audio at
sample rates ranging from 8khz-192khz.

Review: https://reviewboard.asterisk.org/r/1147/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@314598 f38db490-d61c-443f-a65b-d21fe96a405b
2011-04-21 18:11:40 +00:00
rmudgett 971f2d66ed Optional HOLD/RETRIEVE signaling for PTMP TE when the bridge goes on and off hold.
Added the moh_signaling option to specify what to do when the channel's
bridged peer puts the ISDN channel on and off of hold.

Implemented as a FSM to control libpri ISDN signaling when the bridged
peer places the channel on and off of hold with the AST_CONTROL_HOLD and
AST_CONTROL_UNHOLD control frames.

JIRA SWP-2687
JIRA ABE-2691

Review:	https://reviewboard.asterisk.org/r/1063/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@300212 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-04 16:38:28 +00:00
pabelanger eb8983f14f New CLI command 'gtalk show settings'.
Review: https://reviewboard.asterisk.org/r/984/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@293578 f38db490-d61c-443f-a65b-d21fe96a405b
2010-11-02 15:14:12 +00:00
mmichelson a1aeee27ef Enable IPv6 for the built-in HTTP server.
Review: https://reviewboard.asterisk.org/r/986



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@293273 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-29 20:46:06 +00:00
russell d743bff24b Shuffle UPGRADE.txt files for 1.10.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@279118 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23 19:17:30 +00:00
russell ed200ae888 Update documentation for 'comebacktoorigin' in featuers.conf.
The documentation for this option did not match the code.  Fix that along with
some minor cleanups to the code along the way.  Document a slight change in
behavior (to something that was previously undocumented) in UPGRADE.txt.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278425 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-21 13:02:46 +00:00
rmudgett ad58aa92a2 ast_callerid restructuring
The purpose of this patch is to eliminate struct ast_callerid since it has
turned into a miscellaneous collection of various party information.

Eliminate struct ast_callerid and replace it with the following struct
organization:

struct ast_party_name {
	char *str;
	int char_set;
	int presentation;
	unsigned char valid;
};
struct ast_party_number {
	char *str;
	int plan;
	int presentation;
	unsigned char valid;
};
struct ast_party_subaddress {
	char *str;
	int type;
	unsigned char odd_even_indicator;
	unsigned char valid;
};
struct ast_party_id {
	struct ast_party_name name;
	struct ast_party_number number;
	struct ast_party_subaddress subaddress;
	char *tag;
};
struct ast_party_dialed {
	struct {
		char *str;
		int plan;
	} number;
	struct ast_party_subaddress subaddress;
	int transit_network_select;
};
struct ast_party_caller {
	struct ast_party_id id;
	char *ani;
	int ani2;
};

The new organization adds some new information as well.

* The party name and number now have their own presentation value that can
be manipulated independently.  ISDN supplies the presentation value for
the name and number at different times with the possibility that they
could be different.

* The party name and number now have a valid flag.  Before this change the
name or number string could be empty if the presentation were restricted.
Most channel drivers assume that the name or number is then simply not
available instead of indicating that the name or number was restricted.

* The party name now has a character set value.  SIP and Q.SIG have the
ability to indicate what character set a name string is using so it could
be presented properly.

* The dialed party now has a numbering plan value that could be useful to
have available.

The various channel drivers will need to be updated to support the new
core features as needed.  They have simply been converted to supply
current functionality at this time.


The following items of note were either corrected or enhanced:

* The CONNECTEDLINE() and REDIRECTING() dialplan functions were
consolidated into func_callerid.c to share party id handling code.

* CALLERPRES() is now deprecated because the name and number have their
own presentation values.

* Fixed app_alarmreceiver.c write_metadata().  The workstring[] could
contain garbage.  It also can only contain the caller id number so using
ast_callerid_parse() on it is silly.  There was also a typo in the
CALLERNAME if test.

* Fixed app_rpt.c using ast_callerid_parse() on the channel's caller id
number string.  ast_callerid_parse() alters the given buffer which in this
case is the channel's caller id number string.  Then using
ast_shrink_phone_number() could alter it even more.

* Fixed caller ID name and number memory leak in chan_usbradio.c.

* Fixed uninitialized char arrays cid_num[] and cid_name[] in
sig_analog.c.

* Protected access to a caller channel with lock in chan_sip.c.

* Clarified intent of code in app_meetme.c sla_ring_station() and
dial_trunk().  Also made save all caller ID data instead of just the name
and number strings.

* Simplified cdr.c set_one_cid().  It hand coded the ast_callerid_merge()
function.

* Corrected some weirdness with app_privacy.c's use of caller
presentation.

Review:	https://reviewboard.asterisk.org/r/702/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276347 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14 15:48:36 +00:00
twilson b14830b301 Merged revisions 274280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r274280 | twilson | 2010-07-06 17:08:20 -0500 (Tue, 06 Jul 2010) | 9 lines
  
  Add option to not do a call forward on 482 Loop Detected
  
  Asterisk has always set up a forwarded call when receiving a 482 Loop Detected.
  This prevents handling the call failure by just continuing on in the dialplan.
  Since this would be a change in behavior, the new option to disable this
  behavior is forwardloopdetected which defaults to 'yes'.
  
  Review: https://reviewboard.asterisk.org/r/764/
........

(no option for trunk, just changing the behavior)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274284 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-06 22:15:27 +00:00
snuffy b9d2b2684d Add High Resolution Times to CDRs for Asterisk
People expressed an interest in having access to the exact length of calls to a finer degree than seconds. See the CHANGES and UPGRADE.txt for usage also updated the sample configs to note the change.

Patch by snuffy.

(closes issue #16559)
Reported by: cianmaher
Tested by: cianmaher, snuffy

Review: https://reviewboard.asterisk.org/r/461/

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269153 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08 23:48:17 +00:00
lmadsen 6a72266cbe Update UPGRADE.txt and CHANGE for CDR functionality changes.
Updated the UPGRADE.txt and CHANGES file stating that CDR records will not be explicity
written unless cdr.conf exists and is configured.

(closes issue #17373)
Reported by: wdoekes
Tested by: pabelanger

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267624 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03 18:53:24 +00:00
twilson c8b64290b5 Set app and appdata fields when a Dial is redirected
(closes issue #17204)
Reported by: one47
Tested by: twilson, one47


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266786 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-01 21:12:49 +00:00
tilghman 5696c84027 Setup environment variables for the benefit of child processes and disallow changing them.
(closes issue #14899)
 Reported by: jmls
 Patches: 
       20090916__issue14899.diff.txt uploaded by tilghman (license 14)
 Tested by: jmls


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266385 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-28 22:50:06 +00:00
alecdavis b8e93fda2b VoicemailMain and VMauthenticate, allow escape to the 'a' extension when a single '*' is entered
Where a site uses VoicemailMain(mailbox) the users have to be at their own extension to clear
their voicemail, they have no way of escaping VoicemailMain to allow entry of new boxnumber.

This patch, allows a site to include to 'a' priority in the VoicemailMain context, to allow an escape.

If the 'a' priority doesn't exist in the context that VoicemailMain was called from then it acts as the old behaviour.

  Reported by: alecdavis
  Tested by: alecdavis
  Patch
	 vm_a_extension.diff2.txt uploaded by alecdavis (license 585)

Review: https://reviewboard.asterisk.org/r/489/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@262005 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-07 23:54:15 +00:00
lmadsen 6c8a3241c6 IAXpeers output now matches SIPpeers format for manager (AMI).
(closes issue #17100)
Reported by: secesh
Tested by: pabelanger

Review: https://reviewboard.asterisk.org/r/594/

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@258344 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-21 19:02:45 +00:00
transnexus fca20dd555 Updated doc for OSP lookup application.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@246382 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-12 08:30:05 +00:00
diruggles 5f69fa847c ExternalIVR information for UPGRADE.txt
added a paragraph about the fixes and changes to
the ExternalIVR application.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240974 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18 18:00:36 +00:00
russell 86769df058 Move an entry from CHANGES to UPGRADE.txt.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@234055 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-09 23:35:24 +00:00
russell 085b514379 Move an entry from CHANGES that should be in UPGRADE.txt.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@234053 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-09 23:30:48 +00:00
dvossel 7499db1c65 update CHANGES and UPGRADE.txt for early media behavior change between 1.6.1 and 1.6.2
(closes issue #16212)
Reported by: miki



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232657 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-02 23:27:45 +00:00
file 58f16a0044 Store the cause code that is returned when trying to create a channel in ChanIsAvail in the
AVAILCAUSECODE dialplan variable instead of overwriting the device state in AVAILSTATUS.

(closes issue #14426)
Reported by: macli


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229970 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 17:22:47 +00:00
rmudgett 225f4a7ea1 DAHDI ISDN channel names will not allow device state to work. (Interim solution.)
Since ISDN works like SIP and not analog ports in regard to devices, the
device state based on the ISDN channel number could not work.  This has
not been an issue until the advent of PTMP NT mode.  Previously, ISDN
lines were used as trunks and did not have to keep track of specific
devices.

As an interim solution until device states are properly implemented, the
channel name is being changed to the following format to use the generic
device state support:
DAHDI/i<span>/<number>[:<subaddress>]-<sequence-number>

Dialplan hints would thus be:
exten => xxx,hint,DAHDI/i2/5551212

This will work with the following restrictions:
*  The number of devices/phones cannot exceed the number of B channels.
(i.e., BRI has 2)
*  Each device/phone can only have one number.  No shared MSN's.
*  The phones/devices probably should not use subaddressing.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@226882 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-02 17:34:22 +00:00
kpfleming f5671885b8 Allow non-compliant T.38 endpoints to be supportable via configuration option.
Many T.38 endpoints incorrectly send the maximum IFP frame size they can accept
as the T38FaxMaxDatagram value in their SDP, when in fact this value is
supposed to be the maximum UDPTL payload size (datagram size) they can accept.
If the value they supply is small enough (a commonly supplied value is '72'),
T.38 UDPTL transmissions will likely fail completely because the UDPTL packets
will not have enough room for a primary IFP frame and the redundancy used for
error correction. If this occurs, the Asterisk UDPTL stack will emit log messages
warning that data loss may occur, and that the value may need to be overridden.

This patch extends the 't38pt_udptl' configuration option in sip.conf to allow
the administrator to override the value supplied by the remote endpoint and
supply a value that allows T.38 FAX transmissions to be successful with that
endpoint. In addition, in any SIP call where the override takes effect, a debug
message will be printed to that effect. This patch also removes the
T38FaxMaxDatagram configuration option from udptl.conf.sample, since it has not
actually had any effect for a number of releases.

In addition, this patch cleans up the T.38 documentation in sip.conf.sample
(which incorrectly documented that T.38 support was passthrough only).

(issue #15586)
Reported by: globalnetinc


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@222110 f38db490-d61c-443f-a65b-d21fe96a405b
2009-10-05 19:45:00 +00:00
rmudgett 877387c559 Move DAHDI/ISDN channel naming note from CHANGES to UPGRADE.txt.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@221709 f38db490-d61c-443f-a65b-d21fe96a405b
2009-10-01 20:18:29 +00:00
kpfleming 0c36e3b834 Sync up UPGRADE.txt with the 1.6.2 version.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@221627 f38db490-d61c-443f-a65b-d21fe96a405b
2009-10-01 16:27:05 +00:00
tilghman d170b913b9 Change the default behavior of Set, AGI, and pbx_realtime to 1.6 behavior by default (starting in 1.6.3).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@220417 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-24 22:53:23 +00:00
russell 2a3ca4e99f Merged revisions 218798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r218798 | russell | 2009-09-16 08:33:43 -0500 (Wed, 16 Sep 2009) | 9 lines
  
  Remove the IAXy firmware from Asterisk.
  
  The firmware can now be found on downloads.digium.com, where the rest of our
  binary downloads live.  This was the last part of our Asterisk tarballs that
  was considered non-free by Debian.  :-)
  
  (closes issue #15838)
  Reported by: paravoid
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@218799 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-16 13:34:41 +00:00
russell 5d74000b72 Merged revisions 216085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
  r216085 | russell | 2009-09-03 14:36:46 -0500 (Thu, 03 Sep 2009) | 9 lines
  
  Merged revisions 216080 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.2
  
  ........
    r216080 | russell | 2009-09-03 14:35:23 -0500 (Thu, 03 Sep 2009) | 2 lines
    
    Add a note about IAX2 to UPGRADE.txt.
  ........
................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@216092 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-03 19:38:35 +00:00
kpfleming a73782aff5 Rename 'canreinvite' option to 'directmedia', with backwards compatibility.
It is clear from multiple mailing list, forum, wiki and other sorts of posts
that users don't really understand the effects that the 'canreinvite' config
option actually has, and that in some cases they think that setting it to 'no'
will actually cause various other features (T.38, MOH, etc.) to not work properly,
when in fact this is not the case. This patch changes the proper name of the
option to what it should have been from the beginning ('directmedia'), but
preserves backwards compatibility for existing configurations.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@210190 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-03 20:48:48 +00:00
kpfleming fe2980b07a T.38 change note is not necessary in this branch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208504 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-23 22:32:52 +00:00
kpfleming aa4f4e142d Rework of T.38 negotiation and UDPTL API to address interoperability problems
Over the past couple of months, a number of issues with Asterisk
negotiating (and successfully completing) T.38 sessions with various
endpoints have been found. This patch attempts to address many of
them, primarily focused around ensuring that the endpoints'
MaxDatagram size is honored, and in addition by ensuring that T.38
session parameter negotiation is performed correctly according to the
ITU T.38 Recommendation.

The major changes here are:

1) T.38 applications in Asterisk (app_fax) only generate/receive IFP
packets, they do not ever work with UDPTL packets. As a result of
this, they cannot be allowed to generate packets that would overflow
the other endpoints' MaxDatagram size after the UDPTL stack adds any
error correction information. With this patch, the application is told
the maximum *IFP* size it can generate, based on a calculation using
the far end MaxDatagram size and the active error correction mode on
the T.38 session. The same is true for sending *our* MaxDatagram size
to the remote endpoint; it is computed from the value that the
application says it can accept (for a single IFP packet) combined with
the active error correction mode.

2) All treatment of T.38 session parameters as 'capabilities' in
chan_sip has been removed; these parameters are not at all like
audio/video stream capabilities. There are strict rules to follow for
computing an answer to a T.38 offer, and chan_sip now follows those
rules, using the desired parameters from the application (or channel)
that wants to accept the T.38 negotiation.

3) chan_sip now stores and forwards ast_control_t38_parameters
structures for tracking 'our' and 'their' T.38 session parameters;
this greatly simplifies negotiation, especially for pass-through
calls.

4) Since T.38 negotiation without specifying parameters or receiving
the final negotiated parameters is not very worthwhile, the
AST_CONTROL_T38 control frame has been removed. A note has been added
to UPGRADE.txt about this removal, since any out-of-tree applications
that use it will no longer function properly until they are upgraded
to use AST_CONTROL_T38_PARAMETERS.

Review: https://reviewboard.asterisk.org/r/310/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208464 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-23 21:57:24 +00:00
tilghman a74f96ca08 Document the "flag" field in the voicemessages table.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@207224 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-17 22:04:43 +00:00
tilghman 919b880512 Merged revisions 204556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r204556 | tilghman | 2009-06-30 15:23:51 -0500 (Tue, 30 Jun 2009) | 6 lines
  
  More incorrect language codes, plus ensuring that regionalizations use the specified language, and not English for grammar.
  (closes issue #15022)
   Reported by: greenfieldtech
   Patches: 
         20090519__issue15022.diff.txt uploaded by tilghman (license 14)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204563 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 20:41:04 +00:00
tilghman cff1504cc5 Recorded merge of revisions 204469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r204469 | tilghman | 2009-06-30 13:23:35 -0500 (Tue, 30 Jun 2009) | 11 lines
  
  "tw" is the language specification for Twi (from Ghana) not Taiwanese.
  (closes issue #15346)
   Reported by: volivier
   Patches: 
         20090617__issue15346__1.4.diff.txt uploaded by tilghman (license 14)
         20090617__issue15346__trunk.diff.txt uploaded by tilghman (license 14)
         20090617__issue15346__1.6.0.diff.txt uploaded by tilghman (license 14)
         20090617__issue15346__1.6.1.diff.txt uploaded by tilghman (license 14)
         20090617__issue15346__1.6.2.diff.txt uploaded by tilghman (license 14)
   Tested by: volivier
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204470 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 18:36:24 +00:00
russell e9d15cbea7 Move Asterisk-addons modules into the main Asterisk source tree.
Someone asked yesterday, "is there a good reason why we can't just put these
modules in Asterisk?".  After a brief discussion, as long as the modules are
clearly set aside in their own directory and not enabled by default, it is
perfectly fine.

For more information about why a module goes in addons, see README-addons.txt.

chan_ooh323 does not currently compile as it is behind some trunk API updates.
However, it will not build by default, so it should be okay for now.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204413 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-30 16:40:38 +00:00
russell 33ecd470c0 Minor tweaks and spelling fixes for CHANGES and UPGRADE.txt.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@203960 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-27 09:51:45 +00:00
russell 89175b7e04 Convert the ast_channel data structure over to the astobj2 framework.
There is a lot that could be said about this, but the patch is a big 
improvement for performance, stability, code maintainability, 
and ease of future code development.

The channel list is no longer an unsorted linked list.  The main container 
for channels is an astobj2 hash table.  All of the code related to searching 
for channels or iterating active channels has been rewritten.  Let n be 
the number of active channels.  Iterating the channel list has gone from 
O(n^2) to O(n).  Searching for a channel by name went from O(n) to O(1).  
Searching for a channel by extension is still O(n), but uses a new method 
for doing so, which is more efficient.

The ast_channel object is now a reference counted object.  The benefits 
here are plentiful.  Some benefits directly related to issues in the 
previous code include:

1) When threads other than the channel thread owning a channel wanted 
   access to a channel, it had to hold the lock on it to ensure that it didn't 
   go away.  This is no longer a requirement.  Holding a reference is 
   sufficient.

2) There are places that now require less dealing with channel locks.

3) There are places where channel locks are held for much shorter periods 
   of time.

4) There are places where dealing with more than one channel at a time becomes 
   _MUCH_ easier.  ChanSpy is a great example of this.  Writing code in the 
   future that deals with multiple channels will be much easier.

Some additional information regarding channel locking and reference count 
handling can be found in channel.h, where a new section has been added that 
discusses some of the rules associated with it.

Mark Michelson also assisted with the development of this patch.  He did the 
conversion of ChanSpy and introduced a new API, ast_autochan, which makes it 
much easier to deal with holding on to a channel pointer for an extended period 
of time and having it get automatically updated if the channel gets masqueraded.
Mark was also a huge help in the code review process.

Thanks to David Vossel for his assistance with this branch, as well.  David 
did the conversion of the DAHDIScan application by making it become a wrapper 
for ChanSpy internally.

The changes come from the svn/asterisk/team/russell/ast_channel_ao2 branch.

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190423 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-24 14:04:26 +00:00
file 0eb1480fe0 Merge in the RTP engine API.
This API provides a generic way for multiple RTP stacks to be
integrated into Asterisk. Right now there is only one present, res_rtp_asterisk,
which is the existing Asterisk RTP stack. Functionality wise this commit
performs the same as previously. API documentation can be viewed in the
rtp_engine.h header file.

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@186078 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-02 17:20:52 +00:00
russell 7d018fda72 Update UPGRADE.txt and CHANGES for 1.6.3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@182362 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-16 20:53:21 +00:00