Commit Graph

21509 Commits

Author SHA1 Message Date
Asterisk Autobuilder
c4dd975d08 Importing release summary for 1.8.8.0-rc2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.8.8.0-rc2
2011-10-18 21:45:44 +00:00
Jason Parker
f8cac0983a Update ChangeLog
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 21:45:27 +00:00
Jason Parker
818a4c750f Merge r341189 from branches/1.8/ for AST-2011-012
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 21:44:37 +00:00
Asterisk Autobuilder
7d4af3053e Importing release summary for 1.8.8.0-rc2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 21:28:45 +00:00
Jason Parker
d204fe57a2 Update ChangeLog. Merge revisions 339719,340878,341088 from branches/1.8/
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 21:26:48 +00:00
Asterisk Autobuilder
f109eaf94e Importing release summary for 1.8.8.0-rc2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 19:51:23 +00:00
Jason Parker
5bdc379707 Update .version and ChangeLog
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 19:49:23 +00:00
Jason Parker
41674ceeec Update menuselect external
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 19:45:06 +00:00
Jason Parker
8e24f689b6 Create tag for Asterisk 1.8.8.0-rc2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc2@341250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-18 19:44:08 +00:00
Asterisk Autobuilder
2a45dd06e1 Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc1@339570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.8.8.0-rc1
2011-10-05 21:37:55 +00:00
Asterisk Autobuilder
c62c6f8013 Importing release summary for 1.8.8.0-rc1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc1@339569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 21:37:51 +00:00
Asterisk Autobuilder
c18d646a9d Importing files for 1.8.8.0-rc1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc1@339568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 21:37:48 +00:00
Asterisk Autobuilder
47fe3c0da5 Creating tag for the release of asterisk-1.8.8.0-rc1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.8.8.0-rc1@339567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 21:36:32 +00:00
Leif Madsen
a9b4839597 Update prep_tarball script to download pre-exported documentation.
I've updated the prep_tarball script to now download the pre-exported documentation
from the Asterisk wiki. This will give us more control over what is being included
in the tarball releases, and will make both the PDF and HTML exported documentation
look much better (especially when viewing from a console).

