]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoMerged revisions 290712 via svnmerge from
Russell Bryant [Thu, 7 Oct 2010 11:00:52 +0000 (11:00 +0000)] 
Merged revisions 290712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290712 | russell | 2010-10-07 12:53:56 +0200 (Thu, 07 Oct 2010) | 4 lines

  Don't crash when Set() is called without a value.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290713 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixes commented out code to use #if 0 instead.
David Vossel [Wed, 6 Oct 2010 21:22:51 +0000 (21:22 +0000)] 
Fixes commented out code to use #if 0 instead.

Thanks to rmudgett for catching this!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290674 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixes gtalk outbound DTMF to work properly.
David Vossel [Wed, 6 Oct 2010 21:08:19 +0000 (21:08 +0000)] 
Fixes gtalk outbound DTMF to work properly.

Outbound DTMF with gtalk needs to be done within the RTP stream.  I discovered
this after investigating a packet capture from the gmail client.  Instead of
performing jingle signaling DTMF, the gtalk servers expect all DTMF to arrive
on the RTP stream using RFC2833 way of doing things.  Chan_gtalk also had an issue
with negotiating RTP payload type 106 for the telephony-event and then sending
DTMF as payload 101.  This has been resolved by always negotiating 101 as the payload
type like we do everywhere else.  With this patch, incoming google voice calls forwarded
to Asterisk via gtalk work.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290648 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revision 290613 from
Richard Mudgett [Wed, 6 Oct 2010 18:50:37 +0000 (18:50 +0000)] 
Merged revision 290613 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r290613 | rmudgett | 2010-10-06 13:42:41 -0500 (Wed, 06 Oct 2010) | 5 lines

  Eliminate a redundant test for AST_CONTROL_REDIRECTING.

  Eliminate redundant test for AST_CONTROL_REDIRECTING that prevents running
  the redirecting interception macro if it is defined.
