Commit Graph

20583 Commits

Author SHA1 Message Date
Tilghman Lesher
f7c710feed Merged revisions 285930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285930 | tilghman | 2010-09-09 20:16:32 -0500 (Thu, 09 Sep 2010) | 14 lines
  
  Merged revisions 285889 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285889 | tilghman | 2010-09-09 19:13:45 -0500 (Thu, 09 Sep 2010) | 7 lines
    
    Fix Mac OS X build.
    
    This also fixes a rather grievous calculation error for the offset of
    ast_fdset, which was masked on Linux and FreeBSD, because these platforms
    check the first 256 FDs regardless of the bitmask setting (due to backwards
    compatibility).
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-10 01:25:50 +00:00
Paul Belanger
1e425a1812 Merged revisions 285818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285818 | pabelanger | 2010-09-09 18:49:19 -0400 (Thu, 09 Sep 2010) | 15 lines
  
  Merged revisions 285817 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285817 | pabelanger | 2010-09-09 18:34:35 -0400 (Thu, 09 Sep 2010) | 8 lines
    
    GCC 4.2.x optimizations result in improper behavior of GSM codec
    
    (closes issue #17688)
    Reported by: pprindeville
    Patches: 
          asterisk-trunk-bugid11243.patch uploaded by pprindeville (license 347)
    Tested by: mkeuter, pprindeville
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-09 22:52:31 +00:00
Jason Parker
85a04d3597 Merged revisions 285744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285744 | qwell | 2010-09-09 15:09:23 -0500 (Thu, 09 Sep 2010) | 16 lines
  
  Merged revisions 285742 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285742 | qwell | 2010-09-09 15:06:31 -0500 (Thu, 09 Sep 2010) | 9 lines
    
    Transmit silence when reading DTMF in ast_readstring.
    
    Otherwise, you could get issues with DTMF timeouts causing hangups.
    
    (closes issue #17370)
    Reported by: makoto
    Patches: 
          channel-readstring-silence-generator.patch uploaded by makoto (license 38)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-09 20:11:06 +00:00
Brett Bryant
c8f5e73601 Merged revisions 285710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285710 | bbryant | 2010-09-09 14:50:13 -0400 (Thu, 09 Sep 2010) | 8 lines
  
  Fixes an issue with dialplan pattern matching where the specificity for pattern ranges and pattern special characters was inconsistent.
  
  (closes issue #16903)
  Reported by: Nick_Lewis
  Patches: 
        pbx.c-specificity.patch uploaded by Nick Lewis (license 657)
  Tested by: Nick_Lewis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-09 18:51:52 +00:00
Brett Bryant
cbd99f2c39 Merged revisions 285639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285639 | bbryant | 2010-09-09 13:22:25 -0400 (Thu, 09 Sep 2010) | 14 lines
  
  Merged revisions 285638 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285638 | bbryant | 2010-09-09 13:20:17 -0400 (Thu, 09 Sep 2010) | 7 lines
    
    Fixes an issue with MOH where it doesn't recover cleanly when it can't play a file and would just stop, instead of continuing to find the next playable file in the MOH class.
    
    (closes issue #17807)
    Reported by: kshumard
    
    Review: https://reviewboard.asterisk.org/r/910/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-09 17:23:28 +00:00
David Vossel
006435cc1f Merged revisions 285567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285567 | dvossel | 2010-09-08 17:11:28 -0500 (Wed, 08 Sep 2010) | 9 lines
  
  Merged revisions 285566 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285566 | dvossel | 2010-09-08 17:07:31 -0500 (Wed, 08 Sep 2010) | 2 lines
    
    In retrans_pkt, do not unlock pvt until the end of the function on a transmit failure.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 22:14:19 +00:00
David Vossel
b452a0fc01 Merged revisions 285563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285563 | dvossel | 2010-09-08 16:47:29 -0500 (Wed, 08 Sep 2010) | 54 lines
  
  Fixes interoperability problems with session timer behavior in Asterisk.
  
  CHANGES:
  1. Never put "timer" in "Require" header.  This is not to our benefit
  and RFC 4028 section 7.1 even warns against it.  It is possible for one
  endpoint to perform session-timer refreshes while the other endpoint does
  not support them.  If in this case the end point performing the refreshing
  puts "timer" in the Require field during a refresh, the dialog will
  likely get terminated by the other end.
  
  2. Change the behavior of 'session-timer=accept' in sip.conf (which is
  the default behavior of Asterisk with no session timer configuration
  specified) to only run session-timers as result of an incoming INVITE
  request if the INVITE contains an "Session-Expires" header... Asterisk is
  currently treating having the "timer" option in the "Supported" header as
  a request for session timers by the UAC.  I do not agree with this.  Session
  timers should only be negotiated in "accept" mode when the incoming INVITE
  supplies a "Session-Expires" header, otherwise RFC 4028 says we should
  treat a request containing no "Session-Expires" header as a session with
  no expiration.
  
  Below I have outlined some situations and what Asterisk's behavior is.
  The table reflects the behavior changes implemented by this patch.
  
  SITUATIONS:
  -Asterisk as UAS
  1. Incoming INVITE: NO  "Session-Expires"
  2. Incoming INVITE: HAS "Session-Expires"
  
  -Asterisk as UAC
  3. Outgoing INVITE: NO  "Session-Expires". 200 Ok Response HAS "Session-Expires" header
  4. Outgoing INVITE: NO  "Session-Expires". 200 Ok Response NO  "Session-Expires" header
  5. Outgoing INVITE: HAS "Session-Expires".
  
  Active   - Asterisk will have an active refresh timer regardless if the other endpoint does.
  Inactive - Asterisk does not have an active refresh timer regardless if the other endpoint does.
  XXXXXXX  - Not possible for mode.
  ______________________________________
  |SITUATIONS | 'session-timer' MODES  |
  |___________|________________________|
  |           | originate  |  accept   |
  |-----------|------------|-----------|
  |1.         |   Active   | Inactive  |
  |2.         |   Active   |  Active   |
  |3.         | XXXXXXXX   | Active    |
  |4.         | XXXXXXXX   | Inactive  |
  |5.         |   Active   | XXXXXXXX  |
  --------------------------------------
  
  
  (closes issue #17005)
  Reported by: alexrecarey
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 21:48:37 +00:00
Brett Bryant
69e4f34914 Merged revisions 285532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285532 | bbryant | 2010-09-08 16:56:12 -0400 (Wed, 08 Sep 2010) | 8 lines
  
  Fixes a bug with MeetMe where after announcing the amount of time left in a conference, if music on hold was playing, it doesn't restart.
  
  (closes issue #17408)
  Reported by: sysreq
  Patches: 
        asterisk-issue-17408_fixed.patch uploaded by sysreq (license 1009)
  Tested by: sysreq
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 20:58:43 +00:00
Jason Parker
a766133be6 Merged revisions 285529 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285529 | qwell | 2010-09-08 15:42:44 -0500 (Wed, 08 Sep 2010) | 1 line
  
  Follow coding guidelines in moh rescan fix.  Also fix the documentation that got me in trouble.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 20:43:10 +00:00
Jason Parker
a58abf7cad Merged revisions 285526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r285526 | qwell | 2010-09-08 15:31:43 -0500 (Wed, 08 Sep 2010) | 8 lines
  
  Fixes issue where moh files were no longer rescanned during a reload.
  
  (closes issue #16744)
  Reported by: pj
  Patches: 
        16744-reload.diff uploaded by qwell (license 4)
  Tested by: qwell
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 20:32:13 +00:00
Tilghman Lesher
4be40d5cab Documentation only
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-08 07:14:17 +00:00
Jason Parker
7e6f798329 Don't automatically add domains for wildcard bindaddrs.
(closes issue #17832)
Reported by: oej
Patches: 
      17832-wildcard.diff uploaded by qwell (license 4)
Tested by: qwell


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 22:22:14 +00:00
Tilghman Lesher
80903051e9 Don't notify on attribute changes, and change how the queuing mechanism works.
Fixes call spools in 1.8.

(closes issue #17337)
 Reported by: loloski
 Patches: 
       20100827__issue17337.diff.txt uploaded by tilghman (license 14)

(closes issue #17924)
 Reported by: mkeuter
 Tested by: mkeuter


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 21:20:16 +00:00
Tilghman Lesher
dbe6dde6da Add CHANNEL(checkhangup) to check whether a channel is in the process of being hanged up.
(closes issue #17652)
 Reported by: kobaz
 Patches: 
       func_channel.patch uploaded by kobaz (license 834)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 21:14:03 +00:00
Richard Mudgett
e18b30c95c Fix cut-n-paste error.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 21:08:35 +00:00
Jason Parker
de7ee06771 Add note to 'sip show settings' regarding dual-stack support, and a :: bindaddress.
(closes issue #17831)
Reported by: oej
Patches: 
      17831-v6wildcardbind.diff uploaded by qwell (license 4)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 20:58:34 +00:00
Tilghman Lesher
7ea473942b Merged revisions 285366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285366 | tilghman | 2010-09-07 15:31:41 -0500 (Tue, 07 Sep 2010) | 16 lines
  
  Merged revisions 285365 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285365 | tilghman | 2010-09-07 15:30:22 -0500 (Tue, 07 Sep 2010) | 9 lines
    
    Catch invalid extensions at the parser, instead of making the core deal with them.
    
    (closes issue #17794)
     Reported by: PavelL
     Patches: 
           20100820__issue17794__1.6.2.diff.txt uploaded by tilghman (license 14)
           20100820__issue17794__1.4.diff.txt uploaded by tilghman (license 14)
     Tested by: PavelL
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 20:56:07 +00:00
Tilghman Lesher
f7f7eaa3a0 Fix build on FreeBSD 8.0, take 2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 19:38:12 +00:00
Tilghman Lesher
6df1f446c9 Merged revisions 285267 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285267 | tilghman | 2010-09-07 14:07:17 -0500 (Tue, 07 Sep 2010) | 11 lines
  
  Merged revisions 285266 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285266 | tilghman | 2010-09-07 14:04:50 -0500 (Tue, 07 Sep 2010) | 4 lines
    
    Use poll, if indicated to do so, in the ast_poll2 implementation.
    
    This fixes the unit tests on FreeBSD 8.0.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 19:08:09 +00:00
Brett Bryant
8131d12a71 Merged revisions 285196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285196 | bbryant | 2010-09-07 13:49:07 -0400 (Tue, 07 Sep 2010) | 17 lines
  
  Merged revisions 285194 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285194 | bbryant | 2010-09-07 13:45:41 -0400 (Tue, 07 Sep 2010) | 10 lines
    
    Fixes voicemail.conf issues where mailboxes with passwords that don't precede a comma would throw unnecessary error messages.
    
    (closes issue #15726)
    Reported by: 298
    Patches: 
          M15726.diff uploaded by junky (license 177)
    Tested by: junky
    
    Review: [full review board URL with trailing slash]
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 17:54:21 +00:00
Richard Mudgett
292ef559d9 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
2010-09-07 17:47:34 +00:00
Russell Bryant
41576e8c40 regenerate configure script.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-06 20:10:24 +00:00
Russell Bryant
2fc3cf65af 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
2010-09-06 20:10:03 +00:00
Tilghman Lesher
1f7a1ca701 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
2010-09-06 06:56:07 +00:00
Russell Bryant
222d4676d1 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
2010-09-04 18:08:19 +00:00
Terry Wilson
4b9b342078 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
2010-09-03 23:19:54 +00:00
David Vossel
4c42713010 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
2010-09-03 22:21:50 +00:00
Brett Bryant
a9d85157ed 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
2010-09-03 18:19:53 +00:00
David Vossel
677c54d1f2 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
2010-09-03 18:03:23 +00:00
David Vossel
125f089394 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
2010-09-03 17:29:02 +00:00
Terry Wilson
2e701efc81 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
2010-09-03 16:28:18 +00:00
Jan Kalab
9bb0543bfd Calendar categories and priorities: strdupa() fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-03 13:07:39 +00:00
Jan Kalab
2cd6f30f3b 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
2010-09-03 12:48:59 +00:00
Jan Kalab
e7603921cf 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
2010-09-03 11:27:04 +00:00
Brett Bryant
781978c65e 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
2010-09-02 21:04:51 +00:00
Richard Mudgett
5f2b40c699 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
2010-09-02 21:02:54 +00:00
Richard Mudgett
c271acacda 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
2010-09-02 20:59:12 +00:00
David Vossel
b5f428dee5 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
2010-09-02 16:56:43 +00:00
Jason Parker
6089cb662d 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
2010-09-02 16:43:09 +00:00
Richard Mudgett
44cc294c89 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
2010-09-02 16:34:32 +00:00
Tilghman Lesher
90264f386e Fixing build
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-02 16:27:52 +00:00
Tilghman Lesher
c69a826812 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
2010-09-02 16:11:15 +00:00
Tilghman Lesher
8bc90ad39a 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
2010-09-02 05:31:02 +00:00
Tilghman Lesher
7e3f95e00a 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
2010-09-02 05:20:59 +00:00
Tilghman Lesher
6c61e312c6 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
2010-09-02 05:00:34 +00:00
David Vossel
ed423183d6 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
2010-09-01 21:47:01 +00:00
Terry Wilson
8a112de270 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
2010-09-01 18:44:36 +00:00
Tilghman Lesher
6ade370974 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
2010-09-01 18:16:37 +00:00
Tilghman Lesher
b8dbf411e8 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
2010-08-31 20:22:10 +00:00
Leif Madsen
c11481ee80 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
2010-08-31 19:00:15 +00:00