(Closes issue ASTERISK-18677)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 21:30:11 +00:00
Richard Mudgett
1a4ba9305a Fix Dial F option notes formatting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 17:01:01 +00:00
Richard Mudgett
75f2105a48 Fix XML error in AMI action Challenge.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:32:03 +00:00
Matthew Nicholson
50947036a5 The app name in the documentation must match what we register the application
as.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:31:21 +00:00
Richard Mudgett
03a7359585 Add missing documentation of required AMI action Challenge AuthType header.
(closes issue ASTERISK-18554)
Reported by: Vlad Povorozniuc
Patches:
      __20110919-manager-challenge-docs.patch.txt (license #4999) patch uploaded by Leif Madsen


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:26:45 +00:00
Richard Mudgett
8a89893175 Make always create the MOH directory (/var/lib/asterisk/moh).
(closes issue ASTERISK-18409)
Reported by: abelbeck
Patches:
      asterisk-1.8-makefile-moh.patch (license #5903) patch uploaded by abelbeck
Tested by: abelbeck, Michael Keuter


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 22:54:15 +00:00
Jonathan Rose
48f0916a44 Removes improper use of sound 'and' in German language mode from application saynumber
Asterisk would say 'Five hundert und sechs und zwanzig' instead of 'Five hundert sechs
und zwanzig'... which is both weird sounding and wrong.  This patch makes sure Asterisk
will only say the 'and' word between the single digit and double digit places.

(closes issue ASTERISK-18212)
Reported By: Lionel Elie Mamane
Patches:
	upstream_germand_no_and.diff (License #5402) uploaded by Lionel Elie Mamane



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 19:33:12 +00:00
Jonathan Rose
5435277e90 Reverting revision 333265 due to component connection problems it introduces.
I'm going to attempt some generic res_jabber cleanup and come up with a new fix for this
problem, but first it seems prudent to remove this rather broad attempt to fix it and
instead approach this problem either from the same angle but looking only at canceling
(or possibly rescheduling) the send when we absolutely know it will cause a segfault 
or, if that can't be easily accomplished, strictly from the devstate side of things.
Also, I'm pretty sure a lot of the code in res_jabber isn't thread safe.

(issue ASTERISK-18626)
(issue ASTERISK-18078)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 14:01:05 +00:00
Alexandr Anikin
37c390ac02 fix forget declaration in previous change
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 11:44:55 +00:00
Leif Madsen
2e320de4bf Remove duplicated Maxforwards line in AMI output.
(Closes issue ASTERISK-18637)
Reported by: Jacek Konieczny
Patches:
     asterisk-sipshowpeer.patch (License #6298) uploaded by Jacek Konieczny

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 20:12:43 +00:00
Leif Madsen
e83a93313c Make documentation for Dial() options 'F' and 'F()' more clear.
(Closes issue ASTERISK-18646)
Reported by: Physis Heckman
Tested by: Richard Mudgett


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 19:54:52 +00:00
Alexandr Anikin
3795f80d2c destroy memheap mutex properly before memheap deleted
(fix memory leak occured after r304950 changes with DEBUG_THREAD compile option)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 18:42:49 +00:00
Terry Wilson
a0eb30ea43 Properly ignore AST_CONTROL_UPDATE_RTP_PEER in more places
After the change in r336294, the new AST_CONTROL_UPDATE_RTP_PEER frame
is sent when a re-invite happens. If we receive a re-invite from a device
the waitstream_core was not aware of the new control frame and would drop
the call.

(closes issue ASTERISK-18610)
	Reported by: Kristijan_Vrban


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 18:40:52 +00:00
Richard Mudgett
4d9b980ab8 Fix segfault in analog_ss_thread() not checking ast_read() for NULL.
NOTE: The problem was reported against v1.6.2.  It is unlikely to ever
happen on v1.8 and above since chan_dahdi.c:analog_ss_thread() is unlikely
to be used.  The version in sig_analog.c has largely replaced it.

(closes issue ASTERISK-18648)
Reported by: Stephan Bosch
Patches:
      jira_asterisk_18648_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: Stephan Bosch


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 22:05:10 +00:00
Jonathan Rose
f33e20e5b1 Adds documentation for QueueMemberStatus event generation
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 18:54:30 +00:00
Richard Mudgett
c9546515e5 Fix formatting of AMI header for SIP show peer.
ASTERISK-17486 exposed the problem for AMI parsers.

(closes issue ASTERISK-18649)
Reported by: Jacek Konieczny
Patches:
      asterisk-sipshowpeer_response_end.patch (license #6298) patch uploaded by Jacek Konieczny


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 16:27:21 +00:00
TransNexus OSP Development
7d656e1330 Remove r338137 and r338138.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 09:31:48 +00:00
Paul Belanger
85e96b0b7a Test modules should depend on the TEST_FRAMEWORK flag
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 21:12:21 +00:00
Jason Parker
23acd67877 Test modules have a support level of core.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 20:54:13 +00:00
Leif Madsen
be71dfc76b Update documentation for SIP_HEADER.
The SIP_HEADER function only works on the the initial SIP INVITE. The documentation was updated
in trunk, but not in 1.8 or 10, so I'm making them match.

(Closes issue ASTERISK-18640)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 18:31:33 +00:00
Gregory Nietsky
e7d6d7ee19 The rtptimeout setting is ignored on a per peer basis.
Not only is the rtptimeout ignored in some cases but 
rtpkeepalive and rtpholdtimeout is affected.

this commit also removes rtptimeout/rtpholdtimeout on
text rtp.

(closes issue ASTERISK-18559)

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 12:13:05 +00:00
Richard Mudgett
8711d897d0 Make duplicate call ptr warning message more helpful.
* Adds the value of the call ptr to the duplicate call ptr message to help
trace why there is a duplicate call ptr.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 22:35:52 +00:00
Richard Mudgett
3c50ae5bb5 Fix inconsistency in LOG_VERBOSE/AST_LOG_VERBOSE declaration.
(closes issue ASTERISK-17973)
Reported by: Luke H
Patches:
      logger_h.patch (license #6278) patch uploaded by Luke H


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 21:17:45 +00:00
Jason Parker
529ab3ad50 Add support levels to non-module sections of menuselect (cflags, utils, etc).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 20:52:47 +00:00
Richard Mudgett
b535088ac6 Fix chan_dahd compiling with gcc 4.6 when PRI and SS7 not present.
(closes issue ASTERISK-18357)
Reported by: Matthew Nicholson


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 20:24:41 +00:00
TransNexus OSP Development
915a93650b Updated for checking OSP Toolkit version 4.0.0.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 07:28:43 +00:00
TransNexus OSP Development
9e2e3778af Updated for OSP Toolkit 4.0.0.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 07:27:07 +00:00
Paul Belanger
32fc932cf5 Upgrade app_macro to core
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-27 20:10:13 +00:00
Richard Mudgett
f2e1640435 Fix deadlock when using dummy channels.
Dummy channels created by ast_dummy_channel_alloc() should be destoyed by
ast_channel_unref().  Using ast_channel_release() needlessly grabs the
channel container lock and can cause a deadlock as a result.

* Analyzed use of ast_dummy_channel_alloc() and made use
ast_channel_unref() when done with the dummy channel.  (Primary reason for
the reported deadlock.)

* Made app_dial.c:dial_exec_full() not call ast_call() holding any channel
locks.  Chan_local could not perform deadlock avoidance correctly.
(Potential deadlock exposed by this issue.  Secondary reason for the
reported deadlock since the held lock was part of the deadlock chain.)

* Fixed some uses of ast_dummy_channel_alloc() not checking the returned
channel pointer for failure.

* Fixed some potential chan=NULL pointer usage in func_odbc.c.  Protected
by testing the bogus_chan value.

* Fixed needlessly clearing a 1024 char auto array when setting the first
char to zero is enough in manager.c:action_getvar().

(closes issue ASTERISK-18613)
Reported by: Thomas Arimont
Patches:
      jira_asterisk_18613_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: Thomas Arimont


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-26 19:30:39 +00:00
Gregory Nietsky
234ee31f62 Spelling fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-23 19:14:30 +00:00
Gregory Nietsky
3b2f5e7d4c Make sure a CDR is on the stack for call in the Queue.
Only let update_cdr act on the last CDR in the stack.

In some circumstances [Attended transfer to queue] a 
CDR record is not inserted for this call where it should.

(closes issue ASTERISK-18567)

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



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-23 08:34:03 +00:00
Russell Bryant
b50b776427 Comment out entries in sample res_pktccops.conf.
With these options enabled, they can cause Asterisk to freak out by
SYN flooding a network and eating the CPU.  Obviously it would be good to
fix the code so that this can't happen, but we can at least change the default
configuration so it doesn't happen.

This was reported downstream to the Fedora issue tracker:

    https://bugzilla.redhat.com/show_bug.cgi?id=658431


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-23 00:44:19 +00:00
Richard Mudgett
f8b799c0c1 Made ISDN not add numbering plan prefix strings to empty numbers.
When the Caller-ID is restricted, the expected behavior is for the
Caller-ID to be blank.  In chan_dahdi, the national prefix is placed onto
the Caller-ID number even if it is restricted (empty) causing the
Caller-ID to be the national prefix rather than blank.

This behavior was lost when sig_pri was extracted from chan_dahdi.

* Made not add prefix strings to empty connected line, calling, and ANI
number strings.

(closes issue ASTERISK-18577)
Reported by: Kris Shaw
Patches:
      jira_asterisk_18577_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: Kris Shaw


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-22 21:29:46 +00:00
Gregory Nietsky
b850a106eb Add warned to ast_srtp to prevent errors on each frame from libsrtp
The first 9 frames are not reported as some devices dont use srtp 
from first frame these are suppresed.

the warning is then output only once every 100 frames.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-22 11:39:49 +00:00
Gregory Nietsky
c6dd0ef286 If IP address is used in chan_h323 host parameter of peer configuration.
module tries to resolve IP address to IP address and fails.

Simple fix to set family of socket this is a hangover from ipv6 changes.

(closes issue ASTERISK-18237)
(issue ASTERISK-17278)
(issue ASTERISK-17500)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-22 09:22:26 +00:00
Gregory Nietsky
c47fd8f774 Its possible to loose audio on ast_write when the channel is not transcoded correctly.
in the case of DAHDI the channel is hungup.

This patch tries to "fix" the problem and make the channel compatiable and warn the user of
this problem.

Please note there is a underlying problem with codec negotion this does not fix the problem
it does try to rectify it and prevent loss of service.

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

(closes issue ASTERISK-17541)
(closes issue ASTERISK-18063)
(issue ASTERISK-14384)
(issue ASTERISK-17502)
(issue ASTERISK-18325)
(issue ASTERISK-18422)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-22 06:18:33 +00:00
Tilghman Lesher
c4cd620d7a More silly spacing changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-21 21:18:46 +00:00