]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Richard Mudgett [Tue, 7 Sep 2010 17:47:34 +0000 (17:47 +0000)]
Merged revisions 285193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier
........
Merged revisions 285192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3
........
r285192 | rmudgett | 2010-09-07 11:58:57 -0500 (Tue, 07 Sep 2010) | 8 lines
COLP/CONP and chan_misdn missing update
chan_misdn does not update the caller id of the channel if a new connected
number or ECT-INFORM (w/ new peer number on call transfer) is received.
JIRA ABE-2502
JIRA SWP-2058
........
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285195
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 6 Sep 2010 20:10:24 +0000 (20:10 +0000)]
regenerate configure script.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285162
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 6 Sep 2010 20:10:03 +0000 (20:10 +0000)]
Fix libsrtp -fPIC check for when non-standard prefix is used.
Thanks to loompek in #asterisk for reporting the issue and testing this patch.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285161
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 6 Sep 2010 06:56:07 +0000 (06:56 +0000)]
Merged revisions 285089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r285089 | tilghman | 2010-09-06 01:55:17 -0500 (Mon, 06 Sep 2010) | 9 lines
Merged revisions 285088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r285088 | tilghman | 2010-09-06 01:54:18 -0500 (Mon, 06 Sep 2010) | 2 lines
Silly convenience script for BSD platforms.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285090
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 4 Sep 2010 18:08:19 +0000 (18:08 +0000)]
Add a C++ compatible version of AST_CLI_DEFINE().
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285057
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Fri, 3 Sep 2010 23:19:54 +0000 (23:19 +0000)]
Call correct lock function as transferer is a sip_pvt not a channel
Both functions are #defined to ao2_lock, but still...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285017
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 3 Sep 2010 22:21:50 +0000 (22:21 +0000)]
Disables auth_options_request option by default.
The auth_options_request option was created to do authentication
on OPTIONS request just like INVITES are done. Since it has been
noted that some endpoints use OPTIONS requests as a way of qualifying
a peer and that a 401 authentication response could result in
interoperability issues, this option has been disabled by default.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285006
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Fri, 3 Sep 2010 18:19:53 +0000 (18:19 +0000)]
Merged revisions 284958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r284958 | bbryant | 2010-09-03 14:15:49 -0400 (Fri, 03 Sep 2010) | 8 lines
This is a patch provided for issue #17935 to add the ActionID to the IAXregistry AMI response.
(closes issue #17935)
Reported by: alexkuklin
Patches:
iaxshowreg uploaded by alexkuklin (license 1115)
Tested by: alexkuklin
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284967
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 3 Sep 2010 18:03:23 +0000 (18:03 +0000)]
During OPTIONS authentication, the authpeer does not need to be returned for any reason.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284952
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 3 Sep 2010 17:29:02 +0000 (17:29 +0000)]
authenticate OPTIONS requests just like we would an INVITE
OPTIONS requests should be treated the same as an INVITE
This includes authentication. This patch adds the ability for
incoming out of dialog OPTION requests to be authenticated
before providing a response indicating whether an extension
is available or not. The authentication routine works the
exact same way as it does for incoming INVITEs. This means
that if a peer has 'insecure=invite' in their peer definition,
the same will be true for the processing of the OPTIONS request.
Review: https://reviewboard.asterisk.org/r/881/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284950
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Fri, 3 Sep 2010 16:28:18 +0000 (16:28 +0000)]
Merged revisions 284897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284897 | twilson | 2010-09-03 11:20:45 -0500 (Fri, 03 Sep 2010) | 12 lines
Merged revisions 284881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r284881 | twilson | 2010-09-03 11:10:23 -0500 (Fri, 03 Sep 2010) | 5 lines
Properly detect when a sound file doesn't exist
ast_fileexists returns -1 for error and 0 for a non-existant file. The existing
code treated missing files as though they existed.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284921
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jan Kalab [Fri, 3 Sep 2010 13:07:39 +0000 (13:07 +0000)]
Calendar categories and priorities: strdupa() fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284852
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jan Kalab [Fri, 3 Sep 2010 12:48:59 +0000 (12:48 +0000)]
Fix for calendar categories and priorities according to ISO C90
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284850
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jan Kalab [Fri, 3 Sep 2010 11:27:04 +0000 (11:27 +0000)]
Support for calendar events priorities and categories
Review 880
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284849
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Thu, 2 Sep 2010 21:04:51 +0000 (21:04 +0000)]
Merged revisions 284778 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284778 | bbryant | 2010-09-02 16:54:33 -0400 (Thu, 02 Sep 2010) | 14 lines
Merged revisions 284777 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r284777 | bbryant | 2010-09-02 16:25:03 -0400 (Thu, 02 Sep 2010) | 7 lines
Fixes a bug in manager.c where the default configuration values weren't reset when the manager configuration was reloaded.
(closes issue #17917)
Reported by: lmadsen
Review: https://reviewboard.asterisk.org/r/883/
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284781
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 2 Sep 2010 21:02:54 +0000 (21:02 +0000)]
Simplified pri_dchannel() poll timeout duration code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284780
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 2 Sep 2010 20:59:12 +0000 (20:59 +0000)]
Made output libpri event names if pri debugging is enabled when sig_pri processes them.
* Simplified CLI "pri debug xx span xx" command code and removed redundant
debugging enabled messages.
* Made CLI "pri debug xx span xx" command only close the debugging log
file if it was opened.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284779
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Thu, 2 Sep 2010 16:56:43 +0000 (16:56 +0000)]
Merged revisions 284704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284704 | dvossel | 2010-09-02 11:48:51 -0500 (Thu, 02 Sep 2010) | 13 lines
Merged revisions 284703 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r284703 | dvossel | 2010-09-02 11:47:15 -0500 (Thu, 02 Sep 2010) | 7 lines
Removed relatedpeer code from sip_autodestruct
Handling of the relatedpeer structure associated with a
sip_pvt should be done during the final sip_destruction
function, not in sip_autodestruct.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284705
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 2 Sep 2010 16:43:09 +0000 (16:43 +0000)]
Add slin16 support for format_wav (new wav16 file extension)
(closes issue #15029)
Reported by: andrew
Patches:
wav16.patch uploaded by andrew (license 240)
Tested by: qwell, andrew
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284701
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 2 Sep 2010 16:34:32 +0000 (16:34 +0000)]
Added documentation for CONNECTEDLINE and REDIRECTING functions.
(closes issue #17808)
Reported by: jtodd
Review: https://reviewboard.asterisk.org/r/875/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284698
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 2 Sep 2010 16:27:52 +0000 (16:27 +0000)]
Fixing build
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284696
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 2 Sep 2010 16:11:15 +0000 (16:11 +0000)]
Merged revisions 284665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r284665 | tilghman | 2010-09-02 11:07:19 -0500 (Thu, 02 Sep 2010) | 2 lines
Fixing build.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284666
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 2 Sep 2010 05:31:02 +0000 (05:31 +0000)]
Merged revisions 284631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r284631 | tilghman | 2010-09-02 00:30:16 -0500 (Thu, 02 Sep 2010) | 7 lines
Don't reset queue stats on a module reload.
(closes issue #17535)
Reported by: raarts
Patches:
20100819__issue17535.diff.txt uploaded by tilghman (license 14)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284632
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 2 Sep 2010 05:20:59 +0000 (05:20 +0000)]
When optional_api is non-optional, force dependent modules to be loaded.
(closes issue #17707)
Reported by: ira
Patches:
20100819__issue17707__asterisk1.8.diff.txt uploaded by tilghman (license 14)
Tested by: tilghman
Review: https://reviewboard.asterisk.org/r/876/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284610
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 2 Sep 2010 05:00:34 +0000 (05:00 +0000)]
Merged revisions 284593,284595 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284593 | tilghman | 2010-09-01 17:59:50 -0500 (Wed, 01 Sep 2010) | 18 lines
Merged revisions 284478 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r284478 | tilghman | 2010-09-01 13:49:11 -0500 (Wed, 01 Sep 2010) | 11 lines
Ensure that all areas that previously used select(2) now use poll(2), with implementations that need poll(2) implemented with select(2) safe against 1024-bit overflows.
This is a followup to the fix for the pthread timer in 1.6.2 and beyond, fixing
a potential crash bug in all supported releases.
(closes issue #17678)
Reported by: russell
Branch: https://origsvn.digium.com/svn/asterisk/team/tilghman/ast_select
Review: https://reviewboard.asterisk.org/r/824/
........
................
r284595 | tilghman | 2010-09-01 22:57:43 -0500 (Wed, 01 Sep 2010) | 2 lines
Failed to rerun bootstrap.sh after last commit
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284597
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Wed, 1 Sep 2010 21:47:01 +0000 (21:47 +0000)]
During request to dialog matching, verify init_ruri is present before comparing.
During request to dialog matching, we attempt a best effort routine for fork
detection which requires several elements to be in place. The dialog's
initial request uri is one of those elements. Since it is best effort,
if the init_ruri is not present for some reason we can not proceed with that
routine.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284561
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Wed, 1 Sep 2010 18:44:36 +0000 (18:44 +0000)]
Fix SRTP for changing SSRC and multiple a=crypto SDP lines
Adding code to Asterisk that changed the SSRC during bridges and masquerades
broke SRTP functionality. Also broken was handling the situation where an
incoming INVITE had more than one crypto offer. This patch caches the SRTP
policies the we use so that we can change the ssrc and inform libsrtp of the
new streams. It also uses the first acceptable a=crypto line from the incoming
INVITE.
(closes issue #17563)
Reported by: Alexcr
Patches:
srtp.diff uploaded by twilson (license 396)
Tested by: twilson
Review: https://reviewboard.asterisk.org/r/878/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284477
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 1 Sep 2010 18:16:37 +0000 (18:16 +0000)]
Merged revisions 284472 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r284472 | tilghman | 2010-09-01 13:13:35 -0500 (Wed, 01 Sep 2010) | 5 lines
Don't warn on floats and timestamps
(closes issue #17082)
Reported by: coolmig
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284473
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 31 Aug 2010 20:22:10 +0000 (20:22 +0000)]
Merged revisions 284399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284399 | tilghman | 2010-08-31 15:18:32 -0500 (Tue, 31 Aug 2010) | 14 lines
Merged revisions 284393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r284393 | tilghman | 2010-08-31 15:13:21 -0500 (Tue, 31 Aug 2010) | 7 lines
Don't send a devstate change on poke_noanswer if the state did not change.
(closes issue #17741)
Reported by: schmidts
Patches:
chan_sip.c.patch uploaded by schmidts (license 1077)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284415
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Leif Madsen [Tue, 31 Aug 2010 19:00:15 +0000 (19:00 +0000)]
Merged revisions 284317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284317 | lmadsen | 2010-08-31 13:59:31 -0500 (Tue, 31 Aug 2010) | 15 lines
Merged revisions 284316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r284316 | lmadsen | 2010-08-31 13:57:59 -0500 (Tue, 31 Aug 2010) | 7 lines
Update say.conf.sample to match the rules in say.c
(closes issue #17835)
Reported by: RoadKill
Patches:
say.conf.sample.patch.rules uploaded by RoadKill (license 933)
Tested by: RoadKill
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284318
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 30 Aug 2010 22:28:47 +0000 (22:28 +0000)]
Merged revisions 284280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r284280 | tilghman | 2010-08-30 17:27:06 -0500 (Mon, 30 Aug 2010) | 11 lines
Fix 3 coding errors:
1) After we close FD, we should not be trying to write to it.
2) Call _exit(0), not exit(0), to avoid running shutdown routines in a child.
3) Use endian, not processor, detection to ensure bytes are written in the correct order.
(closes issue #15706)
Reported by: modelnine
Patches:
asterisk-1.6.1.1-festival-debug.patch uploaded by modelnine (license 865)
Tested by: gmartinez
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284281
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 29 Aug 2010 07:05:27 +0000 (07:05 +0000)]
Missed adding this file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284158
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 29 Aug 2010 05:17:37 +0000 (05:17 +0000)]
Also ignore the checksums
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284127
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 29 Aug 2010 02:51:14 +0000 (02:51 +0000)]
Rename CEL adaptive driver to plain driver, since there isn't another ODBC driver
(and the other CEL drivers have adaptive capabilities, anyway).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284096
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 28 Aug 2010 21:29:45 +0000 (21:29 +0000)]
Be more flexible with whitespace on AMI action headers.
Previously, this code required exactly one space to be after the ':' in headers
for an AMI action. This now makes whitespace optional, and allows whitespace that
is there to vary in amount.
(closes issue #17862)
Reported by: cmoye
Patches:
manager.c.patch_trunk uploaded by cmoye (license 858)
manager.c.patch_1.8 uploaded by cmoye (license 858)
Tested by: cmoye
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284065
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 27 Aug 2010 22:37:11 +0000 (22:37 +0000)]
Merged revisions 284002 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r284002 | dvossel | 2010-08-27 17:27:50 -0500 (Fri, 27 Aug 2010) | 14 lines
Merged revisions 283960 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r283960 | dvossel | 2010-08-27 17:17:26 -0500 (Fri, 27 Aug 2010) | 8 lines
Parse all "Accept" headers for SIP SUBSCRIBE requests.
(closes issue #17758)
Reported by: ibc
Patches:
multiple_accept_headers_1.4.diff uploaded by dvossel (license 671)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284032
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 27 Aug 2010 21:33:55 +0000 (21:33 +0000)]
Print exten@context:priority in verbose messages from pbx_realtime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283951
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 27 Aug 2010 20:31:55 +0000 (20:31 +0000)]
Merged revisions 283881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r283881 | qwell | 2010-08-27 15:30:27 -0500 (Fri, 27 Aug 2010) | 15 lines
Merged revisions 283880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r283880 | qwell | 2010-08-27 15:29:11 -0500 (Fri, 27 Aug 2010) | 8 lines
Fix issue with decoding ^-escaped characters in realtime.
(closes issue #17790)
Reported by: denzs
Patches:
17790-chunky.diff uploaded by qwell (license 4)
Tested by: qwell, denzs
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283882
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 26 Aug 2010 23:47:02 +0000 (23:47 +0000)]
Convert MOH to use generic timers.
(closes issue #17726)
Reported by: lmadsen
Patches:
20100825__issue17726__2.diff.txt uploaded by tilghman (license 14)
Tested by: tilghman
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283770
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Thu, 26 Aug 2010 15:26:37 +0000 (15:26 +0000)]
Merged revisions 283691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r283691 | dvossel | 2010-08-26 10:24:40 -0500 (Thu, 26 Aug 2010) | 25 lines
Merged revisions 283690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r283690 | dvossel | 2010-08-26 10:22:28 -0500 (Thu, 26 Aug 2010) | 19 lines
Fixed how Asterisk destroys a dialog on channel hangup before invite receives a response.
If an ast_channel with a SIP tech pvt hangs up before the sip dialog gets a response
to its outgoing INVITE, Asterisk used to pretend_ack the INVITE. This is not rfc
compliant and results in confusion at the other endpoint. sip_pretend_ack will ack
and remove all the packets in the retransmit queue. This means that the INVITE will
stop retransmitting, and that any response to that INVITE that comes after the pretend_ack
occurs will be ignored.
Instead of faking any sort of acknowledgement for an outgoing INVITE during an internal
hangup, we should let the protocol stack process the INVITE transaction and terminate
the dialog properly. This is achieved by setting the PENDING_BYE flag. When this flag
is used, once the dialog proceeds to an escapable state the transaction will either be
canceled with a SIP_CANCEL or completed followed immediately by a BYE. Attempting to do
this any other way is incorrect. If the endpoint is not responding to the INVITE request,
the INVITE must continue to be retransmitted until it times out which will result in the
dialog being destroyed.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283692
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 26 Aug 2010 13:26:14 +0000 (13:26 +0000)]
Slight improvement to a debug message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283659
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 26 Aug 2010 12:48:45 +0000 (12:48 +0000)]
Remove public keys that are no longer useful.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283629
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 26 Aug 2010 12:26:22 +0000 (12:26 +0000)]
Move httptimeout out from in between port and bindaddr.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283627
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Wed, 25 Aug 2010 22:57:56 +0000 (22:57 +0000)]
Merged revisions 283594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r283594 | dvossel | 2010-08-25 17:56:42 -0500 (Wed, 25 Aug 2010) | 7 lines
Add to and from tags to NOTIFY dialog-info xml body so pickup can occur.
When pedantic mode is used, the dialog-info xml generated during a
ringing event must contain the to and from tag values. Otherwise if
a pickup occurs using INVITE with replaces, Astrisk will not be able
to locate the subscription.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283595
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 25 Aug 2010 16:12:43 +0000 (16:12 +0000)]
Initialize connect timeout on each time through the loop.
(closes issue #17911)
Reported by: wurstsalat
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283561
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Wed, 25 Aug 2010 15:54:11 +0000 (15:54 +0000)]
Merged revisions 283558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r283558 | dvossel | 2010-08-25 10:52:54 -0500 (Wed, 25 Aug 2010) | 10 lines
Asterisk will not advertise session timers are supported when 'session-timers=refuse' is used.
Asterisk now dynamically builds the "Supported" header depending
on what is enabled/disabled in sip.conf. Session timers used
to always be advertised as being supported even when they were disabled
in the configuration. This caused problems with some end points.
(issue #17005)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283559
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 25 Aug 2010 14:55:00 +0000 (14:55 +0000)]
Convert ast_log(LOG_DEBUG, ...) to ast_debug(...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283527
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Tue, 24 Aug 2010 20:34:03 +0000 (20:34 +0000)]
Changes the default behavior for sip.conf's pedantic option from "no" to "yes".
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283493
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Leif Madsen [Tue, 24 Aug 2010 18:56:29 +0000 (18:56 +0000)]
Fix issue where TOS is no longer set on RTP packets.
Fix issue where the tos is no longer being set on RTP packets through res_rtp_asterisk.
(closes issue #17890)
Reported by: elguero
Patches:
qos_18.diff uploaded by elguero (license 37)
Review: https://reviewboard.asterisk.org/r/868
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283457
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Tue, 24 Aug 2010 16:11:18 +0000 (16:11 +0000)]
Merged revisions 283381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r283381 | dvossel | 2010-08-24 11:07:37 -0500 (Tue, 24 Aug 2010) | 18 lines
Merged revisions 283380 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r283380 | dvossel | 2010-08-24 11:01:51 -0500 (Tue, 24 Aug 2010) | 11 lines
This fix makes sure the ast_channel hangs up correctly when the dialog's PENDING_BYE flag is set.
When the pending bye flag is used, it is possible that the dialog will terminate
and leave the sip_pvt->owner channel up. This is because we never hangup the
ast_channel after sending the SIP_BYE request. When we receive the response for
the SIP_BYE we set need_destroy which we would expect to destroy the dialog on the
next do_monitor loop, but this is not the case. The dialog will only be destroyed
once the owner is hungup even with the need_destroy flag set. This patch sets the
softhangup flag on the ast_channel when a SIP_BYE request is sent as a result of the
pending bye flag.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283382
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 24 Aug 2010 12:49:41 +0000 (12:49 +0000)]
Don't attempt to release a NULL ODBC handle.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283350
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 23 Aug 2010 21:33:47 +0000 (21:33 +0000)]
Merged revisions 283318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r283318 | tilghman | 2010-08-23 16:32:14 -0500 (Mon, 23 Aug 2010) | 2 lines
CDR drivers depend upon res_odbc, not directly on the ODBC libraries
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283319
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 23 Aug 2010 13:35:35 +0000 (13:35 +0000)]
Add sample configuration for cel_radius.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283241
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 23 Aug 2010 13:23:12 +0000 (13:23 +0000)]
Make the AST_CEL_AMA enum match up with the AST_CDR_ ama flag values.
Really, having 2 enums for this is silly and error prone, demonstrated by
the crash that I hit because there was an assumption in the code that the
values in each matched up. However, this is a quick fix to get them to
match up so it will work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283230
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 23 Aug 2010 13:06:57 +0000 (13:06 +0000)]
Don't blow up on an invalid AMA flag.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283209
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 23 Aug 2010 12:31:20 +0000 (12:31 +0000)]
Tack on ${eventextra} to the sample cel_custom.conf.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283207
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 23 Aug 2010 12:12:53 +0000 (12:12 +0000)]
Cut down on excessive quotation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283177
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 23 Aug 2010 12:06:26 +0000 (12:06 +0000)]
Don't fail to start if the config file is missing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283175
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 23 Aug 2010 11:58:34 +0000 (11:58 +0000)]
Expand cel_custom.conf.sample.
Include the usage of CSV_QUOTE() to ensure data has valid CSV formatting. Also list
the special CEL variables that are available for use in the mapping.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283173
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Fri, 20 Aug 2010 16:51:16 +0000 (16:51 +0000)]
Recorded merge of revisions 283124 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r283124 | rmudgett | 2010-08-20 11:48:10 -0500 (Fri, 20 Aug 2010) | 16 lines
Merged revisions 283123 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r283123 | rmudgett | 2010-08-20 11:46:22 -0500 (Fri, 20 Aug 2010) | 9 lines
Merged revision 278274 from
https://origsvn.digium.com/svn/asterisk/trunk
..........
r278274 | rmudgett | 2010-07-20 17:38:13 -0500 (Tue, 20 Jul 2010) | 1 line
Reference correct struct member for unlikely event PRI_EVENT_CONFIG_ERR.
..........
................
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283125
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Fri, 20 Aug 2010 15:35:38 +0000 (15:35 +0000)]
Merged revisions 283049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r283049 | rmudgett | 2010-08-20 10:31:03 -0500 (Fri, 20 Aug 2010) | 29 lines
Merged revisions 283048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r283048 | rmudgett | 2010-08-20 10:24:36 -0500 (Fri, 20 Aug 2010) | 22 lines
Q931 - Sending PROGRESS after sending ALERTING is a protocol error
The PRI layer in chan_dadhi will check if a PROGRESS message has already
been sent, and not allow sending another (although that is technically
allowed by the Q931 spec), however it does not protect against sending an
ALERTING and then sending a PROGRESS message, which is a violation of the
specification.
Most switches don't seem to care too deeply about this, but some do, and
will disconnect the call when receiving this invalid sequence.
Protocol specification reference: T-REC-Q.931-199805-I page 223, "Figure
A.5/Q.931 -- Overview protocol control (network side) point-point
(sheet 3 of 8)"
(closes issue #17874)
Reported by: nic_bellamy
Patches:
asterisk-1.4-r282537_no-progress-after-alerting.patch uploaded by nic bellamy (license 299)
asterisk-1.6.2-r282537_no-progress-after-alerting.patch uploaded by nic bellamy (license 299)
asterisk-trunk-r282537_no-progress-after-alerting.patch uploaded by nic bellamy (license 299)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283050
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 20 Aug 2010 12:45:12 +0000 (12:45 +0000)]
Fix a typo in a column name.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283013
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 20 Aug 2010 11:52:37 +0000 (11:52 +0000)]
Add an argument missing from the CELGenUserEvent documentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282979
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Thu, 19 Aug 2010 21:07:20 +0000 (21:07 +0000)]
Merged revisions 282894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r282894 | dvossel | 2010-08-19 16:05:54 -0500 (Thu, 19 Aug 2010) | 18 lines
Merged revisions 282893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r282893 | dvossel | 2010-08-19 16:03:24 -0500 (Thu, 19 Aug 2010) | 11 lines
tos_sip option was not being set correctly
When tos_sip is used, the tos of the sip socket is only set
correctly if the socket binding changes on a reload. If the binding
stays the same but the TOS changes, the new tos value would not take
into effect. This patch fixes that.
(closes issue #17712)
Reported by: nickb
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282895
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Thu, 19 Aug 2010 20:34:41 +0000 (20:34 +0000)]
Merged revisions 282890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r282890 | dvossel | 2010-08-19 15:31:22 -0500 (Thu, 19 Aug 2010) | 5 lines
fixes sip peer memory leaks in the peer_by_ip table
(issue #17798)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282891
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Thu, 19 Aug 2010 20:01:11 +0000 (20:01 +0000)]
Merged revisions 282859 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r282859 | mnicholson | 2010-08-19 14:44:00 -0500 (Thu, 19 Aug 2010) | 23 lines
Merged revisions 277944 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r277944 | pabelanger | 2010-07-19 15:56:07 -0500 (Mon, 19 Jul 2010) | 16 lines
Regression with T.38 negotiation
Prior to 1.4.26.3 T.38 negotiation worked properly, in the case
of the reporter.
(issue #16852)
Reported by: cfc
(closes issue #16705)
Reported by: mpiazzatnetbug
Patches:
issue16705_2.diff uploaded by ebroad (license 878)
Tested by: vrban, ebroad, c0rnoTa, samdell3
Review: https://reviewboard.asterisk.org/r/754/
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282860
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 19 Aug 2010 14:44:51 +0000 (14:44 +0000)]
Only output debugging if the debug level is on.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282826
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Thu, 19 Aug 2010 02:18:50 +0000 (02:18 +0000)]
Merged revisions 282730 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r282730 | twilson | 2010-08-18 21:14:28 -0500 (Wed, 18 Aug 2010) | 9 lines
Merged revisions 282729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r282729 | twilson | 2010-08-18 21:12:55 -0500 (Wed, 18 Aug 2010) | 2 lines
Add some documentation about codec negotiation to sip.conf
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282740
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Wed, 18 Aug 2010 15:28:27 +0000 (15:28 +0000)]
Use the correct type for aoce_delayhangup bit field.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282672
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Wed, 18 Aug 2010 15:27:51 +0000 (15:27 +0000)]
Use the correct operator when calculating the PRI span devstate.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282671
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Wed, 18 Aug 2010 14:32:53 +0000 (14:32 +0000)]
Blocked revisions 282668 via svnmerge
........
r282668 | dvossel | 2010-08-18 09:28:52 -0500 (Wed, 18 Aug 2010) | 8 lines
fixes crash with notifycid
(closes issue #17868)
Reported by: francesco_r
Patches:
issue_17868.diff uploaded by dvossel (license 671)
Tested by: francesco_r
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282669
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Wed, 18 Aug 2010 13:10:39 +0000 (13:10 +0000)]
Properly handle 200 and unknown responses conatined in NOTIFY requests received in response to REFER requests.
This patch fixes the way asterisk handles NOTIFY requests received in response to REFER requests. These changes to NOTIFY handler were first introduced in r217482. This new change properly handles the 200 response by queueing an AST_TRANSFER_SUCCESS control frame and also prevents that control frame from being queued when provisional and unknown responses are received.
(issue #17486)
Reported by: davidw
Tested by: mnicholson
(issue #12713)
Reported by: davidw
Review: https://reviewboard.asterisk.org/r/860/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282639
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 18 Aug 2010 12:30:40 +0000 (12:30 +0000)]
Split _all_ arguments before parsing them.
This fixes multicast RTP paging using linksys mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282638
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 18 Aug 2010 07:49:04 +0000 (07:49 +0000)]
Merged revisions 282607 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r282607 | tilghman | 2010-08-18 02:43:14 -0500 (Wed, 18 Aug 2010) | 9 lines
Don't warn on callerid when completely text, instead of numeric with localdialplan prefixes.
(closes issue #16770)
Reported by: jamicque
Patches:
20100413__issue16770.diff.txt uploaded by tilghman (license 14)
20100811__issue16770.diff.txt uploaded by tilghman (license 14)
Tested by: jamicque
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282608
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Tue, 17 Aug 2010 21:36:57 +0000 (21:36 +0000)]
Merged revisions 282576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r282576 | dvossel | 2010-08-17 16:35:17 -0500 (Tue, 17 Aug 2010) | 9 lines
fixes no default transport for temp peer creation in chan_sip
(closes issue #17829)
Reported by: falves11
Patches:
issue_17829.rev1.txt uploaded by russell (license 2)
issue_17829.diff uploaded by dvossel (license 671)
Tested by: falves11
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282577
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Tue, 17 Aug 2010 20:08:56 +0000 (20:08 +0000)]
ACCEPT message should respond with the new FORMAT2 ie
(closes issue #17804)
Reported by: tpanton
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282545
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Tue, 17 Aug 2010 19:34:06 +0000 (19:34 +0000)]
fixes truncated uint64_t value in put_unaligned_uint64_t() function
(issue #17804)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282543
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Leif Madsen [Mon, 16 Aug 2010 18:01:00 +0000 (18:01 +0000)]
Merged revisions 282469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r282469 | lmadsen | 2010-08-16 13:00:09 -0500 (Mon, 16 Aug 2010) | 7 lines
Add information about creating sounds files using
the sounds tools publically available so that others can create their
own sounds prompts using the same tools we use to generate sounds releases.
This allows people creating their own prompts to sound consistent with
the prompts available from the open source project.
SWP-595
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282470
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Mon, 16 Aug 2010 17:53:44 +0000 (17:53 +0000)]
Merged revisions 282467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r282467 | twilson | 2010-08-16 12:32:01 -0500 (Mon, 16 Aug 2010) | 23 lines
Merged revisions 282430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r282430 | twilson | 2010-08-16 12:06:37 -0500 (Mon, 16 Aug 2010) | 16 lines
Send a SRCCHANGE indication when we masquerade
Masquerading a channel means that the src of the audio is potentially
changing, so send a SRCCHANGE so that RTP-based media streams can get
a new SSRC generated to reflect the change. Original patch by addix
(along with lots of testing--thanks!).
(closes issue #17007)
Reported by: addix
Patches:
1001-reset-SSRC-original-channel.diff uploaded by addix (license 1006)
srcchange.diff uploaded by twilson (license 396)
Tested by: addix, twilson
Review: https://reviewboard.asterisk.org/r/862/
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282468
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 14 Aug 2010 04:53:58 +0000 (04:53 +0000)]
Fix our FRACKing issue with chan_iax2 a different way.
Review: https://reviewboard.asterisk.org/r/861/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282366
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Fri, 13 Aug 2010 23:53:36 +0000 (23:53 +0000)]
PRI CCSS may use a stale dial string for the recall dial string.
If an outgoing call negotiates a different B channel than initially
requested, the saved original dial string was not transferred to the new B
channel. CCSS uses that dial string to generate the recall dial string.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282334
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 13 Aug 2010 22:23:38 +0000 (22:23 +0000)]
remove current STUN support from chan_sip.c
This patch removes the current broken/useless stun
support from chan_sip.
(closes issue #17622)
Reported by: philipp2
Review: https://reviewboard.asterisk.org/r/855/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282302
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 13 Aug 2010 20:11:58 +0000 (20:11 +0000)]
res_stun_monitor and corresponding options CHANGES documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282271
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 13 Aug 2010 20:03:56 +0000 (20:03 +0000)]
res_stun_monitor for monitoring network changes behind a NAT device
Review: https://reviewboard.asterisk.org/r/854
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282269
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Fri, 13 Aug 2010 18:58:10 +0000 (18:58 +0000)]
Merged revisions 282235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r282235 | dvossel | 2010-08-13 13:54:53 -0500 (Fri, 13 Aug 2010) | 16 lines
only do magic pickup when notifycid is enabled
A new way of doing BLF pickup was introduced into 1.6.2. This feature
adds a call-id value into the XML of a SIP_NOTIFY message sent to alert
a subscriber that a device is ringing. This option should only be enabled
when the new 'notifycid' option is set... but this was not the case. Instead
the call-id value was included for every RINGING Notify message, which
caused a regression for people who used other methods for call pickup.
(closes issue #17633)
Reported by: urosh
Patches:
chan_sip.txt uploaded by urosh (license )
blf_cid_issue.diff uploaded by dvossel (license 671)
Tested by: dvossel, urosh, okrief, alecdavis
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282236
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Fri, 13 Aug 2010 16:02:20 +0000 (16:02 +0000)]
Whitespace fix :-/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282201
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Fri, 13 Aug 2010 16:00:02 +0000 (16:00 +0000)]
Detect when libsrtp cannot be linked in a shared library
The libsrtp build system currently does not produce a shared library
or a static library compiled with -fPIC, so on 64-bit systems it is
possible that we will get a compile error if libsrtp is installed and
res_srtp is selected in menuselect.
This patch attempts to detect this situation and provide the user with
instructions to work around the problem.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282200
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 12 Aug 2010 22:51:44 +0000 (22:51 +0000)]
Merged revisions 282130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r282130 | qwell | 2010-08-12 17:50:54 -0500 (Thu, 12 Aug 2010) | 9 lines
Merged revisions 282129 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r282129 | qwell | 2010-08-12 17:49:28 -0500 (Thu, 12 Aug 2010) | 1 line
Register CLI commands before parsing config, in case there is a config error.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282131
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 12 Aug 2010 22:06:06 +0000 (22:06 +0000)]
Separate call completion config parameter allocation and default initialization.
If you ever have a need to reset the call completion config parameters
to defaults, now you can.
And no Virginia, C++ idioms do not always work in C.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282098
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 12 Aug 2010 20:41:17 +0000 (20:41 +0000)]
Add a "core reload" CLI command.
Review: https://reviewboard.asterisk.org/r/859/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282066
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
David Vossel [Thu, 12 Aug 2010 20:15:41 +0000 (20:15 +0000)]
improved translation paths for wideband codecs
The problem I'm addressing is that Asterisk's current
method of building the least cost translation paths
between codecs does not take into account sample rate.
For instance, it was possible for siren14 (a 32khz codec),
to contain the a translation path to siren7 (a 16khz
audio codec) that goes through slin at 8khz. In this
case Asterisk takes a 32khz codec, down samples it to
8khz and then up samples it to 16khz which is terrible
regardless if it is computationally less expensive. This
patch now builds translation paths that give priority to
maintaining the best possible sample rate before taking
into consideration computational cost. This patch also
adds cli commands to expose what translation paths are
actually being used.
Changes:
1. Translation paths will never contain a step that changes
the sample rate unless absolutely necessary.
2. When choosing the best codec to make two channels compatible.
Shared codecs with the highest sample rate are given priority.
3. A new cli command to show all translation paths available
for a specific codec 'core show translation paths [codec name]'
has been added.
4. 'core show translation' which displays the translation
matrix now includes the new higher bit audio codecs in the table.
5. 'core show channel [channel name]' now displays the
translation paths if translation is used.
(closes issue #16841)
Reported by: dvossel
Review: https://reviewboard.asterisk.org/r/842/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282047
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 12 Aug 2010 18:03:56 +0000 (18:03 +0000)]
Put back pointer value output for ast_debug(), such that it is only removed for verbose output.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282015
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 12 Aug 2010 16:33:30 +0000 (16:33 +0000)]
Remove debugging output from verbose messages.
Pointer values to internal objects is not terribly useful to users in the
verbose messages about adding extensions and contexts.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281982
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Thu, 12 Aug 2010 03:03:37 +0000 (03:03 +0000)]
Merged revisions 281912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r281912 | jpeeler | 2010-08-11 22:01:38 -0500 (Wed, 11 Aug 2010) | 27 lines
Merged revisions 281911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r281911 | jpeeler | 2010-08-11 22:00:14 -0500 (Wed, 11 Aug 2010) | 20 lines
Ensure SSRC is changed when media source is changed to resolve audio delay.
This change causes the SSRC to change right before the channels are bridged,
which is what used to happen. It seems that fixes were made to attempt limiting
SSRC changes, targeted mainly at sending DTMF. DTMF is not affecting the SSRC
with this change.
There are two other control frames sent in ast_channel_bridge that probably
should also be changed to AST_CONTROL_SRCCHANGE as well, but I'm going to leave
this change up to the discretion of resolving issue #17007.
For reference - old review implementing new control frame SRCCHANGE:
https://reviewboard.asterisk.org/r/540
(closes issue #17404)
Reported by: sdolloff
Patches:
bug17404.patch uploaded by jpeeler (license 325)
Tested by: sdolloff
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281913
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Leif Madsen [Wed, 11 Aug 2010 21:12:13 +0000 (21:12 +0000)]
Merged revisions 281873 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r281873 | lmadsen | 2010-08-11 16:09:47 -0500 (Wed, 11 Aug 2010) | 14 lines
Merged revisions 281819 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r281819 | lmadsen | 2010-08-11 13:28:10 -0500 (Wed, 11 Aug 2010) | 6 lines
Add Danish support to say.conf.sample
(closes issue #17836)
Reported by: RoadKill
Patches:
say.conf.sample.patch.dk uploaded by RoadKill (license 933)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281875
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Wed, 11 Aug 2010 21:11:54 +0000 (21:11 +0000)]
handle all possible responses to REFER requests
(closes issue #17486)
Reported by: davidw
Patches:
Issue17486-counterbid.diff.txt uploaded by davidw (license 780)
Tested by: davidw
Review: https://reviewboard.asterisk.org/r/837/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281874
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Wed, 11 Aug 2010 20:30:29 +0000 (20:30 +0000)]
Fix a call to analog_set_pulsedial() not setting 0 or 1 only.
* Also a couple minor tweaks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281870
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Leif Madsen [Wed, 11 Aug 2010 17:54:56 +0000 (17:54 +0000)]
Merged revisions 281763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r281763 | lmadsen | 2010-08-11 12:54:09 -0500 (Wed, 11 Aug 2010) | 14 lines
Merged revisions 281762 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r281762 | lmadsen | 2010-08-11 12:51:40 -0500 (Wed, 11 Aug 2010) | 6 lines
Allow say.conf to handle large numbers ending with multiple zeros.
(closes issue #17833)
Reported by: RoadKill
Patches:
say.conf.sample.patch.largenumbers uploaded by RoadKill (license 933)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281764
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Nicholson [Wed, 11 Aug 2010 17:27:59 +0000 (17:27 +0000)]
Avoid a deadlock in add_header_max_forwards().
Related to r276951
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281760
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 11 Aug 2010 15:18:40 +0000 (15:18 +0000)]
Merged revisions 281722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r281722 | tilghman | 2010-08-11 10:17:20 -0500 (Wed, 11 Aug 2010) | 7 lines
Only set status TIMEOUT, if we have no digits.
(closes issue #15188)
Reported by: jcovert
Patches:
app_readexten.c.patch-1.6.2.8-rc1 uploaded by jcovert (license 551)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@281723
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3