..........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290614 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 290575 via svnmerge from
Tilghman Lesher [Wed, 6 Oct 2010 13:49:19 +0000 (13:49 +0000)] 
Merged revisions 290575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290575 | tilghman | 2010-10-06 08:48:27 -0500 (Wed, 06 Oct 2010) | 8 lines

  Allow streaming audio from a pipe.

  (closes issue #18001)
   Reported by: jamicque
   Patches:
         20100926__issue18001.diff.txt uploaded by tilghman (license 14)
   Tested by: jamicque
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290576 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't try to send RTP when remote_address is null
Terry Wilson [Wed, 6 Oct 2010 04:35:51 +0000 (04:35 +0000)] 
Don't try to send RTP when remote_address is null

It is possible for ast_rtp_stop() to be called which will clear the remote
address and cause the sendto to fail and spam warnings. Don't send in this
case.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290542 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixes uninitialized memory problem in 'iax2 set debug peer' option.
David Vossel [Tue, 5 Oct 2010 22:23:00 +0000 (22:23 +0000)] 
Fixes uninitialized memory problem in 'iax2 set debug peer' option.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290506 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixes chan_gtalk to work with gmail client
David Vossel [Tue, 5 Oct 2010 22:00:43 +0000 (22:00 +0000)] 
Fixes chan_gtalk to work with gmail client

This patch was written by Philippe Sultan (phsultan). Thanks
for keeping this up to date!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290479 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 290396 via svnmerge from
Tilghman Lesher [Tue, 5 Oct 2010 20:23:33 +0000 (20:23 +0000)] 
Merged revisions 290396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290396 | tilghman | 2010-10-05 15:21:02 -0500 (Tue, 05 Oct 2010) | 15 lines

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

  ........
    r290392 | tilghman | 2010-10-05 15:20:07 -0500 (Tue, 05 Oct 2010) | 8 lines

    Fix a crash by ensuring that we don't alter memory after it's freed.

    (closes issue #17387)
     Reported by: jmls
     Patches:
           20100726__issue17387.diff.txt uploaded by tilghman (license 14)
     Tested by: jmls
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290408 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoResolves dnsmgr memory corruption in chan_iax2.
David Vossel [Tue, 5 Oct 2010 20:09:06 +0000 (20:09 +0000)] 
Resolves dnsmgr memory corruption in chan_iax2.

(closes issue #17902)
Reported by: afried
Patches:
      issue_17902.rev1.txt uploaded by russell (license 2)
Tested by: afried, russell, dvossel

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290378 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 290375 via svnmerge from
David Vossel [Tue, 5 Oct 2010 19:56:29 +0000 (19:56 +0000)] 
Merged revisions 290375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290375 | dvossel | 2010-10-05 14:54:50 -0500 (Tue, 05 Oct 2010) | 10 lines

  Fixes PickupChan() not working with full channel name.

  (closes issue #18011)
  Reported by: schern
  Patches:
        app_directed_pickup.c.2.patch uploaded by schern (license 995)
        app_directed_pickup.c.trunk.patch uploaded by schern (license 995)
  Tested by: schern, dvossel
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290376 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRestore run directory for OS X, as well as standardizing some other paths to Mac...
Tilghman Lesher [Tue, 5 Oct 2010 14:15:46 +0000 (14:15 +0000)] 
Restore run directory for OS X, as well as standardizing some other paths to Mac OS X.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290289 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 290254 via svnmerge from
Tilghman Lesher [Mon, 4 Oct 2010 23:23:11 +0000 (23:23 +0000)] 
Merged revisions 290254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290254 | tilghman | 2010-10-04 18:14:59 -0500 (Mon, 04 Oct 2010) | 11 lines

  Change new pattern matcher to regard dashes the same as the old pattern matcher -- as visual candy to be ignored.

  Also change the AEL parser to not generate dashes within extensions, as those
  dashes would be ignored.  Update the AEL tests to match this behavior.

  (closes issue #17366)
   Reported by: murf
   Patches:
         20100727__issue17366.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290255 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 290201 via svnmerge from
Tilghman Lesher [Mon, 4 Oct 2010 20:23:13 +0000 (20:23 +0000)] 
Merged revisions 290201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290201 | tilghman | 2010-10-04 15:22:03 -0500 (Mon, 04 Oct 2010) | 9 lines

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

  ........
    r290177 | tilghman | 2010-10-04 15:15:26 -0500 (Mon, 04 Oct 2010) | 2 lines

    Fixing Mac OS X auto-builder.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 290101 via svnmerge from
Tilghman Lesher [Sun, 3 Oct 2010 21:08:45 +0000 (21:08 +0000)] 
Merged revisions 290101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290101 | tilghman | 2010-10-03 16:06:58 -0500 (Sun, 03 Oct 2010) | 9 lines

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

  ........
    r290100 | tilghman | 2010-10-03 16:04:29 -0500 (Sun, 03 Oct 2010) | 2 lines

    Automatically re-run configure test for menuselect, when the relevant makeopts settings change.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290102 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoGet notification only when file is closed, not when created.
Tilghman Lesher [Sun, 3 Oct 2010 20:02:29 +0000 (20:02 +0000)] 
Get notification only when file is closed, not when created.

(closes issue #17924)
 Reported by: mkeuter
 Patches:
       asterisk-1.8-bugid17924.patch uploaded by abelbeck (license 946)
 Tested by: abelbeck

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAllow users to pass additional arguments to the Subversion command that
Kevin P. Fleming [Sat, 2 Oct 2010 17:57:13 +0000 (17:57 +0000)] 
Allow users to pass additional arguments to the Subversion command that
obtains the MP-3 source code.

(reported on IRC by jmls)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290026 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 289950 via svnmerge from
Olle Johansson [Sat, 2 Oct 2010 08:56:08 +0000 (08:56 +0000)] 
Merged revisions 289950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289950 | oej | 2010-10-02 10:52:03 +0200 (Lör, 02 Okt 2010) | 9 lines

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

  ........
    r289949 | oej | 2010-10-02 10:50:05 +0200 (Lör, 02 Okt 2010) | 2 lines

    Add documentation for undocumented option to AMI action originate
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289951 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 289874 via svnmerge from
Tilghman Lesher [Sat, 2 Oct 2010 04:46:43 +0000 (04:46 +0000)] 
Merged revisions 289874 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289874 | tilghman | 2010-10-01 23:45:49 -0500 (Fri, 01 Oct 2010) | 15 lines

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

  ........
    r289873 | tilghman | 2010-10-01 23:42:08 -0500 (Fri, 01 Oct 2010) | 8 lines

    When forwarding a message, a prepend means that the filesystem will always have a better copy.

    (closes issue #17803)
     Reported by: dpetersen
     Patches:
           20100923__issue17803.diff.txt uploaded by tilghman (license 14)
     Tested by: dpetersen
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289875 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 289798 via svnmerge from
Jeff Peeler [Sat, 2 Oct 2010 02:43:45 +0000 (02:43 +0000)] 
Merged revisions 289798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289798 | jpeeler | 2010-10-01 18:01:31 -0500 (Fri, 01 Oct 2010) | 22 lines

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

  ........
    r289797 | jpeeler | 2010-10-01 17:58:38 -0500 (Fri, 01 Oct 2010) | 15 lines

    Change RFC2833 DTMF event duration on end to report actual elapsed time.

    The scenario here is with a non P2P early media session. The reported time
    length of DTMF presses are coming up short when sending to the remote side.
    Currently the event duration is a running total that is incremented when sending
    continuation packets. These continuation packets are only triggered upon
    incoming media from the remote side, which means that the running total probably
    is not going to end up matching the actual length of time Asterisk received
    DTMF. This patch changes the end event duration to be lengthened if it is
    detected that the end event is going to come up short.

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

    ABE-2476
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289840 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 289704 via svnmerge from
Paul Belanger [Fri, 1 Oct 2010 17:19:49 +0000 (17:19 +0000)] 
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

15 years agoMerged revisions 289700 via svnmerge from
Jeff Peeler [Fri, 1 Oct 2010 16:22:19 +0000 (16:22 +0000)] 
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

15 years agodon't iterate through all dialogs to find and delete old subscribes
Stefan Schmidt [Fri, 1 Oct 2010 09:42:22 +0000 (09:42 +0000)] 
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

15 years agoSolaris fixes.
Tilghman Lesher [Thu, 30 Sep 2010 20:23:10 +0000 (20:23 +0000)] 
Solaris fixes.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289581 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 289553 via svnmerge from
Matthew Nicholson [Thu, 30 Sep 2010 19:53:10 +0000 (19:53 +0000)] 
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

15 years agoMerged revision 289547 from
Richard Mudgett [Thu, 30 Sep 2010 19:28:36 +0000 (19:28 +0000)] 
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

15 years agoMore Solaris compatibility fixes
Tilghman Lesher [Thu, 30 Sep 2010 17:50:52 +0000 (17:50 +0000)] 
More Solaris compatibility fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289543 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 289425 via svnmerge from
Russell Bryant [Thu, 30 Sep 2010 15:39:45 +0000 (15:39 +0000)] 
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

15 years agoMerged revisions 289339 via svnmerge from
Jason Parker [Wed, 29 Sep 2010 21:12:43 +0000 (21:12 +0000)] 
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

15 years agoMerged revisions 289334 via svnmerge from
Leif Madsen [Wed, 29 Sep 2010 20:27:25 +0000 (20:27 +0000)] 
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

15 years agoMerged revisions 289332 via svnmerge from
Russell Bryant [Wed, 29 Sep 2010 20:20:23 +0000 (20:20 +0000)] 
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

15 years agoAdd 'ecm' to the sample fax config file
Matthew Nicholson [Wed, 29 Sep 2010 17:53:54 +0000 (17:53 +0000)] 
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

15 years agoUpdate the CDR record when ast_channel_set_caller_event() is called
Matthew Nicholson [Wed, 29 Sep 2010 17:08:20 +0000 (17:08 +0000)] 
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

15 years agoMake development error message indicate which channel.
Richard Mudgett [Wed, 29 Sep 2010 16:16:47 +0000 (16:16 +0000)] 
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

15 years agoMerged revisions 289178 via svnmerge from
Matthew Nicholson [Wed, 29 Sep 2010 15:04:56 +0000 (15:04 +0000)] 
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

15 years agoSolaris compatibility fixes
Tilghman Lesher [Tue, 28 Sep 2010 18:18:43 +0000 (18:18 +0000)] 
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

15 years agoMerged revisions 289095 via svnmerge from
Brett Bryant [Tue, 28 Sep 2010 18:18:02 +0000 (18:18 +0000)] 
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

15 years agoAvoid deadlock processing incoming AOC-E messages.
Richard Mudgett [Tue, 28 Sep 2010 01:04:37 +0000 (01:04 +0000)] 
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

15 years agoRevert stuff not ready for commit in -r289054.
Richard Mudgett [Tue, 28 Sep 2010 00:35:25 +0000 (00:35 +0000)] 
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

15 years agoBreak up long ast_manager_event_multichan() event lines.
Richard Mudgett [Tue, 28 Sep 2010 00:32:18 +0000 (00:32 +0000)] 
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

15 years agoStill build SIP, even if res_crypto cannot be built (use, not depend).
Tilghman Lesher [Mon, 27 Sep 2010 18:37:41 +0000 (18:37 +0000)] 
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

15 years agoFix some documentation typos and spelling errors.
Russell Bryant [Mon, 27 Sep 2010 13:03:43 +0000 (13:03 +0000)] 
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

15 years agoFix a documentation spelling error.
Russell Bryant [Mon, 27 Sep 2010 12:42:10 +0000 (12:42 +0000)] 
Fix a documentation spelling error.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@288925 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAppend Retry-After header on 500 error response to Re-INVITE according to RFC3261...
David Vossel [Fri, 24 Sep 2010 17:58:57 +0000 (17:58 +0000)] 
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

15 years agoInspect Require header on BYE transaction according to RFC3261 section 8.2.2.3.
David Vossel [Fri, 24 Sep 2010 17:05:12 +0000 (17:05 +0000)] 
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

15 years agoMerged revisions 288747 via svnmerge from
Terry Wilson [Fri, 24 Sep 2010 16:02:27 +0000 (16:02 +0000)] 
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

15 years agoMerged revisions 288712 via svnmerge from
Tilghman Lesher [Fri, 24 Sep 2010 13:54:17 +0000 (13:54 +0000)] 
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

15 years agoExport timersub for platforms which do not have it
Tilghman Lesher [Fri, 24 Sep 2010 03:42:37 +0000 (03:42 +0000)] 
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

15 years agoMerged revisions 288637 via svnmerge from
Tilghman Lesher [Fri, 24 Sep 2010 03:39:29 +0000 (03:39 +0000)] 
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

15 years agoAdd note about the checkhangup option of ${CHANNEL()}
Tilghman Lesher [Thu, 23 Sep 2010 18:44:44 +0000 (18:44 +0000)] 
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

15 years agoMake AMI honor enabled=no
Terry Wilson [Thu, 23 Sep 2010 18:05:16 +0000 (18:05 +0000)] 
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

15 years agoMerged revisions 288500 via svnmerge from
Terry Wilson [Wed, 22 Sep 2010 23:18:27 +0000 (23:18 +0000)] 
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

15 years agoMerged revisions 288417 via svnmerge from
David Vossel [Wed, 22 Sep 2010 17:49:56 +0000 (17:49 +0000)] 
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

15 years agoMerged revisions 288344 via svnmerge from
David Vossel [Wed, 22 Sep 2010 16:59:14 +0000 (16:59 +0000)] 
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

15 years agoMerged revisions 288340 via svnmerge from
Russell Bryant [Wed, 22 Sep 2010 16:45:18 +0000 (16:45 +0000)] 
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

15 years agoMerged revisions 288267 via svnmerge from
Tilghman Lesher [Wed, 22 Sep 2010 15:14:02 +0000 (15:14 +0000)] 
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

15 years agoMerged revisions 288193 via svnmerge from
Richard Mudgett [Wed, 22 Sep 2010 00:06:21 +0000 (00:06 +0000)] 
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

15 years agoMerged revisions 288113 via svnmerge from
Tilghman Lesher [Tue, 21 Sep 2010 22:57:22 +0000 (22:57 +0000)] 
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

15 years agoMerged revisions 288147 via svnmerge from
Paul Belanger [Tue, 21 Sep 2010 22:26:15 +0000 (22:26 +0000)] 
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

15 years agoAdd note in party manipulation chapter on interception macros.
Richard Mudgett [Tue, 21 Sep 2010 21:03:28 +0000 (21:03 +0000)] 
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

15 years agoSimplify locking code for REDIRECTING interception macro when forwarding a call.
Richard Mudgett [Tue, 21 Sep 2010 20:29:59 +0000 (20:29 +0000)] 
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

15 years agoProtect channel access in CONNECTED_LINE and REDIRECTING interception macro launch...
Richard Mudgett [Tue, 21 Sep 2010 20:29:51 +0000 (20:29 +0000)] 
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

15 years agoMerged revisions 288006 via svnmerge from
Brett Bryant [Tue, 21 Sep 2010 19:48:53 +0000 (19:48 +0000)] 
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

15 years agoMerged revisions 287934 via svnmerge from
Tilghman Lesher [Tue, 21 Sep 2010 19:08:36 +0000 (19:08 +0000)] 
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

15 years agoRevert change in favor of a more targeted fix
Terry Wilson [Tue, 21 Sep 2010 19:02:40 +0000 (19:02 +0000)] 
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

15 years agoSend a "415 Unsupported Media Type" after failure to process sdp due to unknown Conte...
David Vossel [Tue, 21 Sep 2010 18:32:12 +0000 (18:32 +0000)] 
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

15 years agoCut-n-paste error in builtin_blindtransfer().
Richard Mudgett [Tue, 21 Sep 2010 15:53:19 +0000 (15:53 +0000)] 
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

15 years agoDon't use ast_strdupa() from within the arguments to a function.
Russell Bryant [Tue, 21 Sep 2010 15:43:33 +0000 (15:43 +0000)] 
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

15 years agoAnonymous callerid needs a "sip:" uri prefix.
Tilghman Lesher [Tue, 21 Sep 2010 15:24:47 +0000 (15:24 +0000)] 
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

15 years agoFix a regression in verbose logger processing.
Russell Bryant [Tue, 21 Sep 2010 13:41:41 +0000 (13:41 +0000)] 
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

15 years agoDon't generate connected line buffer twice for comparison
Terry Wilson [Tue, 21 Sep 2010 04:37:44 +0000 (04:37 +0000)] 
Don't generate connected line buffer twice for comparison

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287833 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287759 via svnmerge from
Brett Bryant [Tue, 21 Sep 2010 00:00:23 +0000 (00:00 +0000)] 
Merged revisions 287759 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287759 | bbryant | 2010-09-20 19:58:26 -0400 (Mon, 20 Sep 2010) | 23 lines

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

  ........
    r287758 | bbryant | 2010-09-20 19:57:08 -0400 (Mon, 20 Sep 2010) | 16 lines

    Fix misvalidation of meetme pins in conjunction with the 'a' MeetMe flag.

    When using the 'a' MeetMe flag and having a user and admin pin setup for your
    conference, using the user pin would gain you admin priviledges. Also, when no
    user pin was set, an admin pin was, the 'a' MeetMe flag wasn't used, and the
    user tried to enter a conference then they were still prompted for a pin and
    forced to hit #.

    (closes issue #17908)
    Reported by: kuj
    Patches:
          pins_2.patch uploaded by kuj (license 1111)
          Tested by: kuj

          Review: [full review board URL with trailing slash]
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287760 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAvoid infinite loop with certain local channel connected line updates
Terry Wilson [Mon, 20 Sep 2010 23:51:38 +0000 (23:51 +0000)] 
Avoid infinite loop with certain local channel connected line updates

Compare connected line data before sending a connected line indication to avoid
possible loops.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287757 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287685 via svnmerge from
Alec L Davis [Mon, 20 Sep 2010 23:20:03 +0000 (23:20 +0000)] 
Merged revisions 287685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r287685 | alecdavis | 2010-09-21 11:16:45 +1200 (Tue, 21 Sep 2010) | 18 lines

  ast_channel_masquerade: Avoid recursive masquerades.

  Check all 4 combinations of (original/clonechan) * (masq/masqr).

  Initially original->masq and clonechan->masqr were only checked.

  It's possible with multiple masq's planned - and not yet executed, that
   the 'original' chan could already have another masq'd into it - thus original->masqr
  would be set, that masqr would lost.
  Likewise for the clonechan->masq.

  (closes issue #16057;#17363)
  Reported by: amorsen;davidw,alecdavis
  Patches:
        based on bug16057.diff4.txt uploaded by alecdavis (license 585)
  Tested by: ramonpeek, davidw, alecdavis
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287701 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoThe inalarm flag was not set in sig_analog struct if the port is initially in alarm.
Richard Mudgett [Mon, 20 Sep 2010 23:14:42 +0000 (23:14 +0000)] 
The inalarm flag was not set in sig_analog struct if the port is initially in alarm.

Fixed initial inalarm value for sig_analog ports.

Along with -r261007, this gets the inalarm flag in sync with chan_dahdi
for sig_analog ports.

(closes issue #16983)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287683 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoast_do_masquerade. Keep channels ao2_container locked while unlink and linking channels.
Alec L Davis [Mon, 20 Sep 2010 22:21:50 +0000 (22:21 +0000)] 
ast_do_masquerade. Keep channels ao2_container locked while unlink and linking channels.

Previously, Masquerade would unlock 'original' and 'clonechan' and allow another masq thread to run.
End result would be corrupted memory, and the frequent report 'Bad Magic Number'.

(closes issue #17801,#17710)
Reported by: notthematrix
Patches:
      Based on bug17801.diff1.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287661 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAddition of the FrameHook API (AKA AwesomeHooks)
David Vossel [Mon, 20 Sep 2010 22:09:16 +0000 (22:09 +0000)] 
Addition of the FrameHook API (AKA AwesomeHooks)

So far all our tools for viewing and manipulating media streams
within Asterisk have been entirely focused on audio.  That made
sense then, but is not scalable now.  The FrameHook API lets us
tap into and manipulate _ANY_ type of media or signaling passed
on a channel present today or in the future.  This tool is a step
in the direction of expanding Asterisk's boundaries and will help
generate some rather interesting applications in the future.

In addition to the FrameHook API, a simple dialplan function
exercising the api has been included as well.  This function
is called FRAME_TRACE().  FRAME_TRACE() allows for the internal
ast_frames read and written to a channel to be output.  Filters
can be placed on this function to debug only certain types of frames.
This function could be thought of as an internal way of doing
ast_frame packet captures.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287647 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixes issue with registrations not working properly with pedantic=yes.
David Vossel [Mon, 20 Sep 2010 21:34:15 +0000 (21:34 +0000)] 
Fixes issue with registrations not working properly with pedantic=yes.

(closes issue #18017)
Reported by: schmidts
Patches:
      issues_18017_v1.diff uploaded by dvossel (license 671)
Tested by: schmidts

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287645 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287642 via svnmerge from
Jason Parker [Mon, 20 Sep 2010 21:29:46 +0000 (21:29 +0000)] 
Merged revisions 287642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r287642 | qwell | 2010-09-20 16:28:32 -0500 (Mon, 20 Sep 2010) | 8 lines

  Don't crash when parking a non-bridged call.

  (closes issue #17680)
  Reported by: jmhunter
  Patches:
        chan_skinny-park-v1.txt uploaded by DEA (license 3)
  Tested by: jmhunter, DEA
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287643 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixes an error with the logger that caused verbose messages to be spammed to the
Brett Bryant [Mon, 20 Sep 2010 21:19:12 +0000 (21:19 +0000)] 
Fixes an error with the logger that caused verbose messages to be spammed to the
screen if syslog was configured in logger.conf

(closes issue #17974)
Reported by: lmadsen

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287558 via svnmerge from
Matthew Nicholson [Mon, 20 Sep 2010 15:57:14 +0000 (15:57 +0000)] 
Merged revisions 287558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287558 | mnicholson | 2010-09-20 10:56:21 -0500 (Mon, 20 Sep 2010) | 14 lines

  Use ast_str when processing hint state changes

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

  ........
    r287555 | mnicholson | 2010-09-20 10:48:14 -0500 (Mon, 20 Sep 2010) | 5 lines

    Use ast_dynamic_str when processing hint state changes

    (related to issue #17928)
    Reported by: mdu113
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287559 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287470 via svnmerge from
Olle Johansson [Sun, 19 Sep 2010 16:09:28 +0000 (16:09 +0000)] 
Merged revisions 287470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287470 | oej | 2010-09-19 18:06:10 +0200 (Sön, 19 Sep 2010) | 14 lines

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

  ........
    r287469 | oej | 2010-09-19 17:56:50 +0200 (Sön, 19 Sep 2010) | 7 lines

    Make sure we always free variables properly in manager originate.

    (closes issue #17891)
    reported, solved and tested by oej

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287471 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287387 via svnmerge from
Tilghman Lesher [Fri, 17 Sep 2010 21:08:54 +0000 (21:08 +0000)] 
Merged revisions 287387 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287387 | tilghman | 2010-09-17 16:08:00 -0500 (Fri, 17 Sep 2010) | 14 lines

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

  ........
    r287386 | tilghman | 2010-09-17 16:06:03 -0500 (Fri, 17 Sep 2010) | 7 lines

    Blank columns should get set on reload, not ignored.

    (closes issue #16893)
     Reported by: haakon
     Patches:
           20100818__issue16893.diff.txt uploaded by tilghman (license 14)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287388 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287308 via svnmerge from
Matthew Nicholson [Fri, 17 Sep 2010 13:37:10 +0000 (13:37 +0000)] 
Merged revisions 287308 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287308 | mnicholson | 2010-09-17 08:36:07 -0500 (Fri, 17 Sep 2010) | 12 lines

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

  ........
    r287307 | mnicholson | 2010-09-17 08:34:34 -0500 (Fri, 17 Sep 2010) | 5 lines

    Use ast_strdup() instead of ast_strdupa() while processing in ast_hint_state_changed().

    (related to issue #17928)
    Reported by: mdu113
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287309 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoEvents are visible after they were removed from EWS calendar
Jan Kalab [Fri, 17 Sep 2010 08:44:28 +0000 (08:44 +0000)] 
Events are visible after they were removed from EWS calendar

Because we must merge calendar even when it's empty.

(closes issue #17786)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAsterisk crashing because of double free when EWS request fails
Jan Kalab [Fri, 17 Sep 2010 08:42:37 +0000 (08:42 +0000)] 
Asterisk crashing because of double free when EWS request fails

The free is done later in code. I think ast_free() should have built in checks for double free.

(closes issue #17782)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSupport for HTTP redirects in calendar's URL
Jan Kalab [Fri, 17 Sep 2010 08:37:49 +0000 (08:37 +0000)] 
Support for HTTP redirects in calendar's URL

libneon does not support HTTP redirects (3xx responses) by default. You must tell it to follow them.
Also, another little unsigned int fix.

(closes issue #17776)
Review: https://reviewboard.asterisk.org/r/921/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287269 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't fail when running the Debian init script directly (as one would normally do).
Jason Parker [Thu, 16 Sep 2010 22:04:38 +0000 (22:04 +0000)] 
Don't fail when running the Debian init script directly (as one would normally do).

readlink apparently returns 1 when the arg isn't a symlink, which caused the script to exit.

(closes issue #17910)
Reported by: wurstsalat

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287195 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSet the default for "autofill" and "shared_lastcall" to "yes" in queues.conf.
Russell Bryant [Thu, 16 Sep 2010 21:57:51 +0000 (21:57 +0000)] 
Set the default for "autofill" and "shared_lastcall" to "yes" in queues.conf.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287119 via svnmerge from
Matthew Nicholson [Thu, 16 Sep 2010 20:07:38 +0000 (20:07 +0000)] 
Merged revisions 287119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287119 | mnicholson | 2010-09-16 15:06:16 -0500 (Thu, 16 Sep 2010) | 15 lines

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

  ........
    r287118 | mnicholson | 2010-09-16 15:04:46 -0500 (Thu, 16 Sep 2010) | 8 lines

    Don't limit hint processing in ast_hint_state_changed() to AST_MAX_EXTENSION length strings.

    (closes issue #17928)
    Reported by: mdu113
    Patches:
          20100831__issue17928.diff.txt uploaded by tilghman (license 14)
    Tested by: mdu113
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287120 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 287115 via svnmerge from
Matthew Nicholson [Thu, 16 Sep 2010 19:54:48 +0000 (19:54 +0000)] 
Merged revisions 287115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r287115 | mnicholson | 2010-09-16 14:53:41 -0500 (Thu, 16 Sep 2010) | 15 lines

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

  ........
    r287114 | mnicholson | 2010-09-16 14:52:39 -0500 (Thu, 16 Sep 2010) | 8 lines

    Don't stop printing cdr variables if we encounter one with a blank name or value.

    (closes issue #17900)
    Reported by: under
    Patches:
          core-show-channel-cdr-fix1.diff uploaded by mnicholson (license 96)
    Tested by: mnicholson
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287116 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't hang up a call on an SRTP unprotect failure
Terry Wilson [Wed, 15 Sep 2010 22:17:17 +0000 (22:17 +0000)] 
Don't hang up a call on an SRTP unprotect failure

Also make it more obvious when there is an issue en/decrypting.

(closes issue #17563)
Reported by: Alexcr
Patches:
      res_srtp.c.patch uploaded by sfritsch (license 1089)
Tested by: twilson

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287056 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofix uninintialized variable
Jeff Peeler [Wed, 15 Sep 2010 20:58:39 +0000 (20:58 +0000)] 
fix uninintialized variable

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revision 287014 from
Richard Mudgett [Wed, 15 Sep 2010 20:53:38 +0000 (20:53 +0000)] 
Merged revision 287014 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r287014 | rmudgett | 2010-09-15 15:32:24 -0500 (Wed, 15 Sep 2010) | 58 lines

  The handling of call transfer signaling for mISDN PTMP is not fully implemented.

  The handling of call transfer signaling for mISDN PTMP is not fully
  implemented.  The signaling of number updates with ISDN/DSS1 ECT
  supplementary services (ETS 300 369-1) comes along with a notification
  indicator IE and redirection number IE for PTMP.  The implementation in
  the current Asterisk mISDN channel unfortunately can handle these
  information elements only in a NOTIFY message.  These information elements
  are also signaled in a FACILTY message with a RequestSubaddress facility,
  when the subscriber is already in the active state (see 9.2.4 and 9.2.5 of
  ETS 300 369-1).

  **********

  abe_2526_ast.patch

  * Added support to handle the notification indicator IE and redirection
  number IE with the RequestSubaddress facility.

  * Made misdn_update_connected_line() send a NOTIFY message if Asterisk
  originated the call and it is not connected yet.

  * Made misdn_update_connected_line() send a FACILITY message if the call
  is already connected.

  This patch requires the presence of the associated mISDN patches to
  compile.  I had to enhance mISDN to allow the notification indicator IE
  and the redirection number IE to be used with a FACILITY message.  Earlier
  versions of the Digium enhanced mISDN are no longer going to work.

  **********

  abe_2526_misdn.patch

  * Made an incoming FACILITY message allow the presence of the notification
  indicator IE and the redirection number IE.

  **********

  abe_2526_misdnuser_v3.patch

  * Added support to send and receive a FACILITY message with the
  notification indicator IE and the redirection number IE.

  * Added the ability to send a NOTIFY message in PTMP/NT mode to all
  responding subcalls in Q.931 states 6, 7, 8, 9, and 25.

  **********

  Patches:
abe_2526_ast.patch uploaded by rmudgett (license 664)
abe_2526_misdn.patch uploaded by rmudgett (license 664)
abe_2526_misdnuser_v3.patch uploaded by rmudgett (license 664)
  Tested by: rmudgett and reporter

  JIRA SWP-2146
  JIRA ABE-2526
..........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287017 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 286998 via svnmerge from
Jeff Peeler [Wed, 15 Sep 2010 20:32:52 +0000 (20:32 +0000)] 
Merged revisions 286998 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r286998 | jpeeler | 2010-09-15 15:28:02 -0500 (Wed, 15 Sep 2010) | 14 lines

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

  ........
    r286941 | jpeeler | 2010-09-15 15:08:52 -0500 (Wed, 15 Sep 2010) | 7 lines

    Ensure mailbox is not filled to capacity before doing message forwarding.

    Specifically, before prompting to record a prepended message the capacity is
    checked first. If the mailbox is full the extension will be reprompted.

    ABE-2517
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287015 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd parking extension for non-default parking lots.
Jeff Peeler [Wed, 15 Sep 2010 19:22:15 +0000 (19:22 +0000)] 
Add parking extension for non-default parking lots.

This is a new feature that allows for parking to custom parking lots to be
accessed directly, rather than with channel variables or by changing the
default parking lot. The extension is set with the parkext option just as the
default parking lot is done. Also, the manager action has been updated to
optionally allow a specified parking lot.

(closes issue #14882)
Reported by: vmikhnevych
Patches:
      patch_14882.txt uploaded by mnick (license 874)
      modified by me

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@286931 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSimplify some code in sig_analog.
Richard Mudgett [Wed, 15 Sep 2010 18:29:21 +0000 (18:29 +0000)] 
Simplify some code in sig_analog.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@286905 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUnable to originate calls using E&M over T1.
Richard Mudgett [Wed, 15 Sep 2010 18:28:05 +0000 (18:28 +0000)] 
Unable to originate calls using E&M over T1.

When originating a call from Unit Under Test to Reference Unit using E&M
RBS signaling mode, I get the following warning message: "Ring/Off-hook in
strange state 3 on channel 1".

Fixed the sig_analog outgoing flag.  It was never set when sig_analog was
extracted from chan_dahdi.

JIRA SWP-2191
JIRA AST-408

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@286904 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSet tohost to the domain specified in the configuration file instead of the IP addres...
Matthew Nicholson [Wed, 15 Sep 2010 13:05:52 +0000 (13:05 +0000)] 
Set tohost to the domain specified in the configuration file instead of the IP address of the host we are calling.

This fixes a regression introduced in r274783.

(closes issue #17960)
Reported by: adriavidal
Patches:
      sip-tohost-fix1.diff uploaded by mnicholson (license 96)
Tested by: mich, mnicholson, adriavidal

(closes issue #17676)
Reported by: outcast
Patches:
      sip-tohost-fix1.diff uploaded by mnicholson (license 96)
Tested by: mnicholson

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@286868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSets subscribed type for outgoing MWI subscriptions so correct Event header is used.
David Vossel [Tue, 14 Sep 2010 21:57:35 +0000 (21:57 +0000)] 
Sets subscribed type for outgoing MWI subscriptions so correct Event header is used.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@286834 65c4cc65-6c06-0410-ace0-fbb531ad65f3