Moises Silva [Mon, 24 Aug 2009 04:46:28 +0000 (04:46 +0000)]
improve handling of openr2_chan_disconnect_call API failure, unlikely, but happened on openr2 library bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213790
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Fri, 21 Aug 2009 23:18:16 +0000 (23:18 +0000)]
Update configure script for libpri COLP feature dependency requirements.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213748
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 21 Aug 2009 22:36:39 +0000 (22:36 +0000)]
Clarifying comments in sip_register, and removing a dead section
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213738
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 21 Aug 2009 22:22:11 +0000 (22:22 +0000)]
Register request line contains wrong address when user domain and register host differ
(closes issue #15539)
Reported by: Nick_Lewis
Patches:
chan_sip.c-registraraddr.patch uploaded by Nick (license 657)
register_domain_fix_1.6.2 uploaded by dvossel (license 671)
Tested by: Nick_Lewis, dvossel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213716
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 21 Aug 2009 21:39:51 +0000 (21:39 +0000)]
Ensure that realtime mailboxes properly report status on subscription.
This patch modifies app_voicemail's response to mailbox status subscriptions
(via the internal event system) to ensure that a subscription triggers an
explicit poll of the mailbox, so the subscriber can get an immediate cached
event with that status. Previously, the cache was only populated with the
status of non-realtime mailboxes.
(closes issue #15717)
Reported by: natmlt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213697
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 21 Aug 2009 21:02:50 +0000 (21:02 +0000)]
fixes sip register parsing when user@domain is used
(issue #15008)
(issue #15672)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213635
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 21 Aug 2009 20:24:04 +0000 (20:24 +0000)]
Blocked revisions 213631 via svnmerge
........
r213631 | kpfleming | 2009-08-21 15:23:45 -0500 (Fri, 21 Aug 2009) | 8 lines
Ensure that T.38 INVITEs generated by Asterisk properly result in T.38 being enabled.
(closes issue #15373)
Reported by: dcolombo
Patches:
chan_sip.patch uploaded by mbrancaleoni (license 342)
Tested by: dcolombo, mbrancaleoni
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213632
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 21 Aug 2009 16:53:52 +0000 (16:53 +0000)]
Merged revisions 213559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r213559 | tilghman | 2009-08-21 11:52:53 -0500 (Fri, 21 Aug 2009) | 7 lines
Permit DEBUG_FD_LEAKS to be used with C++ source files.
(closes issue #15698)
Reported by: slavon
Patches:
20090817__issue15698.diff.txt uploaded by tilghman (license 14)
Tested by: slavon, tilghman
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213560
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 21 Aug 2009 16:04:21 +0000 (16:04 +0000)]
Merged revisions 213493 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r213493 | qwell | 2009-08-21 11:03:21 -0500 (Fri, 21 Aug 2009) | 5 lines
Clarify queues.conf comments to specify that variables should be set in the dialplan.
(closes issue #15755)
Reported by: trendboy
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213494
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Moises Silva [Fri, 21 Aug 2009 04:09:26 +0000 (04:09 +0000)]
increment the mfcr2 monitor count when clearing the call request
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213454
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Fri, 21 Aug 2009 03:48:54 +0000 (03:48 +0000)]
Make LOAD_ORDER actually work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213450
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 20 Aug 2009 22:13:26 +0000 (22:13 +0000)]
Add original position, when logging a caller entering a queue.
(closes issue #15146)
Reported by: arabe
Patches:
asterisk-trunk.patch uploaded by arabe (license 786)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213414
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Thu, 20 Aug 2009 21:33:11 +0000 (21:33 +0000)]
Fix greeting retrieval from IMAP
Properly check for the current voicemail state and if it doesn't exist,
create it.
(closes issue #14597)
Reported by: wtca
Patches:
14597_v2.patch uploaded by mmichelson (license 60)
Tested by: jpeeler
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213404
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Thu, 20 Aug 2009 20:33:59 +0000 (20:33 +0000)]
Blocked revisions 213339 via svnmerge
........
r213339 | mnicholson | 2009-08-20 15:33:07 -0500 (Thu, 20 Aug 2009) | 7 lines
Fix a crash by checking the proper pointer for validity before deferencing it.
(closes issue #15751)
Reported by: atis
Patches:
ast_bridge_call_peer_cdr.patch uploaded by atis (license 242)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213340
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Thu, 20 Aug 2009 20:29:32 +0000 (20:29 +0000)]
Fix a crash by checking the proper pointer for validity before deferencing it.
(closes issue #15751)
Reported by: atis
Patches:
ast_bridge_call_peer_cdr.patch uploaded by atis (license 242)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213327
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Thu, 20 Aug 2009 19:56:14 +0000 (19:56 +0000)]
Merged revisions 213283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r213283 | jpeeler | 2009-08-20 14:53:34 -0500 (Thu, 20 Aug 2009) | 2 lines
Make all the symbols for the C-client callbacks global
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213284
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 20 Aug 2009 15:29:53 +0000 (15:29 +0000)]
Select uncommented lines, not commented ones.
(closes issue #15746)
Reported by: makoto
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213248
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Moises Silva [Thu, 20 Aug 2009 03:26:59 +0000 (03:26 +0000)]
fixed bug caused by calling ast_request without calling ast_call on an R2 channel, ie, CHANISAVAIL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213216
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 19 Aug 2009 22:38:46 +0000 (22:38 +0000)]
Fix compile when certain G711 menuselect options are enabled.
(closes issue #15697)
Reported by: slavon
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213179
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
David Vossel [Wed, 19 Aug 2009 21:21:00 +0000 (21:21 +0000)]
Merged revisions 213103 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r213103 | dvossel | 2009-08-19 16:18:37 -0500 (Wed, 19 Aug 2009) | 8 lines
Fixes memory leak caused by incorrectly freeing mixmonitor
(closes issue #15699)
Reported by: edantie
Patches:
mixmonitor.patch uploaded by edantie (license 862)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213113
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 19 Aug 2009 21:05:17 +0000 (21:05 +0000)]
Better parsing for the "register" line
Allows characters that are otherwise used as delimiters to be used within
certain fields (like the secret).
(closes issue #15008, closes issue #15672)
Reported by: tilghman
Patches:
20090818__issue15008.diff.txt uploaded by tilghman (license 14)
Tested by: lmadsen, tilghman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213098
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 19 Aug 2009 20:29:41 +0000 (20:29 +0000)]
If we have realtime caching enabled, 'sip reload' must purge users/peers, even if the config files haven't changed.
(closes issue #12869)
Reported by: bcnit
Patches:
20090819__issue12869__2.diff.txt uploaded by tilghman (license 14)
Tested by: lasko
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213093
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 19 Aug 2009 15:32:18 +0000 (15:32 +0000)]
Don't blow up on a NULL cdr.
Reported in #asterisk-dev.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213046
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Tue, 18 Aug 2009 23:53:55 +0000 (23:53 +0000)]
Add COLP support to chan_dahdi/sig_pri.
Add Connected Line Presentation (COLP) support to chan_dahdi/libpri as an
addition to issue 8824. This is the chan_dahdi/sig_pri portion. COLP
support is now available for any switch for which libpri supports COLP
(currently ETSI PTP, ETSI PTMP, and Q.SIG) with this patch.
(closes issue #14068)
Tested by: rmudgett
Review: https://reviewboard.asterisk.org/r/340/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213007
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 18 Aug 2009 20:33:34 +0000 (20:33 +0000)]
Remove some accidentally-committed properties.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212939
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 18 Aug 2009 20:29:37 +0000 (20:29 +0000)]
Convert this branch to Opsound music-on-hold.
For more details:
http://blogs.digium.com/2009/08/18/asterisk-music-on-hold-changes/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212922
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 18 Aug 2009 19:49:52 +0000 (19:49 +0000)]
Clarify some of the error messages, to help upgraders.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212883
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 18 Aug 2009 19:25:09 +0000 (19:25 +0000)]
Make the default extconfig.conf match entries with the sample res_mysql.conf.
This eliminates a future source of possible confusion with the configuration of
1.6.1 and higher.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212857
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 18 Aug 2009 18:57:28 +0000 (18:57 +0000)]
Small doxygen changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212844
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Tue, 18 Aug 2009 16:38:36 +0000 (16:38 +0000)]
Merged revisions 212763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r212763 | seanbright | 2009-08-18 12:36:00 -0400 (Tue, 18 Aug 2009) | 11 lines
Delay the creation of temporary files until we have a valid manager command to handle.
Without this patch, asterisk creates a temporary file before determining if the
specified command is valid. If invalid, we weren't properly cleaning up the file.
(closes issue #15730)
Reported by: zmehmood
Patches:
M15730.diff uploaded by junky (license 177)
Tested by: zmehmood
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212764
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Tue, 18 Aug 2009 16:29:47 +0000 (16:29 +0000)]
Merged revisions 212727 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r212727 | rmudgett | 2009-08-18 11:00:56 -0500 (Tue, 18 Aug 2009) | 1 line
Removed some deadwood and added some doxygen comments.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212758
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 17 Aug 2009 20:40:24 +0000 (20:40 +0000)]
Relax check for XOPEN_VERSION.
It's not clear that we actually require XOPEN_VERSION to be 600 or greater
at this time, so skip the check for now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212672
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 17 Aug 2009 19:57:42 +0000 (19:57 +0000)]
Check the return value of opendir(3), or we may crash.
(closes issue #15720)
Reported by: tobias_e
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212627
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Mon, 17 Aug 2009 18:50:24 +0000 (18:50 +0000)]
Correct spelling of AGENTACCEPTDTMF in chan_agent.
(closes issue #15668)
Reported by: davidw
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212581
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Mon, 17 Aug 2009 18:18:16 +0000 (18:18 +0000)]
Correct the return value check for ast_safe_system.
The logic here was reversed as ast_safe_system returns -1 on error and not on
success. Fix suggested by reporter.
(closes issue #15667)
Reported by: loic
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212574
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Mon, 17 Aug 2009 16:50:45 +0000 (16:50 +0000)]
Merged revisions 212498 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r212498 | jpeeler | 2009-08-17 11:34:56 -0500 (Mon, 17 Aug 2009) | 12 lines
Fix segfault when reloading chan_misdn.
If more ports were specified than configured in misdn.conf a reload would crash
asterisk. The problem was the unconfigured port was using data from the
previously configured port. When the data for an unconfigured port was freed a
crash would result from the double free.
(closes issue #12113)
Reported by: agupta
Patches:
bug12113.patch uploaded by jpeeler (license 325)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212506
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 17 Aug 2009 16:25:10 +0000 (16:25 +0000)]
Define our desires for POSIX and X/OPEN API features properly.
Based on a post on the gcc-help mailing list and some subsequent reading,
we can increase our portability to various platforms by directly defining
the POSIX and X/OPEN API feature sets we wish to have available. This patch
does that, and also includes a double-check to ensure that the system
we are compiling on can actually provide the requested feature sets.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212463
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Mon, 17 Aug 2009 15:42:51 +0000 (15:42 +0000)]
Merged revisions 212430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
Fix uninitialized variable causing random MWI indications.
(closes issue #15727)
Reported by: doda
Patches:
dahdi_changes.patch uploaded by doda (license 853)
........
r212430 | rmudgett | 2009-08-17 10:36:28 -0500 (Mon, 17 Aug 2009) | 1 line
Fix uninitialized variable.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212431
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sun, 16 Aug 2009 19:27:39 +0000 (19:27 +0000)]
Add two more API calls for getting the current glue and channel in bridging code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212390
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Sat, 15 Aug 2009 11:36:19 +0000 (11:36 +0000)]
cast time_t type variables to long where needed.
This makes res_calendar.c compile on OpenBSD and the same
cast is used in a lot of other places where time_t type vars are used.
(closes issue #15656)
Reported by: mvanbaak
Patches:
2009081100-rescalendarcompilefix.diff.txt uploaded by mvanbaak (license 7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212343
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Sat, 15 Aug 2009 11:25:11 +0000 (11:25 +0000)]
Add an empty line after each option when printing the
documentation of a function/application.
This will make reading the docs on the CLI way more easy.
(closes issue #15694)
Reported by: mvanbaak
Patches:
2009081100-extralinesoptionlist.diff.txt uploaded by mvanbaak (license 7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212339
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Fri, 14 Aug 2009 23:07:51 +0000 (23:07 +0000)]
Add braces where missing and a few whitespace fixes in sig_analog
(closes issue #15678)
Reported by: alecdavis
Patches:
sig_analog_mainly_braces.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212291
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Fri, 14 Aug 2009 22:39:11 +0000 (22:39 +0000)]
More code that somehow got left out of sig_analog
* confirmanswer option now respected
* check and set waiting for dialtone timer
* unneeded needcallerid flag removed from analog_subchannel
* ss_astchan does not need to be a void pointer
* swap_channels callback updated to trunk
* analog_hangup now resets channel to default law
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212287
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 14 Aug 2009 17:36:40 +0000 (17:36 +0000)]
Add SSL_VERIFYPEER, as requested on the -users list
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212249
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 13 Aug 2009 17:33:44 +0000 (17:33 +0000)]
Send a generic return result when we receive a CallDeflection facility message in chan_misdn.
ETSI 300-196 implies that a facility return result without arguments does
not have the operation-value. This fact implies for ETSI that you can
only use the invoke-id to match requests with responses.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212199
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 13 Aug 2009 16:44:54 +0000 (16:44 +0000)]
Add an API call for retrieving the engine in use by an RTP instance.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212161
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 13 Aug 2009 15:46:25 +0000 (15:46 +0000)]
Ensure that T38FaxVersion is put into outgoing SDP in the proper case.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212113
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 13 Aug 2009 13:51:04 +0000 (13:51 +0000)]
Check an actual populated variable when seeing if we need to do video or not.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212067
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Gavin Henry [Thu, 13 Aug 2009 11:37:12 +0000 (11:37 +0000)]
Fixed typo
(closes issue #15710)
Reported by: suretec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212027
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Wed, 12 Aug 2009 23:14:36 +0000 (23:14 +0000)]
Merged revisions 211953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211953 | mnicholson | 2009-08-12 18:04:02 -0500 (Wed, 12 Aug 2009) | 10 lines
This patch adds additional checking when generating queue log TRANSFER events.
The additional checks prevent generation of false TRANSFER events in certain situations.
(closes issue #14536)
Reported by: aragon
Patches:
queue-log-xfer-fix1.diff uploaded by mnicholson (license 96)
Tested by: aragon, mnicholson
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211957
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Wed, 12 Aug 2009 22:18:09 +0000 (22:18 +0000)]
This patch adds support for choosing a realm based on the domain in the From or To header in the incoming request. Eligible domains are taken from the domains list in the config file. This functionality is enabled when domainsasrealm is enabled in the config file.
(closes issue #11361)
Reported by: arkadia
Patches:
sip_realm_mnich_to_added_2.patch uploaded by arkadia (license 233)
Tested by: arkadia
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211947
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Wed, 12 Aug 2009 20:47:45 +0000 (20:47 +0000)]
Fix chan_dahdi option ringtimeout
dahdi_read relies on the dahdi_pvt copy of ringt which was not getting set
in sig_analog. This patch adds a callback to do so.
(closes issue #15288)
Reported by: alecdavis
Patches:
chan_dahdi.ringtimeout.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211908
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Wed, 12 Aug 2009 19:53:14 +0000 (19:53 +0000)]
Make asterisk handle 423 Interval Too Short messages better.
This change uses separate values for the acceptable minimum expiry provided by the 423 error and the expiry value stored in the configuration file. Previously, the value pulled from the configuration file would be overwritten.
(closes issue #14366)
Reported by: Nick_Lewis
Patches:
sip-expiry-fix1.diff uploaded by mnicholson (license 96)
chan_sip.c-reqexpiry.patch uploaded by Nick (license 657)
Tested by: mnicholson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211876
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 12 Aug 2009 18:47:51 +0000 (18:47 +0000)]
Blocked revisions 211807 via svnmerge
........
r211807 | mmichelson | 2009-08-12 13:46:09 -0500 (Wed, 12 Aug 2009) | 10 lines
Backport fix so that outbound CANCEL requests have same branch as challenged INVITEs.
There already was code present to be sure that a CANCEL will contain the same branch-id
as the INVITE it is cancelling. However, for INVITES which are challenged downstream,
this mechanism did not work properly. Now this is taken care of.
This is a backport of a fix already present in all 1.6.X branches and in trunk. It also
fixes ABE-1907.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211809
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Gavin Henry [Wed, 12 Aug 2009 16:00:46 +0000 (16:00 +0000)]
Added three new attributes and applied a patch to res_config_ldap.c
attributetype ( AstAccountSubscribeContext
NAME 'AstAccountSubscribeContext'
DESC 'Asterisk subscribe context'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
attributetype ( AstAccountIpAddr
NAME 'AstAccountIpAddr'
DESC 'Asterisk aaccount IP address'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
attributetype ( AstAccountUserAgent
NAME 'AstAccountUserAgent'
DESC 'Asterisk account user context'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
and patch fix_empty_attributes_1.6.1.4_v2.patch
(closes issue #13725)
Reported by: macogeek
Patches:
fix_empty_attributes_1.6.1.4_v2.patch uploaded by xvisor (license 863)
Tested by: suretec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211767
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 12 Aug 2009 10:11:36 +0000 (10:11 +0000)]
Always specify which RTP engine is desired for a new RTP instance.
This fixes a crash reported in #asterisk-dev where chan_mgcp unexpectedly
allocated an RTP instance from res_rtp_multicast, since by not specifying an
engine, you get the first one in the list of engines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211732
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Mon, 10 Aug 2009 23:21:57 +0000 (23:21 +0000)]
Encapsulate testing for which signaling styles are used by sig_pri.
Created the dahdi_sig_pri_lib_handles() function and
SIG_PRI_LIB_HANDLE_CASES macro to simplify testing for which signaling
styles are handled by sig_pri.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211675
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 10 Aug 2009 19:49:41 +0000 (19:49 +0000)]
Merged revisions 211583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211583 | tilghman | 2009-08-10 14:48:48 -0500 (Mon, 10 Aug 2009) | 1 line
Conversion specifiers, not format specifiers
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211584
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 10 Aug 2009 19:20:57 +0000 (19:20 +0000)]
AST-2009-005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211539
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Mon, 10 Aug 2009 18:01:47 +0000 (18:01 +0000)]
add manager events when a skinny device registers/unregisters
like we have in chan_sip
(closes issue #15499)
Reported by: arifzaman
Patches:
2009072600-skinnymanagerevents.diff.txt uploaded by mvanbaak (license 7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211475
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Mon, 10 Aug 2009 17:17:06 +0000 (17:17 +0000)]
Fix PRI/BRI channels when in alarm condition to only be marked for hangup if
T309 is not enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211435
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Mon, 10 Aug 2009 15:53:23 +0000 (15:53 +0000)]
Restoring some code to sig_pri. Not sure if it is really needed.
Putting some DSP code back into sig_pri that was removed by the
chan_dahdi/sig_pri reorganization.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211392
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 10 Aug 2009 15:46:39 +0000 (15:46 +0000)]
Fix up some issues with getting a channel by "name".
Even though the get_channel_by_name() API advertised that you could search by
name or uniqueid (just as the old API did), searching by uniqueid was not
actually implemented. This patch fixes that problem.
The ast_channel_get_full() function now makes a second search attempt by
uniqueid if the parameter was a name. The channel comparison function also
now knows how to compare by unqieueid.
Finally, a bug was fixed in passing where OBJ_POINTER was being passed in some
scenarios where it should not have been.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211390
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 10 Aug 2009 14:07:44 +0000 (14:07 +0000)]
Fix retrieval of the port used for the video stream when adding SDP to a SIP message.
(closes issue #15121)
Reported by: jsmith
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211347
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 9 Aug 2009 15:42:02 +0000 (15:42 +0000)]
Merged revisions 211274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211274 | tilghman | 2009-08-09 10:41:01 -0500 (Sun, 09 Aug 2009) | 2 lines
Small oops. Clear the flags which have been checked.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211275
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 9 Aug 2009 07:11:22 +0000 (07:11 +0000)]
Check for NULL frame, before dereferencing pointer.
(closes issue #15617)
Reported by: rain
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211232
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Fri, 7 Aug 2009 23:30:32 +0000 (23:30 +0000)]
Fixed some unsafe down cast pointer operations for sig_pri.
You cannot cast the struct dahdi_pvt.sig_pvt pointer to a specific
signaling private pointer without first checking that it is in fact
pointing to the correct signaling private structure.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211197
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Fri, 7 Aug 2009 23:17:41 +0000 (23:17 +0000)]
Fix static on line when PRI does overlap dialing.
The wrong encoding law was used because = was used when it should
have been ==.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211191
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 7 Aug 2009 20:12:21 +0000 (20:12 +0000)]
Recorded merge of revisions 211112 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211112 | russell | 2009-08-07 15:11:31 -0500 (Fri, 07 Aug 2009) | 4 lines
Resolve a deadlock involving app_chanspy and masquerades.
(ABE-1936)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211113
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 7 Aug 2009 18:17:41 +0000 (18:17 +0000)]
Merged revisions 211038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211038 | tilghman | 2009-08-07 13:16:28 -0500 (Fri, 07 Aug 2009) | 14 lines
QUEUE_MEMBER_LIST _really_ wants the interface name, not the membername.
This is a partial revert of revision 82590, which was an attempted cleanup,
but in reality, it broke QUEUE_MEMBER_LIST, which has always been intended
as a method by which component interfaces could be queried from the queue.
Membername isn't useful here, because that field cannot be used to obtain
further information about the member. See the documentation on
QUEUE_MEMBER_LIST, RemoveQueueMember, QUEUE_MEMBER_PENALTY, and the various
AMI commands which take a member argument for further justification.
(closes issue #15664)
Reported by: rain
Patches:
app_queue-queue_member_list.diff uploaded by rain (license 327)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211040
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 7 Aug 2009 13:08:00 +0000 (13:08 +0000)]
Workaround broken T.38 endpoints that offer tiny MaxDatagram sizes.
Some T.38 endpoints treat T38FaxMaxDatagram as the maximum IFP size that should
be sent to them, rather than the maximum packet payload size. If such an
endpoint also requests UDPRedundancy as the error correction mode, we'll end
up calculating a tiny maximum IFP size, so small as to be unusable. This patch
sets a lower bound on what we'll consider the remote's maximum IFP size to be,
assuming that endpoints that do this really can accept larger packets than
they've offered to accept.
(closes issue #15649)
Reported by: dazza76
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210992
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 6 Aug 2009 21:46:01 +0000 (21:46 +0000)]
Merged revisions 210913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r210913 | tilghman | 2009-08-06 16:45:01 -0500 (Thu, 06 Aug 2009) | 7 lines
Because channel information can be accessed outside of the channel thread, we must lock the channel prior to modifying it.
(closes issue #15397)
Reported by: caspy
Patches:
20090714__issue15397.diff.txt uploaded by tilghman (license 14)
Tested by: caspy
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210914
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 6 Aug 2009 21:29:26 +0000 (21:29 +0000)]
Allow Gosub to recognize quote delimiters without consuming them.
(closes issue #15557)
Reported by: rain
Patches:
20090723__issue15557.diff.txt uploaded by tilghman (license 14)
Tested by: rain
Review: https://reviewboard.asterisk.org/r/316/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210908
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 6 Aug 2009 20:15:11 +0000 (20:15 +0000)]
Miscellaneous minor fixes to sig_analog.
* Sanity adjustments to __analog_ss_thread for sig_analog environment.
* Deleted some duplicated code.
* Fixed analog_ss_thread_start passing the wrong pointer.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210869
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 6 Aug 2009 19:52:11 +0000 (19:52 +0000)]
Sanity adjustments to pri_ss_thread for sig_pri environment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210866
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 6 Aug 2009 17:47:04 +0000 (17:47 +0000)]
Accept additional T.38 reinvites after an initial one has been handled.
Discussion of this subject has yielded that it is not actually acceptable to change
T.38 parameters after the initial reinvite but declining is harsh and can cause the
fax to fail when it may be possible to allow it to continue. This patch changes things
so that additional T.38 reinvites are accepted but parameter changes ignored. This gives
the fax a fighting chance.
(closes issue #15610)
Reported by: huangtx2009
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210817
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 6 Aug 2009 16:07:15 +0000 (16:07 +0000)]
Minor improvements to app_fax.
This patch makes some small changes to handle watchdog timeouts in a better way,
and also uses a 'cleaner' method of including the spandsp header files.
(closes issue #14769)
Reported by: andrew
Patches:
app_fax-
20090406.diff uploaded by andrew (license 240)
v1-14769.patch uploaded by dimas (license 88)
Tested by: freh, deti, caspy, dimas, sgimeno, Dovid
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210777
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Wed, 5 Aug 2009 23:44:39 +0000 (23:44 +0000)]
Fix potential deadlock issue with USERUSERINFO channel variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210732
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Wed, 5 Aug 2009 22:46:37 +0000 (22:46 +0000)]
More changes from chan_dahdi that did not make it into sig_pri.
* Q.SIG channel mapping option.
* discardremoteholdretrieval option.
* libPRI debug defines.
* pri_set_overlapdial() now set correctly.
* pthread creation of pri_ss_thread now matches.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210696
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Wed, 5 Aug 2009 19:40:03 +0000 (19:40 +0000)]
Merged revisions 210575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r210575 | rmudgett | 2009-08-05 14:18:56 -0500 (Wed, 05 Aug 2009) | 14 lines
Dialplan starts execution before the channel setup is complete.
* Issue 15655: For the case where dialing is complete for an incoming
call, dahdi_new() was asked to start the PBX and then the code set more
channel variables. If the dialplan hungup before these channel variables
got set, asterisk would likely crash.
* Fixed potential for overlap incoming call to erroneously set channel
variables as global dialplan variables if the ast_channel structure failed
to get allocated.
* Added missing set of CALLINGSUBADDR in the dialing is complete case.
(closes issue #15655)
Reported by: alecdavis
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210640
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Leif Madsen [Wed, 5 Aug 2009 18:49:58 +0000 (18:49 +0000)]
Merged revisions 210563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r210563 | lmadsen | 2009-08-05 13:46:21 -0500 (Wed, 05 Aug 2009) | 11 lines
Update imapstorage.txt documentation.
Updated the imapstorage.txt documentation to reflect that issues with
c-client versions older than 2007 seem to cause crashing issues that
are not seen with more recent versions. Documentation has been updated
to reflect this.
(closes issue #14496)
Reported by: vbcrlfuser
Patches:
__20090727-imap-documentation-patch.txt uploaded by lmadsen (license 10)
Tested by: lmadsen, mmichelson, dbrooks
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210564
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 5 Aug 2009 14:09:24 +0000 (14:09 +0000)]
Revert some silly code that snuck into trunk from my working copy. Sorry!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210522
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Wed, 5 Aug 2009 08:03:36 +0000 (08:03 +0000)]
ignore the .i files when compiling in 'DONT_OPTIMIZE' in the addons/mp3 directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210478
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
David Brooks [Tue, 4 Aug 2009 18:59:36 +0000 (18:59 +0000)]
Blocked revisions 210067 via svnmerge
........
r210067 | dbrooks | 2009-08-03 11:15:20 -0500 (Mon, 03 Aug 2009) | 11 lines
Fixes dialplan wildcard extension taking precedence over call pickup code.
Prior to this patch, a wildcard extension in the dialplan (for example, _*.) would take
precedence over picking up a call in the channel's pickup group. This patch simply moves
the block of code handling pickup group matching to above the extension matching code.
(closes issue #14735)
Reported by: stevedavies
Review: https://reviewboard.asterisk.org/r/319/
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210436
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Tue, 4 Aug 2009 17:46:03 +0000 (17:46 +0000)]
Fix CALLERID() values for sig_pri on incoming calls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210387
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Tue, 4 Aug 2009 16:36:41 +0000 (16:36 +0000)]
Initial minimum ast_party_caller support.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210354
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Tue, 4 Aug 2009 16:36:03 +0000 (16:36 +0000)]
Removed some dead code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210353
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Tue, 4 Aug 2009 15:35:49 +0000 (15:35 +0000)]
Fix broken call pickup
The find_channel_by_group callback was only looking at the channel that was
attempting to make the pickup instead of the other channels in the container.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210302
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 4 Aug 2009 14:53:00 +0000 (14:53 +0000)]
Merged revisions 210237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r210237 | kpfleming | 2009-08-04 09:51:39 -0500 (Tue, 04 Aug 2009) | 10 lines
Eliminate spurious compiler warnings from system headers on *BSD platforms.
Ensure that system headers located in /usr/local/include are actually treated
as system headers by the compiler, and not as local headers which are subject
to warnings from the -Wundef compiler option and others.
(closes issue #15606)
Reported by: mvanbaak
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210238
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 3 Aug 2009 20:48:48 +0000 (20:48 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@210190
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Mon, 3 Aug 2009 18:05:46 +0000 (18:05 +0000)]
Changes from chan_dahdi that did not make it into sig_pri.
* Moved SUPPORT_USERUSER to sig_pri.c
* Fix PRI_DEADLOCK_AVOIDANCE parameter.
* Whitespace changes.
* Added missing unlock in pri_dchannel():PRI_EVENT_RING case.
* Balanced curly braces.
* ast_debug/ast_log changes from chan_dahdi.
* sig_pri_indicate() should default to return -1 if the indication is not
handled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210154
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Mon, 3 Aug 2009 16:24:13 +0000 (16:24 +0000)]
Trim trailing whitespace.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210094
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 3 Aug 2009 16:16:40 +0000 (16:16 +0000)]
Blocked revisions 210064-210066 via svnmerge
........
r210064 | tilghman | 2009-08-03 10:39:41 -0500 (Mon, 03 Aug 2009) | 4 lines
Apparently, some platforms don't have the index() function.
(closes issue #15639)
Reported by: nmav
........
r210065 | tilghman | 2009-08-03 10:42:10 -0500 (Mon, 03 Aug 2009) | 3 lines
Helps if we export the index() function.
(Related to issue #15639)
........
r210066 | tilghman | 2009-08-03 11:11:29 -0500 (Mon, 03 Aug 2009) | 3 lines
Reverting index() fix, applying a different methodology, based upon developer discussions.
(related to issue #15639)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210068
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 3 Aug 2009 14:29:17 +0000 (14:29 +0000)]
Fix order and redundancy of channel rename manager events in ast_do_masquerade.
Patch contributed by Mark Spencer.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@210027
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Mon, 3 Aug 2009 14:01:39 +0000 (14:01 +0000)]
Add an 'sms' option to mobile.conf to manually enable or disable SMS support.
(closes issue #15071)
Reported by: ughnz
Patches:
optional-sms1.diff uploaded by mnicholson (license 96)
Tested by: ughnz, mnicholson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209993
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Bradley Latus [Sat, 1 Aug 2009 23:33:31 +0000 (23:33 +0000)]
Update documentation in relation to UnixODBC
(closes issue #15516)
Reported by: snuffy
Patches:
bug_odbc_tex_update_v2.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209959
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Bradley Latus [Sat, 1 Aug 2009 23:25:16 +0000 (23:25 +0000)]
(closes issue #15515)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209958
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 1 Aug 2009 11:29:25 +0000 (11:29 +0000)]
Merged revisions 209879 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r209879 | russell | 2009-08-01 06:27:25 -0500 (Sat, 01 Aug 2009) | 5 lines
Resolve a valgrind warning about a read from uninitialized memory.
(issue #15396)
Reported by: aragon
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209887
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 1 Aug 2009 11:02:07 +0000 (11:02 +0000)]
Merged revisions 209838 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r209838 | russell | 2009-08-01 05:59:05 -0500 (Sat, 01 Aug 2009) | 13 lines
Modify how Playtones() is used in Milliwatt() to resolve gain issue.
When Milliwatt() was changed internally to use Playtones() so that the proper
tone was used, it introduced a drop in gain in the output signal. So, use
the playtones API directly and specify a volume argument such that the output
matches the gain of the original Milliwatt() code.
(closes issue #15386)
Reported by: rue_mohr
Patches:
issue_15386.rev2.diff uploaded by russell (license 2)
Tested by: rue_mohr
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209839
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 1 Aug 2009 10:43:40 +0000 (10:43 +0000)]
Fix ast_event_queue_and_cache() to actually do the cache() part.
(closes issue #15624)
Reported by: ffossard
Tested by: russell
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209835
65c4cc65-6c06-0410-ace0-
fbb531ad65f3