Commit Graph

20580 Commits

Author SHA1 Message Date
Paul Belanger
1d766ede63 Merged revisions 289704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289704 | pabelanger | 2010-10-01 13:09:03 -0400 (Fri, 01 Oct 2010) | 13 lines
  
  Merged revisions 289703 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289703 | pabelanger | 2010-10-01 13:03:11 -0400 (Fri, 01 Oct 2010) | 6 lines
    
    Disable debugging by default
    
    and reformat .config file.
    
    Review: https://reviewboard.asterisk.org/r/929/ 
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-01 17:19:49 +00:00
Jeff Peeler
4f8d5448a6 Merged revisions 289700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289700 | jpeeler | 2010-10-01 11:21:04 -0500 (Fri, 01 Oct 2010) | 21 lines
  
  Merged revisions 289699 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289699 | jpeeler | 2010-10-01 11:20:00 -0500 (Fri, 01 Oct 2010) | 14 lines
    
    Ensure user portion of SIP URI matches dialplan when using encoded characters.
    
    This commit takes a simliar approach to 288112 and checks the dialplan to
    determine the proper action for an incoming contact header as to whether or not
    it should be decoded or not. sip_new was blindly always decoding the extension,
    which also caused the outgoing contact header to be incorrect as well as failing
    to match the encoded extension in the dialplan.
    
    (closes issue #17892)
    Reported by: wdoekes
    Patches: 
          bug17892-1.patch uploaded by jpeeler (license 325)
    Tested by: wdoekes
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-01 16:22:19 +00:00
Stefan Schmidt
097becdba1 don't iterate through all dialogs to find and delete old subscribes
On every incoming subscribe there is a iteration through all dialogs to find old subscribes and delete them. This is slow and not RFC conform. This was only needed in 1.2 cause a subscribe was not deleted when a dialog was destroyed, after 1.4 a subscribe get removed when its dialog is destroyed.

(closes issue #17950)
Reported by: schmidts
Tested by: schmidts

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



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-01 09:42:22 +00:00
Tilghman Lesher
32d3205f0e Solaris fixes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 20:23:10 +00:00
Matthew Nicholson
ac5ac97178 Merged revisions 289553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r289553 | mnicholson | 2010-09-30 14:51:27 -0500 (Thu, 30 Sep 2010) | 4 lines
  
  Properly handle channel allocation failures duing invites with replaces.
  
  ABE-2588
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 19:53:10 +00:00
Richard Mudgett
79105531c2 Merged revision 289547 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r289547 | rmudgett | 2010-09-30 14:16:36 -0500 (Thu, 30 Sep 2010) | 10 lines

  In chan_misdn, the DivertingLegInformation2 DivertingNr is garbage when the number is restricted.

  The same thing happens with DivertingLegInformation1 DivertedTo number.

  The misdn_PresentedNumberUnscreened_extract() extracted the Unscreened
  PartyNumber field unconditionally.  It now checks the presented number
  unscreened type to see if the PartyNumber was even present.

  JIRA ABE-2595
..........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 19:28:36 +00:00
Tilghman Lesher
f48a6f6cfe More Solaris compatibility fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 17:50:52 +00:00
Russell Bryant
37ad96f682 Merged revisions 289425 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289425 | russell | 2010-09-30 10:37:29 -0500 (Thu, 30 Sep 2010) | 15 lines
  
  Merged revisions 289424 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289424 | russell | 2010-09-30 10:34:29 -0500 (Thu, 30 Sep 2010) | 8 lines
    
    Fix a crash in app_sms.
    
    Since the data being passed to the generator callback is on the stack of the
    SMS() application, we must ensure that the generator is stopped before the
    application exits.
    
    ABE-2587
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-30 15:39:45 +00:00
Jason Parker
86460af890 Merged revisions 289339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289339 | qwell | 2010-09-29 16:03:47 -0500 (Wed, 29 Sep 2010) | 15 lines
  
  Merged revisions 289338 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289338 | qwell | 2010-09-29 15:56:26 -0500 (Wed, 29 Sep 2010) | 8 lines
    
    Allow a manager originate to succeed on forwarded devices.
    
    The timeout to wait for an answer was being set to 0 when a device forwarded to another
    extension.  We don't always need the timeout set like this, so make it an optional
    parameter, and don't use it in this case.
    
    ABE-2544
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 21:12:43 +00:00
Leif Madsen
88d6e7300a Merged revisions 289334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r289334 | lmadsen | 2010-09-29 15:24:47 -0500 (Wed, 29 Sep 2010) | 1 line
  
  Update sample documentation to note md5secret requirements.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 20:27:25 +00:00
Russell Bryant
8c9d038d26 Merged revisions 289332 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r289332 | russell | 2010-09-29 15:15:57 -0500 (Wed, 29 Sep 2010) | 4 lines
  
  Don't completely ignore md5secret from LDAP if the value does not begin with {md5}.
  
  This fixes a problem that lmadsen ran in to where md5secret was not working for him.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 20:20:23 +00:00
Matthew Nicholson
739ac7d7b9 Add 'ecm' to the sample fax config file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 17:53:54 +00:00
Matthew Nicholson
fd8c58834e Update the CDR record when ast_channel_set_caller_event() is called
(related to issue #17569)
Reported by: tbelder


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 17:08:20 +00:00
Richard Mudgett
8ce2f83b20 Make development error message indicate which channel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 16:16:47 +00:00
Matthew Nicholson
3d39781818 Merged revisions 289178 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289178 | mnicholson | 2010-09-29 10:04:11 -0500 (Wed, 29 Sep 2010) | 15 lines
  
  Merged revisions 289177 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289177 | mnicholson | 2010-09-29 10:03:27 -0500 (Wed, 29 Sep 2010) | 8 lines
    
    Set the caller id on CDRs when it is set on the parent channel.
    
    (closes issue #17569)
    Reported by: tbelder
    Patches:
          17569.diff uploaded by tbelder (license 618)
    Tested by: tbelder
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-29 15:04:56 +00:00
Tilghman Lesher
e00c4dcc6d Solaris compatibility fixes
Review: https://reviewboard.asterisk.org/r/942/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-28 18:18:43 +00:00
Brett Bryant
c2c707637f Merged revisions 289095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289095 | bbryant | 2010-09-28 14:14:19 -0400 (Tue, 28 Sep 2010) | 21 lines
  
  Merged revisions 289094 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r289094 | bbryant | 2010-09-28 14:10:19 -0400 (Tue, 28 Sep 2010) | 14 lines
    
    Fixes an issue with the Newchannel AMI event during the Masquerading process.
    
    Fixes an issue with the Newchannel AMI event during the Masquerading process,
    where no Newchannel AMI event was generated for the psuedo channel used during
    the masquerading process.
    
    (closes issue #17987)
    Reported by: RadicAlish
    Patches: 
          newchannel.patch.txt uploaded by RadicAlish (license 1122)
          Tested by: RadicAlish
    
          Review: https://reviewboard.asterisk.org/r/937/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-28 18:18:02 +00:00
Richard Mudgett
cb82f20163 Avoid deadlock processing incoming AOC-E messages.
Deadlock avoidance for the owner channel was not done when processing
incoming AOC-E messages.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-28 01:04:37 +00:00
Richard Mudgett
bb8e2fcef8 Revert stuff not ready for commit in -r289054.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-28 00:35:25 +00:00
Richard Mudgett
34b3615fff Break up long ast_manager_event_multichan() event lines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-28 00:32:18 +00:00
Tilghman Lesher
f2f15f7e04 Still build SIP, even if res_crypto cannot be built (use, not depend).
(closes issue #18062)
 Reported by: a user on the mailing list


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-27 18:37:41 +00:00
Russell Bryant
2f0faff40b Fix some documentation typos and spelling errors.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-27 13:03:43 +00:00
Russell Bryant
7b54142df4 Fix a documentation spelling error.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-27 12:42:10 +00:00
David Vossel
6ba94c8639 Append Retry-After header on 500 error response to Re-INVITE according to RFC3261 section 14.2.
ABE-2301



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-24 17:58:57 +00:00
David Vossel
68751f8b26 Inspect Require header on BYE transaction according to RFC3261 section 8.2.2.3.
ABE-2293


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-24 17:05:12 +00:00
Terry Wilson
d4f3b42543 Merged revisions 288747 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288747 | twilson | 2010-09-24 08:37:39 -0700 (Fri, 24 Sep 2010) | 12 lines
  
  Merged revisions 288746 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288746 | twilson | 2010-09-24 08:26:09 -0700 (Fri, 24 Sep 2010) | 5 lines
    
    Don't fail a masquerade if it is already being hung up
    
    This avoids noise on some Local channel situations where we don't use /n.
    Thanks to Alec Davis for the suggestion.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-24 16:02:27 +00:00
Tilghman Lesher
92badf5e9b Merged revisions 288712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r288712 | tilghman | 2010-09-24 08:53:30 -0500 (Fri, 24 Sep 2010) | 5 lines
  
  Solaris won't printf a NULL.
  
  (closes issue #18041)
   Reported by: asgaroth
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-24 13:54:17 +00:00
Tilghman Lesher
40cda1f728 Export timersub for platforms which do not have it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-24 03:42:37 +00:00
Tilghman Lesher
2eb6c7395d Merged revisions 288637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288637 | tilghman | 2010-09-23 22:36:01 -0500 (Thu, 23 Sep 2010) | 9 lines
  
  Merged revisions 288636 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288636 | tilghman | 2010-09-23 22:20:24 -0500 (Thu, 23 Sep 2010) | 2 lines
    
    Solaris compatibility fixes
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-24 03:39:29 +00:00
Tilghman Lesher
a08abc1dca Add note about the checkhangup option of ${CHANNEL()}
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-23 18:44:44 +00:00
Terry Wilson
3a3c44251a Make AMI honor enabled=no
(closes issue #18040)
Reported by: twilson

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-23 18:05:16 +00:00
Terry Wilson
fcd2b0e2c7 Merged revisions 288500 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288500 | twilson | 2010-09-22 16:10:09 -0700 (Wed, 22 Sep 2010) | 15 lines
  
  Merged revisions 288499 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288499 | twilson | 2010-09-22 16:00:30 -0700 (Wed, 22 Sep 2010) | 8 lines
    
    Don't let a Local channel get bridged to itself
    
    If a local channel gets bridged to itself, it becomes orphaned with no devices
    left to actually tell it to hang up. This patch modifies local_fixup() to detect
    this case and deny it.
    
    Review: https://reviewboard.asterisk.org/r/934
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-22 23:18:27 +00:00
David Vossel
0f4fa2300a Merged revisions 288417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288417 | dvossel | 2010-09-22 12:49:05 -0500 (Wed, 22 Sep 2010) | 11 lines
  
  Merged revisions 288416 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288416 | dvossel | 2010-09-22 12:48:15 -0500 (Wed, 22 Sep 2010) | 5 lines
    
    RFC3261 section 12.2 explicitly says out of order requests are responded with a 500 Server Internal Error response.
    
    ABE-2458
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-22 17:49:56 +00:00
David Vossel
4cb567b461 Merged revisions 288344 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288344 | dvossel | 2010-09-22 11:53:28 -0500 (Wed, 22 Sep 2010) | 9 lines
  
  Merged revisions 288343 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288343 | dvossel | 2010-09-22 11:49:56 -0500 (Wed, 22 Sep 2010) | 2 lines
    
    During check_pendings, if the dialog is terminated with a CANCEL, change the invitestate to INV_CANCEL like in sip_hangup.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-22 16:59:14 +00:00
Russell Bryant
19b257224c Merged revisions 288340 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288340 | russell | 2010-09-22 11:44:13 -0500 (Wed, 22 Sep 2010) | 18 lines
  
  Merged revisions 288339 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288339 | russell | 2010-09-22 11:39:16 -0500 (Wed, 22 Sep 2010) | 11 lines
    
    Fix a 100% CPU consumption problem when setting console=yes in asterisk.conf.
    
    The handling of -c and console=yes should be the same, but they were not.
    When you specify -c, it sets both a flag for console module and for asterisk
    not to fork() off into the background.  The handling of console=yes only set
    console mode, so you would end up with a background process() trying to run
    the Asterisk console and freaking out since it didn't have anything to read
    input from.
    
    Thanks to beagles for reporting and helping debug the problem!
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-22 16:45:18 +00:00
Tilghman Lesher
43a8a2dcad Merged revisions 288267 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288267 | tilghman | 2010-09-22 10:11:09 -0500 (Wed, 22 Sep 2010) | 23 lines
  
  Merged revisions 288265-288266 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288265 | tilghman | 2010-09-22 09:48:04 -0500 (Wed, 22 Sep 2010) | 9 lines
    
    Allow the encoding to be set, in case local charset does not agree with database.
    
    (closes issue #16940)
     Reported by: jamicque
     Patches: 
           20100827__issue16940.diff.txt uploaded by tilghman (license 14)
           20100921__issue16940__1.6.2.diff.txt uploaded by tilghman (license 14)
     Tested by: jamicque
  ........
    r288266 | tilghman | 2010-09-22 10:04:52 -0500 (Wed, 22 Sep 2010) | 5 lines
    
    Document addition of encoding parameter.
    
    (issue #16940)
    Reported by: jamicque
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-22 15:14:02 +00:00
Richard Mudgett
e2ceeb5789 Merged revisions 288193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288193 | rmudgett | 2010-09-21 19:03:37 -0500 (Tue, 21 Sep 2010) | 33 lines
  
  Merged revisions 288192 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288192 | rmudgett | 2010-09-21 18:55:58 -0500 (Tue, 21 Sep 2010) | 26 lines
    
    In chan_iax2.c:schedule_delivery() calls ast_bridged_channel() on an unlocked channel.
    
    Near the beginning of schedule_delivery(), ast_bridged_channel() is called
    on iaxs[fr->callno]->owner.  However, the channel is not locked, which can
    result in ast_bridged_channel() crashing should owner->tech change to a
    technology that doesn't implement bridged_channel.
    
    I also fixed the other calls to ast_bridged_channel() in chan_iax2.c since
    the owner lock was not held there either.
    
    Converted the existing channel deadlock avoidance to use
    iax2_lock_owner().  Using the new function simplified some awkward code.
    
    In the process of fixing the locking on ast_bridged_channel(), I also
    found a memory leak in socket_process() for v1.6.2 and v1.8.  The local
    struct variable ies.vars is not freed on early/abnormal function exits.
    
    (closes issue #17919)
    Reported by: rain
    Patches:
          issue17919_v1.4.patch uploaded by rmudgett (license 664)
          issue17919_w_leak_v1.6.2.patch uploaded by rmudgett (license 664)
          issue17919_w_leak_v1.8.patch uploaded by rmudgett (license 664)
    
    Review: https://reviewboard.asterisk.org/r/926/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-22 00:06:21 +00:00
Tilghman Lesher
913c6b39b4 Merged revisions 288113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288113 | tilghman | 2010-09-21 16:59:46 -0500 (Tue, 21 Sep 2010) | 22 lines
  
  Merged revisions 288112 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288112 | tilghman | 2010-09-21 16:58:13 -0500 (Tue, 21 Sep 2010) | 15 lines
    
    Try both the encoded and unencoded subscription URI for a match in hints.
    
    When a phone sends an encoded URI for a subscription, the URI is not matched
    with the actual hint that is in decoded format.  For example, if we have an
    extension with a hint that is named: "#5601" or "*5601", the subscription will
    work fine if the phone subscribes with an already decoded URI, but when it's
    decoded like "%255601" or "%2A5601", Asterisk is unable to match it with the
    correct hint.
    
    (closes issue #17785)
     Reported by: ramonpeek
     Patches: 
           20100831__issue17785.diff.txt uploaded by tilghman (license 14)
     Tested by: ramonpeek
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 22:57:22 +00:00
Paul Belanger
5542bb8e90 Merged revisions 288147 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r288147 | pabelanger | 2010-09-21 18:22:43 -0400 (Tue, 21 Sep 2010) | 9 lines
  
  Setup timer before set_config().
  
  (closes issue #18019)
  Reported by: Netview
  Patches: 
        issue_0018019.patch uploaded by pabelanger (license 224)
  Tested by: Netview
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 22:26:15 +00:00
Richard Mudgett
1d3eca4483 Add note in party manipulation chapter on interception macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 21:03:28 +00:00
Richard Mudgett
eca6952995 Simplify locking code for REDIRECTING interception macro when forwarding a call.
Simplified the locking code by using a local copy of the redirecting party
information in app_dial.c:do_forward() and app_queue.c:wait_for_answer()
for launching the REDIRECTING interception macro when a call is forwarded.

Reduced the lock time of the 'o->chan' and 'in' channels.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 20:29:59 +00:00
Richard Mudgett
c05d497703 Protect channel access in CONNECTED_LINE and REDIRECTING interception macro launch code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 20:29:51 +00:00
Brett Bryant
1c4aabd5d6 Merged revisions 288006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288006 | bbryant | 2010-09-21 15:46:20 -0400 (Tue, 21 Sep 2010) | 14 lines
  
  Merged revisions 288005 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r288005 | bbryant | 2010-09-21 15:43:46 -0400 (Tue, 21 Sep 2010) | 8 lines
    
    Add a check to fix a rare segmentation fault you'd get if ast_frdup couldn't allocate
    memory on the first frame being queued in ast_queue_frame.
    
    (closes issue #17882)
    Reported by: seanbright
    Tested by: seanbright
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 19:48:53 +00:00
Tilghman Lesher
74e9d2b239 Merged revisions 287934 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287934 | tilghman | 2010-09-21 14:07:53 -0500 (Tue, 21 Sep 2010) | 9 lines
  
  Merged revisions 287933 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r287933 | tilghman | 2010-09-21 14:07:07 -0500 (Tue, 21 Sep 2010) | 2 lines
    
    Less than zero is an error, not any non-zero value.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 19:08:36 +00:00
Terry Wilson
1fd16be0b1 Revert change in favor of a more targeted fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 19:02:40 +00:00
David Vossel
35d4d7fb48 Send a "415 Unsupported Media Type" after failure to process sdp due to unknown Content-Encoding header.
ABE-2258


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 18:32:12 +00:00
Richard Mudgett
23c141e095 Cut-n-paste error in builtin_blindtransfer().
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 15:53:19 +00:00
Russell Bryant
d0581b8bbd Don't use ast_strdupa() from within the arguments to a function.
(closes issue #17902)
Reported by: afried
Patches:
      issue_17902.rev1.txt uploaded by russell (license 2)
Tested by: russell

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 15:43:33 +00:00
Tilghman Lesher
a39b2f5ed2 Anonymous callerid needs a "sip:" uri prefix.
(closes issue #17981)
 Reported by: avalentin
 Patches: 
       sip-anonymous-aastra.patch uploaded by avalentin (license 1107)
       (plus an additional fix by me)
 Tested by: avalentin


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 15:24:47 +00:00
Russell Bryant
5bc7529f45 Fix a regression in verbose logger processing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-21 13:41:41 +00:00