Commit Graph

17114 Commits

Author SHA1 Message Date
Russell Bryant
d067d7b06a Merged revisions 194765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r194765 | russell | 2009-05-15 13:43:42 -0500 (Fri, 15 May 2009) | 10 lines

Merged revisions 194764 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r194764 | russell | 2009-05-15 13:43:18 -0500 (Fri, 15 May 2009) | 2 lines

Fix some spelling fail.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-15 18:43:58 +00:00
Russell Bryant
26c5affb96 Merged revisions 194722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r194722 | russell | 2009-05-15 12:59:08 -0500 (Fri, 15 May 2009) | 4 lines

Shuttle some bits around to address some gain issues with G.722.

(closes AST-209)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-15 18:04:52 +00:00
Russell Bryant
ef334aff5f Merged revisions 194718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r194718 | russell | 2009-05-15 12:37:12 -0500 (Fri, 15 May 2009) | 2 lines

Further simplify codec_g722 build.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-15 17:37:29 +00:00
Russell Bryant
7981c09ed2 Merged revisions 194714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r194714 | russell | 2009-05-15 12:24:39 -0500 (Fri, 15 May 2009) | 2 lines

Actually force running make for g722.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-15 17:25:06 +00:00
Kevin P. Fleming
5aad6a76fd Merged revisions 194520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194520 | kpfleming | 2009-05-14 17:26:02 -0500 (Thu, 14 May 2009) | 9 lines
  
  Merged revisions 194509 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194509 | kpfleming | 2009-05-14 17:23:49 -0500 (Thu, 14 May 2009) | 1 line
    
    Update URL to Reviewboard
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-14 22:28:34 +00:00
Mark Michelson
bd0383c3be Merged revisions 194496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194496 | mmichelson | 2009-05-14 17:20:51 -0500 (Thu, 14 May 2009) | 30 lines
  
  Merged revisions 194484 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194484 | mmichelson | 2009-05-14 17:17:55 -0500 (Thu, 14 May 2009) | 24 lines
    
    Fix a race condition where a reinvite could trigger a 482 response.
    
    The loop detection/spiral detection code in chan_sip used the owner
    channel's state as a criterion for determining if the incoming INVITE
    is a looped request. The problem with this is that the INVITE-handling
    code happens in a different thread than the thread that marks the owner
    channel as being up. As a result, if a reinvite were to come in very quickly,
    say from another Asterisk on the same LAN, it was possible for the reinvite
    to arrive before the owner channel had been set to the up state.
    
    This patch corrects the problem by using the invitestate of the sip_pvt
    instead, since that can be guaranteed to be set correctly by the time
    the reinvite arrives. Since there is a switch statement further in the
    INVITE-handling code, the AST_STATE_RINGING state also checks the invitestate
    of the sip_pvt in case we should actually be treating the channel as if it were
    up already.
    
    (closes issue #12215)
    Reported by: jpyle
    Patches:
          12215_confirmed.patch uploaded by mmichelson (license 60)
    Tested by: lmadsen
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-14 22:22:44 +00:00
Joshua Colp
e946fa7eae Merged revisions 194434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r194434 | file | 2009-05-14 14:05:33 -0300 (Thu, 14 May 2009) | 7 lines
  
  Fix a bug where the 'T' option to Meetme did not work.
  
  (closes issue #15031)
  Reported by: Stochastic
  (closes issue #13801)
  Reported by: justdave
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-14 17:06:23 +00:00
Mark Michelson
9e2182d974 Recorded merge of revisions 194357 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194357 | mmichelson | 2009-05-13 14:42:51 -0500 (Wed, 13 May 2009) | 18 lines
  
  Blocked revisions 194356 via svnmerge
  
  ........
    r194356 | mmichelson | 2009-05-13 14:41:44 -0500 (Wed, 13 May 2009) | 13 lines
    
    Remove an extraneous unlocking operation from ast_channel_free.
    
    In the case that we could not remove the desired channel from the
    list of channels, there was an extra call to unlock the channel list.
    Since we unlock the list later on in the function anyway, this results
    in the list being unlocked twice yet only being locked once.
    
    (closes issue #15098)
    Reported by: tim_ringenbach
    Patches:
          remove_extra_unlock.diff uploaded by tim (license 540)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-13 19:50:04 +00:00
Joshua Colp
86e8f9c7e5 Merged revisions 194209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194209 | file | 2009-05-13 10:39:10 -0300 (Wed, 13 May 2009) | 18 lines
  
  Merged revisions 194208 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194208 | file | 2009-05-13 10:38:01 -0300 (Wed, 13 May 2009) | 11 lines
    
    Fix RFC2833 issues with DTMF getting duplicated and with duration wrapping over.
    
    (closes issue #14815)
    Reported by: geoff2010
    Patches:
          v1-14815.patch uploaded by dimas (license 88)
    Tested by: geoff2010, file, dimas, ZX81, moliveras
    (closes issue #14460)
    Reported by: moliveras
    Tested by: moliveras
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-13 13:40:18 +00:00
Tilghman Lesher
b306d2e1ab Merged revisions 194138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194138 | tilghman | 2009-05-12 19:52:49 -0500 (Tue, 12 May 2009) | 14 lines
  
  Merged revisions 194137 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194137 | tilghman | 2009-05-12 19:52:03 -0500 (Tue, 12 May 2009) | 7 lines
    
    Fix logic for how to proceed with a single digit extension.
    (closes issue #15091)
     Reported by: andrew
     Patches: 
           20090512__issue15091.diff.txt uploaded by tilghman (license 14)
     Tested by: andrew
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-13 00:54:07 +00:00
Matthew Nicholson
10a7f969fe Merged revisions 194057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r194057 | mnicholson | 2009-05-12 17:32:13 -0500 (Tue, 12 May 2009) | 22 lines
  
  Merged revisions 194028 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r194028 | mnicholson | 2009-05-12 17:15:45 -0500 (Tue, 12 May 2009) | 16 lines
    
    This change modifies app_queue to properly generate CDR records in failure
    situations.
    
    This involves setting a proper cdr disposition coresponding to the given
    failure condition and ensuring the proper information is stored in the cdr
    record.
    
    (closes issue #13691)
    Reported by: dferrer
    Tested by: mnicholson
    
    (closes issue #13637)
    Reported by: atis
    Tested by: atis
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@194063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-12 23:03:58 +00:00
Mark Michelson
4a9497891c Merged revisions 193954 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193954 | mmichelson | 2009-05-12 15:28:13 -0500 (Tue, 12 May 2009) | 18 lines
  
  Update spiral support in trunk and 1.6.X to match what is in 1.4.
  
  In 1.4, a SIP spiral is treated the same way as a call forward. This
  works much better than what is currently in trunk and 1.6.X. The code
  in trunk and 1.6.X did not create a new call to the recipient of the spiral,
  instead trying to continue the same call. In addition to just being plain
  wrong, this also had the side effect of only being able to spiral calls
  to other SIP channels.
  
  With this in place, as long as call forwards are honored, SIP spirals
  will work properly. This means that it will work for outbound calls
  made  by the Queue, Dial, and Page applications. For originated calls and
  spool calls, however, the spiral will not work properly until a generic
  call forward mechanism is introduced into Asterisk.
  
  (relates to issue #13630)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-12 20:50:30 +00:00
Tilghman Lesher
538c562092 Merged revisions 193956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193956 | tilghman | 2009-05-12 15:40:22 -0500 (Tue, 12 May 2009) | 13 lines
  
  Merged revisions 193955 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193955 | tilghman | 2009-05-12 15:39:21 -0500 (Tue, 12 May 2009) | 6 lines
    
    Avoid initializing routines if the authentication fails.  Fixes a crash (RR) issue.
    (closes issue #14508)
     Reported by: tiziano
     Patches: 
           20090221_2_wrongmailbox.diff.txt uploaded by tiziano (license 377)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-12 20:42:09 +00:00
Mark Michelson
5a092bedca Blocked revisions 193886 via svnmerge
................
  r193886 | mmichelson | 2009-05-12 13:20:14 -0500 (Tue, 12 May 2009) | 17 lines
  
  Blocked revisions 193880 via svnmerge
  
  ........
    r193880 | mmichelson | 2009-05-12 13:18:44 -0500 (Tue, 12 May 2009) | 12 lines
    
    Set the invitestate to INV_CANCELLED only if we are actually sending a SIP CANCEL.
    
    The problem was that the hangup code was setting the invitestate too early. The result of
    this was that we would always send a CANCEL request, even if it was not an appropriate
    time to do so (e.g. we have not yet received a provisional response for our INVITE).
    
    Note that this same fix had been applied to trunk and the 1.6.X branches starting with
    revision 155467. This is why you will see this revision being blocked from those places.
    
    AST-216
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-12 18:20:33 +00:00
Tilghman Lesher
b9d140e943 Merged revisions 193870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193870 | tilghman | 2009-05-12 12:29:33 -0500 (Tue, 12 May 2009) | 2 lines
  
  Convert a THREADSTORAGE object into a simple malloc'd object (as suggested by Russell on -dev)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-12 17:47:16 +00:00
Tilghman Lesher
0569b32ac0 Recorded merge of revisions 193756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193756 | tilghman | 2009-05-11 17:50:47 -0500 (Mon, 11 May 2009) | 25 lines
  
  Recorded merge of revisions 193755 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193755 | tilghman | 2009-05-11 17:48:20 -0500 (Mon, 11 May 2009) | 18 lines
    
    Move 300 bytes around on the stack, to make more room for an extension buffer.
    This allows more concurrent extensions to be copied for a single voicemail,
    without creating a possibility of upsetting existing users, where a dialplan
    could run out of stack space where it had run fine before.  Alternatively,
    we could have allocated off the heap, but that is a larger change and would
    have increased the chance for instability introduced by this change.
    
    This is really solved starting in 1.6.0.11, as the use of an ast_str buffer
    allows an unlimited number of extensions (up to available memory).  We
    additionally create a new warning message when the buffer length is exceeded,
    permitting administrators to see an issue after the fact, whereas previously
    the list was silently truncated.
    (closes issue #14739)
     Reported by: p_lindheimer
     Patches: 
           20090417__bug14739.diff.txt uploaded by tilghman (license 14)
     Tested by: p_lindheimer
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-11 23:23:15 +00:00
Richard Mudgett
d111483ab8 Merged revisions 193614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193614 | rmudgett | 2009-05-11 14:11:29 -0500 (Mon, 11 May 2009) | 19 lines
  
  Merged revisions 193613 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193613 | rmudgett | 2009-05-11 14:09:00 -0500 (Mon, 11 May 2009) | 12 lines
    
    Sent wrong message to clear a call we started if the other end has not responed yet.
    
    In the state MISDN_CALLING (i.e. SETUP was sent but no answer has arrived yet),
    it is not allowed to clear the call with RELEASE_COMPLETE.  It must be
    cleared with DISCONNECT.  A RELEASE_COMPLETE is only allowed as an answer
    to a SETUP.  (See Q.931 ch. 5.3.2, 5.3.2.a, 5.3.2.b)
    
    Patches:
        chan-misdn-ccstate7.patch uploaded by customer.
    
    JIRA ABE-1862
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-11 19:15:13 +00:00
Leif Madsen
156d70ea47 Recorded merge of revisions 193545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193545 | lmadsen | 2009-05-11 14:01:44 -0400 (Mon, 11 May 2009) | 14 lines
  
  Recorded merge of revisions 193544 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193544 | lmadsen | 2009-05-11 13:35:17 -0400 (Mon, 11 May 2009) | 7 lines
    
    Document CHANNEL(transfercapability) in CLI documentation.
    
    (issue #15073)
    Reported by: pkempgen
    Patches:
          20090511__issue15073.diff.txt uploaded by tilghman (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-11 18:06:53 +00:00
David Vossel
80a37a02a6 Merged revisions 193387 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193387 | dvossel | 2009-05-08 15:32:51 -0500 (Fri, 08 May 2009) | 7 lines
  
  TCP not matching valid peer.
  
  find_peer() does not find a valid peer when using pvt->recv as the sockaddr_in argument.  Because of the way TCP works, the port number in pvt->recv is not what we're looking for at all.  There is currently only one place that find_peer searches for a peer using the sockaddr_in argument.  If the peer is not found after using pvt->recv (works for UDP since the port number will be correct), a temp sockaddr_in struct is made using the Contact header in the sip_request.  This has the correct port number in it.
  
  Review: http://reviewboard.digium.com/r/236/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-08 21:32:25 +00:00
Sean Bright
3c62a045b7 Merged revisions 193274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193274 | seanbright | 2009-05-08 11:18:40 -0400 (Fri, 08 May 2009) | 2 lines
  
  Fix the spelling of UNAVAILABLE in func_devstate CLI completion.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-08 15:36:14 +00:00
David Vossel
3c092fb35b Merged revisions 193263 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193263 | dvossel | 2009-05-08 09:52:19 -0500 (Fri, 08 May 2009) | 15 lines
  
  Merged revisions 193262 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193262 | dvossel | 2009-05-08 09:51:09 -0500 (Fri, 08 May 2009) | 9 lines
    
    "misdn show config" segfaults asterisk, if no MSN lists 
    
    (closes issue #14976)
    Reported by: alecdavis
    Patches:
          misdn_config.diff.txt uploaded by alecdavis (license 585)
    Tested by: alecdavis, FabienToune
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-08 14:53:28 +00:00
Kevin P. Fleming
61714bdefc Merged revisions 193194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193194 | kpfleming | 2009-05-08 09:06:15 -0500 (Fri, 08 May 2009) | 13 lines
  
  Merged revisions 193193 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193193 | kpfleming | 2009-05-08 09:03:28 -0500 (Fri, 08 May 2009) | 7 lines
    
    Make absolute paths for logger channels work properly
    
    (Note: This is not a new feature, it was previously undocumented and broken.)
    
    The Asterisk logger has a feature to support absolute pathnames for logger channels, but the code implementing the feature was broken. This has been fixed, and the absolute path feature is now documented in the sample logger.conf.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-08 14:09:05 +00:00
Tilghman Lesher
46cb79f430 Merged revisions 193120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193120 | tilghman | 2009-05-07 18:42:28 -0500 (Thu, 07 May 2009) | 26 lines
  
  Merged revisions 193119 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193119 | tilghman | 2009-05-07 18:41:11 -0500 (Thu, 07 May 2009) | 19 lines
    
    Fix Background within a Macro for FreePBX.
    If the single digit DTMF is an extension in the specified context, then
    go there and signal no DTMF.  Otherwise, we should exit with that DTMF.
    If we're in Macro, we'll exit and seek that DTMF as the beginning of an
    extension in the Macro's calling context.  If we're not in Macro, then
    we'll simply seek that extension in the calling context.  Previously,
    someone complained about the behavior as it related to the interior of a
    Gosub routine, and the fix (#14011) inadvertently broke FreePBX
    (#14940).  This change should fix both of these situations, but with the
    possible incompatibility that if a single digit extension does not exist
    (but a longer extension COULD have matched), it would have previously
    gone immediately to the "i" extension, but will now need to wait for a
    timeout.
    (closes issue #14940)
     Reported by: p_lindheimer
     Patches: 
           20090420__bug14940.diff.txt uploaded by tilghman (license 14)
     Tested by: p_lindheimer
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-07 23:43:23 +00:00
Richard Mudgett
e9cf423d60 Merged revisions 193077 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r193077 | rmudgett | 2009-05-07 17:24:04 -0500 (Thu, 07 May 2009) | 12 lines
  
  Merged revisions 193050 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r193050 | rmudgett | 2009-05-07 17:17:06 -0500 (Thu, 07 May 2009) | 5 lines
    
    Give a more helpful message when an incoming call's dialed extension does not match.
    
    Added the dialed extension and context to the chan_misdn messages warning
    that the dialed number cannot be matched in the dialplan.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@193078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-07 22:34:00 +00:00
Tilghman Lesher
6315384b63 Merged revisions 192938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192938 | tilghman | 2009-05-07 12:13:36 -0500 (Thu, 07 May 2009) | 6 lines
  
  Send DTMF frame before playing back audio.
  (closes issue #14858)
   Reported by: barryf
   Patches: 
         20090507__bug14858.diff.txt uploaded by tilghman (license 14)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-07 17:14:26 +00:00
Tilghman Lesher
2a0f0439e5 Merged revisions 192933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192933 | tilghman | 2009-05-07 11:43:56 -0500 (Thu, 07 May 2009) | 17 lines
  
  Merged revisions 192932 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192932 | tilghman | 2009-05-07 11:29:08 -0500 (Thu, 07 May 2009) | 10 lines
    
    Eliminate repetition of fullcontact during reconstruction.
    If the fullcontact field appears in both the sippeers and the
    sipregs table, then during reconstruction of the field, it will
    otherwise be doubled.
    (closes issue #14754)
     Reported by: Alexei Gradinari
     Patches: 
           20090506__bug14754.diff.txt uploaded by tilghman (license 14)
     Tested by: lmadsen
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-07 16:45:23 +00:00
Jeff Peeler
76c66014b8 Merged revisions 192861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192861 | jpeeler | 2009-05-06 17:17:27 -0500 (Wed, 06 May 2009) | 17 lines
  
  Merged revisions 192858 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192858 | jpeeler | 2009-05-06 17:15:19 -0500 (Wed, 06 May 2009) | 10 lines
    
    Make ParkedCall application stop execution of the dialplan after hang up
    
    Just changed park_exec to always return non-zero. I really wasn't entirely sure
    at first if this was a bug. Decided it was since it would be surprising when 
    not using ParkedCall in the dialplan to hang up and have dialplan execution
    continue.
    
    (closes issue #14555)
    Reported by: francesco_r
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-06 22:18:30 +00:00
Jeff Peeler
4600d1a538 Blocked revisions 192853 via svnmerge
........
  r192853 | jpeeler | 2009-05-06 17:02:46 -0500 (Wed, 06 May 2009) | 2 lines
  
  If no extension was found in the pattern tree, don't crash.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-06 22:06:02 +00:00
Matthew Fredrickson
dca288830a Merged revisions 190946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r190946 | mattf | 2009-04-28 17:05:05 -0500 (Tue, 28 Apr 2009) | 1 line

Make sure that we do not clear the down flag on the BRI during PTMP link transients.  Also fix no audio bug caused by big early audio patch.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-06 17:41:58 +00:00
Joshua Colp
2f3e7752f2 Merged revisions 192634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192634 | file | 2009-05-06 10:34:35 -0300 (Wed, 06 May 2009) | 14 lines
  
  Merged revisions 192633 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192633 | file | 2009-05-06 10:30:51 -0300 (Wed, 06 May 2009) | 7 lines
    
    Update some old logic to stop both begin and end DTMF frames from reaching the core if rfc2833 is not enabled.
    
    (closes issue #15036)
    Reported by: dimas
    Patches:
          v1-15036.patch uploaded by dimas (license 88)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-06 13:36:19 +00:00
Sean Bright
b516cf9b81 Merged revisions 192525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192525 | seanbright | 2009-05-05 15:57:49 -0400 (Tue, 05 May 2009) | 18 lines
  
  Merged revisions 192524 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192524 | seanbright | 2009-05-05 15:56:11 -0400 (Tue, 05 May 2009) | 11 lines
    
    Fix Javascript error when using astman.js in Internet Explorer.
    
    Internet Explorer (tested with 7.0) does not like trailing commas on constructs
    like object initializers, so get rid of them to avoid some errors.
    
    (closes issue #15026)
    Reported by: rajnishgiri
    Patches:
          bug15026.patch uploaded by seanbright (license 71)
    Tested by: seanbright
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-05 20:02:10 +00:00
Joshua Colp
7c39ce9105 Merged revisions 192462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192462 | file | 2009-05-05 15:23:58 -0300 (Tue, 05 May 2009) | 15 lines
  
  Merged revisions 192454 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192454 | file | 2009-05-05 15:22:27 -0300 (Tue, 05 May 2009) | 8 lines
    
    Fix an incorrect assumption that certain values on the channel will always exist when they may not.
    
    The CDR code involved with bridges wrongly assumed that the currently executing application and data
    values will always exist. It is possible for this to be false when call forwarding is involved.
    
    (closes issue #14984)
    Reported by: gincantalupo
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-05 18:25:12 +00:00
Joshua Colp
7080914d21 Merged revisions 192430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192430 | file | 2009-05-05 14:46:51 -0300 (Tue, 05 May 2009) | 12 lines
  
  Merged revisions 192429 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192429 | file | 2009-05-05 14:43:30 -0300 (Tue, 05 May 2009) | 5 lines
    
    Fix a bug where the followme application would continue trying numbers after the caller hung up.
    
    (closes issue #13624)
    Reported by: sgenyuk
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-05 17:48:41 +00:00
Joshua Colp
e088059f46 Merged revisions 192387 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192387 | file | 2009-05-05 11:22:47 -0300 (Tue, 05 May 2009) | 10 lines
  
  Fix a bug with setting t38pt_udptl at the user or peer level.
  
  If an incoming call authenticated as a user or peer and t38pt_udptl was
  not set to yes in general then no UDPTL session would be present and any
  T38 related things would fail. This commit changes it so that if after
  authenticating T38 is enabled but no UDPTL session is present one will be
  created.
  
  (issue AST-215)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-05 14:25:15 +00:00
Kevin P. Fleming
3f94c3bd6b Merged revisions 192357 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192357 | kpfleming | 2009-05-05 15:18:21 +0200 (Tue, 05 May 2009) | 5 lines
  
  Correct some flaws in the memory accounting code for stringfields and ao2 objects
  
  Under some conditions, the memory allocation for stringfields and ao2 objects would not have supplied valid file/function names for MALLOC_DEBUG tracking, so this commit corrects that.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-05 13:23:27 +00:00
Kevin P. Fleming
10a2c0099e Merged revisions 192318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192318 | kpfleming | 2009-05-05 12:34:19 +0200 (Tue, 05 May 2009) | 5 lines
  
  Properly account for memory allocated for channels and datastores
  
  As in previous commits, when channels are allocated (with ast_channel_alloc) or datastores are allocated (with ast_datastore_alloc) properly account for the memory being owned by the caller, instead of the allocator function itself.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-05 12:27:18 +00:00
Kevin P. Fleming
60280df797 Merged revisions 192279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192279 | kpfleming | 2009-05-05 10:51:06 +0200 (Tue, 05 May 2009) | 5 lines
  
  Ensure that string pools allocated to hold stringfields are properly accounted in MALLOC_DEBUG mode
  
  This commit modifies the stringfield pool allocator to remember the 'owner' of the stringfield manager the pool is being allocated for, and ensures that pools allocated in the future when fields are populated are owned by that file/function.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-05 09:02:19 +00:00
David Vossel
efe35d94c1 Merged revisions 192214 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192214 | dvossel | 2009-05-04 17:44:51 -0500 (Mon, 04 May 2009) | 17 lines
  
  Merged revisions 192213 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192213 | dvossel | 2009-05-04 17:37:31 -0500 (Mon, 04 May 2009) | 11 lines
    
    global mohinterpret setting is ignored
    
    mohinterpret and mohsuggest global variables were not copied over during build_users and build_peers.
    
    (closes issue #14728)
    Reported by: dimas
    Patches:
          v1-14728.patch uploaded by dimas (license 88)
    Tested by: dimas, dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-04 22:47:20 +00:00
Tilghman Lesher
4b6075f430 Regen configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-04 19:32:35 +00:00
Tilghman Lesher
9817471013 Merged revisions 192132 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192132 | tilghman | 2009-05-04 13:42:56 -0500 (Mon, 04 May 2009) | 6 lines
  
  Pass libraries in LIBS, not LDFLAGS.
  (closes issue #14671)
   Reported by: Chainsaw
   Patches: 
         asterisk-1.6.0.6-toolcheck-libs-not-ldflags.patch uploaded by Chainsaw (license 723)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-04 18:44:08 +00:00
Leif Madsen
cd1b968ec1 Commit the changes from rev 192094 in the 1.6.1 branch to the 1.6.0 branch.
Since the documentation system is different between <= 1.6.1 and >= 1.6.2
the changes to the documentation I made for issue 14801, I'm merging these
changes in manually. Additional changes will then be put into trunk and
merged down to 1.6.2 as those two versions share a similar documentation
system (XML).

(issue #14801)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-04 17:39:30 +00:00
Kevin P. Fleming
de96aab0b8 Merged revisions 191955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191955 | kpfleming | 2009-05-04 11:57:36 +0200 (Mon, 04 May 2009) | 8 lines
  
  Ensure that by default only one console channel driver is loaded
  
  This configuration file was changed to ensure that only one console channel driver
  (chan_oss) is loaded by default, but the change would only work if chan_console
  was not built. Now it will work as expected; if chan_alsa or chan_console are built
  and installed, they will not be loaded unless explicity requested.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-04 09:58:56 +00:00
Mark Michelson
c0519ce31d Blocked revisions 191781 via svnmerge
................
  r191781 | mmichelson | 2009-05-02 13:54:52 -0500 (Sat, 02 May 2009) | 16 lines
  
  Blocked revisions 191778 via svnmerge
  
  ........
    r191778 | mmichelson | 2009-05-02 13:48:20 -0500 (Sat, 02 May 2009) | 11 lines
    
    Fix a bug which resulted from the Hebrew voicemail commit.
    
    This fixes a case where a certain message could get played twice.
    
    (closes issue #13155)
    Reported by: greenfieldtech
    Patches:
          app_voicemail.c.multi-lang-patch uploaded by greenfieldtech (license 369)
    Tested by: greenfieldtech
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-02 18:55:17 +00:00
Kevin P. Fleming
52e5bad131 Merged revisions 191775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191775 | kpfleming | 2009-05-02 20:39:48 +0200 (Sat, 02 May 2009) | 5 lines
  
  Fix an error in queue_log file rotation optimization code
  
  This code was copy-and-pasted without properly changing references to event_rotate into queue_rotate, so under some conditions the log rotation would rotate queue_log even though it was not necessary.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-02 18:44:05 +00:00
Sean Bright
ea6efbb4a2 Merged revisions 191700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191700 | seanbright | 2009-05-02 11:45:07 -0400 (Sat, 02 May 2009) | 1 line
  
  Update copyright year to 2009
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-02 15:51:40 +00:00
Mark Michelson
acf3ce5f18 Blocked revisions 191630 via svnmerge
................
  r191630 | mmichelson | 2009-05-02 05:46:02 -0500 (Sat, 02 May 2009) | 17 lines
  
  Blocked revisions 191628-191629 via svnmerge
  
  ........
    r191628 | mmichelson | 2009-05-02 05:21:00 -0500 (Sat, 02 May 2009) | 8 lines
    
    Move static buffers to outside for loops in app_chanspy.
    
    Similar to seanbright's commit 191422, this moves some static buffers
    to be defined outside of for loops since it is undefined if memory
    will be re-used or if the stack will grow with each iteration of the
    loop.
  ........
    r191629 | mmichelson | 2009-05-02 05:45:24 -0500 (Sat, 02 May 2009) | 3 lines
    
    Kevin has informed me that thi sort of thing is not necessary.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-02 10:46:29 +00:00
Tilghman Lesher
26c5ebaa04 Merged revisions 191560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r191560 | tilghman | 2009-05-01 15:01:21 -0500 (Fri, 01 May 2009) | 13 lines
  
  Merged revisions 191559 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r191559 | tilghman | 2009-05-01 15:00:23 -0500 (Fri, 01 May 2009) | 6 lines
    
    SIP Response 410 maps to cause code 22 (or 23), not 1.
    (closes issue #14993)
     Reported by: BigJimmy
     Patches: 
           causepatch uploaded by BigJimmy (license 371)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-01 20:02:33 +00:00
Tilghman Lesher
10a9c43c9f Merged revisions 191494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191494 | tilghman | 2009-05-01 13:18:00 -0500 (Fri, 01 May 2009) | 4 lines
  
  Set debug message back to DEBUG level.
  (closes issue #15007)
   Reported by: hulber
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-01 18:31:04 +00:00
Jeff Peeler
7193a465d7 Merged revisions 191489 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r191489 | jpeeler | 2009-05-01 13:09:23 -0500 (Fri, 01 May 2009) | 15 lines
  
  Merged revisions 191488 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r191488 | jpeeler | 2009-05-01 12:40:46 -0500 (Fri, 01 May 2009) | 9 lines
    
    Fix DTMF not being sent to other side after a partial feature match
    
    This fixes a regression from commit 176701. The issue was that
    ast_generic_bridge never exited after the feature digit timeout had elapsed,
    which prevented the queued DTMF from being sent to the other side.
    
    This issue was reported to me directly.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-01 18:19:05 +00:00
Sean Bright
c87521c295 Fix a crash in app_queue with very long member lists.
A user reported via #asterisk that with very long lists of members, a crash
occurs in ast_strdupa, so just use a single buffer and ast_copy_string instead
of stack allocating copys of each interface name.

(Related to revision 191041 in branches/1.4)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@191424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-01 15:58:40 +00:00