]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoProperly handle 200 and unknown responses conatined in NOTIFY requests received in...
Matthew Nicholson [Wed, 18 Aug 2010 13:10:39 +0000 (13:10 +0000)] 
Properly handle 200 and unknown responses conatined in NOTIFY requests received in response to REFER requests.

This patch fixes the way asterisk handles NOTIFY requests received in response to REFER requests.  These changes to NOTIFY handler were first introduced in r217482.  This new change properly handles the 200 response by queueing an AST_TRANSFER_SUCCESS control frame and also prevents that control frame from being queued when provisional and unknown responses are received.

(issue #17486)
Reported by: davidw
Tested by: mnicholson

(issue #12713)
Reported by: davidw

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

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

15 years agoSplit _all_ arguments before parsing them.
Russell Bryant [Wed, 18 Aug 2010 12:30:40 +0000 (12:30 +0000)] 
Split _all_ arguments before parsing them.

This fixes multicast RTP paging using linksys mode.

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

15 years agoMerged revisions 282607 via svnmerge from
Tilghman Lesher [Wed, 18 Aug 2010 07:49:04 +0000 (07:49 +0000)] 
Merged revisions 282607 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282607 | tilghman | 2010-08-18 02:43:14 -0500 (Wed, 18 Aug 2010) | 9 lines

  Don't warn on callerid when completely text, instead of numeric with localdialplan prefixes.

  (closes issue #16770)
   Reported by: jamicque
   Patches:
         20100413__issue16770.diff.txt uploaded by tilghman (license 14)
         20100811__issue16770.diff.txt uploaded by tilghman (license 14)
   Tested by: jamicque
........

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

15 years agoMerged revisions 282576 via svnmerge from
David Vossel [Tue, 17 Aug 2010 21:36:57 +0000 (21:36 +0000)] 
Merged revisions 282576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282576 | dvossel | 2010-08-17 16:35:17 -0500 (Tue, 17 Aug 2010) | 9 lines

  fixes no default transport for temp peer creation in chan_sip

  (closes issue #17829)
  Reported by: falves11
  Patches:
        issue_17829.rev1.txt uploaded by russell (license 2)
        issue_17829.diff uploaded by dvossel (license 671)
  Tested by: falves11
........

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

15 years agoACCEPT message should respond with the new FORMAT2 ie
David Vossel [Tue, 17 Aug 2010 20:08:56 +0000 (20:08 +0000)] 
ACCEPT message should respond with the new FORMAT2 ie

(closes issue #17804)
Reported by: tpanton

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

15 years agofixes truncated uint64_t value in put_unaligned_uint64_t() function
David Vossel [Tue, 17 Aug 2010 19:34:06 +0000 (19:34 +0000)] 
fixes truncated uint64_t value in put_unaligned_uint64_t() function

(issue #17804)

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

15 years agoMerged revisions 282469 via svnmerge from
Leif Madsen [Mon, 16 Aug 2010 18:01:00 +0000 (18:01 +0000)] 
Merged revisions 282469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282469 | lmadsen | 2010-08-16 13:00:09 -0500 (Mon, 16 Aug 2010) | 7 lines

  Add information about creating sounds files using
  the sounds tools publically available so that others can create their
  own sounds prompts using the same tools we use to generate sounds releases.
  This allows people creating their own prompts to sound consistent with
  the prompts available from the open source project.

  SWP-595
........

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

15 years agoMerged revisions 282467 via svnmerge from
Terry Wilson [Mon, 16 Aug 2010 17:53:44 +0000 (17:53 +0000)] 
Merged revisions 282467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r282467 | twilson | 2010-08-16 12:32:01 -0500 (Mon, 16 Aug 2010) | 23 lines

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

  ........
    r282430 | twilson | 2010-08-16 12:06:37 -0500 (Mon, 16 Aug 2010) | 16 lines

    Send a SRCCHANGE indication when we masquerade

    Masquerading a channel means that the src of the audio is potentially
    changing, so send a SRCCHANGE so that RTP-based media streams can get
    a new SSRC generated to reflect the change. Original patch by addix
    (along with lots of testing--thanks!).

    (closes issue #17007)
    Reported by: addix
    Patches:
          1001-reset-SSRC-original-channel.diff uploaded by addix (license 1006)
          srcchange.diff uploaded by twilson (license 396)
    Tested by: addix, twilson

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

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

15 years agoFix our FRACKing issue with chan_iax2 a different way.
Tilghman Lesher [Sat, 14 Aug 2010 04:53:58 +0000 (04:53 +0000)] 
Fix our FRACKing issue with chan_iax2 a different way.

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

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

15 years agoPRI CCSS may use a stale dial string for the recall dial string.
Richard Mudgett [Fri, 13 Aug 2010 23:53:36 +0000 (23:53 +0000)] 
PRI CCSS may use a stale dial string for the recall dial string.

If an outgoing call negotiates a different B channel than initially
requested, the saved original dial string was not transferred to the new B
channel.  CCSS uses that dial string to generate the recall dial string.

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

15 years agoremove current STUN support from chan_sip.c
David Vossel [Fri, 13 Aug 2010 22:23:38 +0000 (22:23 +0000)] 
remove current STUN support from chan_sip.c

This patch removes the current broken/useless stun
support from chan_sip.

(closes issue #17622)
Reported by: philipp2

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

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

15 years agores_stun_monitor and corresponding options CHANGES documentation
David Vossel [Fri, 13 Aug 2010 20:11:58 +0000 (20:11 +0000)] 
res_stun_monitor and corresponding options CHANGES documentation

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

15 years agores_stun_monitor for monitoring network changes behind a NAT device
David Vossel [Fri, 13 Aug 2010 20:03:56 +0000 (20:03 +0000)] 
res_stun_monitor for monitoring network changes behind a NAT device

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

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

15 years agoMerged revisions 282235 via svnmerge from
David Vossel [Fri, 13 Aug 2010 18:58:10 +0000 (18:58 +0000)] 
Merged revisions 282235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r282235 | dvossel | 2010-08-13 13:54:53 -0500 (Fri, 13 Aug 2010) | 16 lines

  only do magic pickup when notifycid is enabled

  A new way of doing BLF pickup was introduced into 1.6.2.  This feature
  adds a call-id value into the XML of a SIP_NOTIFY message sent to alert
  a subscriber that a device is ringing.  This option should only be enabled
  when the new 'notifycid' option is set... but this was not the case.  Instead
  the call-id value was included for every RINGING Notify message, which
  caused a regression for people who used other methods for call pickup.

  (closes issue #17633)
  Reported by: urosh
  Patches:
        chan_sip.txt uploaded by urosh (license )
        blf_cid_issue.diff uploaded by dvossel (license 671)
  Tested by: dvossel, urosh, okrief, alecdavis
........

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

15 years agoWhitespace fix :-/
Terry Wilson [Fri, 13 Aug 2010 16:02:20 +0000 (16:02 +0000)] 
Whitespace fix :-/

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

15 years agoDetect when libsrtp cannot be linked in a shared library
Terry Wilson [Fri, 13 Aug 2010 16:00:02 +0000 (16:00 +0000)] 
Detect when libsrtp cannot be linked in a shared library

The libsrtp build system currently does not produce a shared library
or a static library compiled with -fPIC, so on 64-bit systems it is
possible that we will get a compile error if libsrtp is installed and
res_srtp is selected in menuselect.

This patch attempts to detect this situation and provide the user with
instructions to work around the problem.

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

15 years agoMerged revisions 282130 via svnmerge from
Jason Parker [Thu, 12 Aug 2010 22:51:44 +0000 (22:51 +0000)] 
Merged revisions 282130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r282130 | qwell | 2010-08-12 17:50:54 -0500 (Thu, 12 Aug 2010) | 9 lines

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

  ........
    r282129 | qwell | 2010-08-12 17:49:28 -0500 (Thu, 12 Aug 2010) | 1 line

    Register CLI commands before parsing config, in case there is a config error.
  ........
................

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

15 years agoSeparate call completion config parameter allocation and default initialization.
Richard Mudgett [Thu, 12 Aug 2010 22:06:06 +0000 (22:06 +0000)] 
Separate call completion config parameter allocation and default initialization.

If you ever have a need to reset the call completion config parameters
to defaults, now you can.

And no Virginia, C++ idioms do not always work in C.

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

15 years agoAdd a "core reload" CLI command.
Russell Bryant [Thu, 12 Aug 2010 20:41:17 +0000 (20:41 +0000)] 
Add a "core reload" CLI command.

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

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

15 years agoimproved translation paths for wideband codecs
David Vossel [Thu, 12 Aug 2010 20:15:41 +0000 (20:15 +0000)] 
improved translation paths for wideband codecs

The problem I'm addressing is that Asterisk's current
method of building the least cost translation paths
between codecs does not take into account sample rate.
For instance, it was possible for siren14 (a 32khz codec),
to contain the a translation path to siren7 (a 16khz
audio codec) that goes through slin at 8khz.  In this
case Asterisk takes a 32khz codec, down samples it to
8khz and then up samples it to 16khz which is terrible
regardless if it is computationally less expensive.  This
patch now builds translation paths that give priority to
maintaining the best possible sample rate before taking
into consideration computational cost.  This patch also
adds cli commands to expose what translation paths are
actually being used.

Changes:
1. Translation paths will never contain a step that changes
the sample rate unless absolutely necessary.
2. When choosing the best codec to make two channels compatible.
Shared codecs with the highest sample rate are given priority.
3. A new cli command to show all translation paths available
for a specific codec 'core show translation paths [codec name]'
has been added.
4. 'core show translation' which displays the translation
matrix now includes the new higher bit audio codecs in the table.
5. 'core show channel [channel name]'  now displays the
translation paths if translation is used.

(closes issue #16841)
Reported by: dvossel

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

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

15 years agoPut back pointer value output for ast_debug(), such that it is only removed for verbo...
Russell Bryant [Thu, 12 Aug 2010 18:03:56 +0000 (18:03 +0000)] 
Put back pointer value output for ast_debug(), such that it is only removed for verbose output.

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

15 years agoRemove debugging output from verbose messages.
Russell Bryant [Thu, 12 Aug 2010 16:33:30 +0000 (16:33 +0000)] 
Remove debugging output from verbose messages.

Pointer values to internal objects is not terribly useful to users in the
verbose messages about adding extensions and contexts.

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

15 years agoMerged revisions 281912 via svnmerge from
Jeff Peeler [Thu, 12 Aug 2010 03:03:37 +0000 (03:03 +0000)] 
Merged revisions 281912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r281912 | jpeeler | 2010-08-11 22:01:38 -0500 (Wed, 11 Aug 2010) | 27 lines

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

  ........
    r281911 | jpeeler | 2010-08-11 22:00:14 -0500 (Wed, 11 Aug 2010) | 20 lines

    Ensure SSRC is changed when media source is changed to resolve audio delay.

    This change causes the SSRC to change right before the channels are bridged,
    which is what used to happen. It seems that fixes were made to attempt limiting
    SSRC changes, targeted mainly at sending DTMF. DTMF is not affecting the SSRC
    with this change.

    There are two other control frames sent in ast_channel_bridge that probably
    should also be changed to AST_CONTROL_SRCCHANGE as well, but I'm going to leave
    this change up to the discretion of resolving issue #17007.

    For reference - old review implementing new control frame SRCCHANGE:
    https://reviewboard.asterisk.org/r/540

    (closes issue #17404)
    Reported by: sdolloff
    Patches:
          bug17404.patch uploaded by jpeeler (license 325)
    Tested by: sdolloff
  ........
................

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

15 years agoMerged revisions 281873 via svnmerge from
Leif Madsen [Wed, 11 Aug 2010 21:12:13 +0000 (21:12 +0000)] 
Merged revisions 281873 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r281873 | lmadsen | 2010-08-11 16:09:47 -0500 (Wed, 11 Aug 2010) | 14 lines

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

  ........
    r281819 | lmadsen | 2010-08-11 13:28:10 -0500 (Wed, 11 Aug 2010) | 6 lines

    Add Danish support to say.conf.sample

    (closes issue #17836)
    Reported by: RoadKill
    Patches:
          say.conf.sample.patch.dk uploaded by RoadKill (license 933)
  ........
................

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

15 years agohandle all possible responses to REFER requests
Matthew Nicholson [Wed, 11 Aug 2010 21:11:54 +0000 (21:11 +0000)] 
handle all possible responses to REFER requests

(closes issue #17486)
Reported by: davidw
Patches:
      Issue17486-counterbid.diff.txt uploaded by davidw (license 780)
Tested by: davidw

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

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

15 years agoFix a call to analog_set_pulsedial() not setting 0 or 1 only.
Richard Mudgett [Wed, 11 Aug 2010 20:30:29 +0000 (20:30 +0000)] 
Fix a call to analog_set_pulsedial() not setting 0 or 1 only.

* Also a couple minor tweaks.

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

15 years agoMerged revisions 281763 via svnmerge from
Leif Madsen [Wed, 11 Aug 2010 17:54:56 +0000 (17:54 +0000)] 
Merged revisions 281763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r281763 | lmadsen | 2010-08-11 12:54:09 -0500 (Wed, 11 Aug 2010) | 14 lines

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

  ........
    r281762 | lmadsen | 2010-08-11 12:51:40 -0500 (Wed, 11 Aug 2010) | 6 lines

    Allow say.conf to handle large numbers ending with multiple zeros.

    (closes issue #17833)
    Reported by: RoadKill
    Patches:
          say.conf.sample.patch.largenumbers uploaded by RoadKill (license 933)
  ........
................

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

15 years agoAvoid a deadlock in add_header_max_forwards().
Matthew Nicholson [Wed, 11 Aug 2010 17:27:59 +0000 (17:27 +0000)] 
Avoid a deadlock in add_header_max_forwards().

Related to r276951

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

15 years agoMerged revisions 281722 via svnmerge from
Tilghman Lesher [Wed, 11 Aug 2010 15:18:40 +0000 (15:18 +0000)] 
Merged revisions 281722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r281722 | tilghman | 2010-08-11 10:17:20 -0500 (Wed, 11 Aug 2010) | 7 lines

  Only set status TIMEOUT, if we have no digits.

  (closes issue #15188)
   Reported by: jcovert
   Patches:
         app_readexten.c.patch-1.6.2.8-rc1 uploaded by jcovert (license 551)
........

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

15 years agoFix parsing of IPv6 address literals in outboundproxy
<simon.perreault@viagenie.ca> [Wed, 11 Aug 2010 13:30:59 +0000 (13:30 +0000)] 
Fix parsing of IPv6 address literals in outboundproxy

(closes issue #17757)
Reported by: oej
Patches:
      17757.diff uploaded by sperreault (license 252)
      sip.conf.diff uploaded by sperreault (license 252)
Tested by: oej

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

15 years agoChange the default value for alwaysauthreject in sip.conf to "yes".
Russell Bryant [Tue, 10 Aug 2010 21:47:31 +0000 (21:47 +0000)] 
Change the default value for alwaysauthreject in sip.conf to "yes".

(closes issue #17756)
Reported by: oej

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

15 years agoMerged revisions 281574 via svnmerge from
Russell Bryant [Tue, 10 Aug 2010 18:05:07 +0000 (18:05 +0000)] 
Merged revisions 281574 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r281574 | russell | 2010-08-10 13:04:32 -0500 (Tue, 10 Aug 2010) | 9 lines

  Don't move the time threshold for running scheduled events on every iteration.

  Instead, only calculate the time threshold each time ast_sched_runq() is called.

  (closes issue #17742)
  Reported by: schmidts
  Patches:
        sched.c.patch uploaded by schmidts (license 1077)
........

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

15 years agoMerged revisions 281567 via svnmerge from
Russell Bryant [Tue, 10 Aug 2010 17:48:42 +0000 (17:48 +0000)] 
Merged revisions 281567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r281567 | russell | 2010-08-10 12:47:13 -0500 (Tue, 10 Aug 2010) | 15 lines

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

  ........
    r281566 | russell | 2010-08-10 12:45:45 -0500 (Tue, 10 Aug 2010) | 8 lines

    Reset visible indication after answer.

    (closes issue #17641)
    Reported by: klaus3000
    Patches:
          ast1.6.2.9-app_dial-visible_indication.patch.txt uploaded by klaus3000 (license 65)
    Tested by: schmidts
  ........
................

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

15 years agoEnsure that the proper external address is used for the RTP destination.
Russell Bryant [Tue, 10 Aug 2010 16:54:20 +0000 (16:54 +0000)] 
Ensure that the proper external address is used for the RTP destination.

(closes issue #17044)
Reported by: ebroad
Tested by: ebroad

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

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

15 years agoResolve a problem with channel name tab completion.
Russell Bryant [Tue, 10 Aug 2010 16:21:58 +0000 (16:21 +0000)] 
Resolve a problem with channel name tab completion.

Hitting tab without typing any part of a channel name resulted in no results.
This now results in getting a full list of active channels, just as it did
in previous versions of Asterisk.

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

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

15 years agoFixed the issue caused by EXTEN including user parameters.
TransNexus OSP Development [Tue, 10 Aug 2010 07:26:17 +0000 (07:26 +0000)] 
Fixed the issue caused by EXTEN including user parameters.

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

15 years agoAdd some more stuff to copy from 281429.
Jeff Peeler [Mon, 9 Aug 2010 23:04:02 +0000 (23:04 +0000)] 
Add some more stuff to copy from 281429.

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

15 years agoMerged revisions 281430 via svnmerge from
David Vossel [Mon, 9 Aug 2010 20:47:53 +0000 (20:47 +0000)] 
Merged revisions 281430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r281430 | dvossel | 2010-08-09 15:46:50 -0500 (Mon, 09 Aug 2010) | 13 lines

  fixes SIP peers memory leak

  We zeroed out the peer's addr before it was removed from the
  peers_by_ip container.  This made it impossible to be removed
  from the container as the addr is the key used by the container
  to find the peer.

  (closes issue #17774)
  Reported by: kkm
  Patches:
        017774-sip-peer-leak-1.6.2.10.diff uploaded by kkm (license 888)
        017774-sip-peer-leak-1.8.diff uploaded by kkm (license 888)
........

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

15 years agoMerged revisions 281391 via svnmerge from
Jeff Peeler [Mon, 9 Aug 2010 20:43:54 +0000 (20:43 +0000)] 
Merged revisions 281391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r281391 | jpeeler | 2010-08-09 15:07:29 -0500 (Mon, 09 Aug 2010) | 20 lines

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

  ........
    r281390 | jpeeler | 2010-08-09 15:04:30 -0500 (Mon, 09 Aug 2010) | 13 lines

    Prevent loss of Caller ID information set on local channel after masquerade.

    Caller ID set on the channel before a masquerade occurs when using a local
    channel would cause the information to be lost. The problem was that the
    information was set on a channel destined to be hung up. The somewhat confusing
    fix is to detect if any Caller ID has been set on the channel and if so
    preswap the Caller ID data so that basically the masquerade puts the data back.

    (closes issue #17138)
    Reported by: kobaz

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

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

15 years agoValidate minrate, maxrate, and modem settings before attempting a fax session.
Matthew Nicholson [Mon, 9 Aug 2010 14:49:38 +0000 (14:49 +0000)] 
Validate minrate, maxrate, and modem settings before attempting a fax session.

FAX-224

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

15 years agoAdded comment about IPv4-mapped IPv6 addresses and the output of netstat.
<simon.perreault@viagenie.ca> [Mon, 9 Aug 2010 14:31:40 +0000 (14:31 +0000)] 
Added comment about IPv4-mapped IPv6 addresses and the output of netstat.

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

15 years agoAdd a couple of default values to the documentation of cdr.conf.
Russell Bryant [Mon, 9 Aug 2010 12:51:43 +0000 (12:51 +0000)] 
Add a couple of default values to the documentation of cdr.conf.

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

15 years agoReorder some options in cdr.conf.sample.
Russell Bryant [Mon, 9 Aug 2010 12:14:34 +0000 (12:14 +0000)] 
Reorder some options in cdr.conf.sample.

Put all of the options that affect the contents of CDRs together, instead
of having the batch mode options in the middle of them.

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

15 years agoFix alignment of stringfields on the SPARC architecture
Tilghman Lesher [Fri, 6 Aug 2010 18:57:10 +0000 (18:57 +0000)] 
Fix alignment of stringfields on the SPARC architecture

(closes issue #17789)
 Reported by: Ian Mason
 Patches:
       20100806__issue17789__2.diff.txt uploaded by tilghman (license 14)
 Tested by: Ian_Mason

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

15 years agoMerged revisions 281051 via svnmerge from
Russell Bryant [Thu, 5 Aug 2010 13:16:11 +0000 (13:16 +0000)] 
Merged revisions 281051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r281051 | russell | 2010-08-05 08:11:32 -0500 (Thu, 05 Aug 2010) | 9 lines

  Cleanup default option value handling for cdr.conf [general].

  The default values would differ depending on whether or not cdr.conf exists.
  That is no longer the case.

  Apply a default value to the unanswered option.

  Define all default values as named constants.
........

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

15 years agoMerged revisions 280983 via svnmerge from
Tilghman Lesher [Thu, 5 Aug 2010 07:46:36 +0000 (07:46 +0000)] 
Merged revisions 280983 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r280983 | tilghman | 2010-08-05 02:40:47 -0500 (Thu, 05 Aug 2010) | 15 lines

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

  ........
    r280982 | tilghman | 2010-08-05 02:28:33 -0500 (Thu, 05 Aug 2010) | 8 lines

    Change context lock back to a mutex, because functionality depends upon the lock being recursive.

    (closes issue #17643)
     Reported by: zerohalo
     Patches:
           20100726__issue17643.diff.txt uploaded by tilghman (license 14)
     Tested by: zerohalo
  ........
................

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

15 years agoInitialize FAXOPT() status variables in sendfax and receivefax instead of when the...
Matthew Nicholson [Wed, 4 Aug 2010 15:11:13 +0000 (15:11 +0000)] 
Initialize FAXOPT() status variables in sendfax and receivefax instead of when the details structure is created.

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

15 years agoCheck cur value before attempting a deref.
Tilghman Lesher [Wed, 4 Aug 2010 14:04:07 +0000 (14:04 +0000)] 
Check cur value before attempting a deref.

(closes issue #17775)
 Reported by: svinson
 Patches:
       20100804__issue17775.diff.txt uploaded by tilghman (license 14)
 Tested by: svinson

(closes issue #17743)
 Reported by: tgruenberg
 Patches:
       20100804__issue17775.diff.txt uploaded by tilghman (license 14)
 Tested by: tgruenberg

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

15 years agoBlocked revisions 280812 via svnmerge
Tilghman Lesher [Tue, 3 Aug 2010 22:18:49 +0000 (22:18 +0000)] 
Blocked revisions 280812 via svnmerge

................
  r280812 | tilghman | 2010-08-03 15:52:20 -0500 (Tue, 03 Aug 2010) | 16 lines

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

  ........
    r280811 | tilghman | 2010-08-03 15:49:10 -0500 (Tue, 03 Aug 2010) | 9 lines

    Prevent DAHDI channels from overriding the callerid, once it's been set by the user.

    (closes issue #16661)
     Reported by: jstapleton
     Patches:
           20100414__issue16661.diff.txt uploaded by tilghman (license 14)
           20100415__issue16661__1.6.2.diff.txt uploaded by tilghman (license 14)
     Tested by: jstapleton
  ........
................

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

15 years agoSneak FIELDNUM() into 1.8. Returns a 1-based index into a list of a specified item.
Tilghman Lesher [Tue, 3 Aug 2010 20:25:10 +0000 (20:25 +0000)] 
Sneak FIELDNUM() into 1.8.  Returns a 1-based index into a list of a specified item.

Matches up with FIELDQTY() and CUT().

(closes issue #17713)
 Reported by: gareth
 Patches:
       svn-279754.diff uploaded by gareth (license 208)
 Tested by: gareth, tilghman

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

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

15 years agoFixed IPv6-related SIP parsing bugs.
<simon.perreault@viagenie.ca> [Tue, 3 Aug 2010 19:54:03 +0000 (19:54 +0000)] 
Fixed IPv6-related SIP parsing bugs.

(closes issue #17663)
Reported by: oej
Patches:
      diff uploaded by sperreault (license 252)
      diff2 uploaded by sperreault (license 252)
      get_domain.diff uploaded by sperreault (license 252)

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

15 years agoBetter documentation related to IPv6.
<simon.perreault@viagenie.ca> [Tue, 3 Aug 2010 19:53:07 +0000 (19:53 +0000)] 
Better documentation related to IPv6.

(closes issue #17737)
Reported by: oej
Patches:
      doc.diff uploaded by sperreault (license 252)
Tested by: mmichelson

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

15 years agoRemove the MP3 decoder source code and replace it with a small shell script.
Russell Bryant [Tue, 3 Aug 2010 18:48:45 +0000 (18:48 +0000)] 
Remove the MP3 decoder source code and replace it with a small shell script.

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

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

15 years agoMerged revisions 280739 via svnmerge from
Tilghman Lesher [Tue, 3 Aug 2010 18:42:24 +0000 (18:42 +0000)] 
Merged revisions 280739 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280739 | tilghman | 2010-08-03 13:39:28 -0500 (Tue, 03 Aug 2010) | 2 lines

  Document -B and -W flags and regenerate manpage from sgml
........

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

15 years agoMerged revisions 280671 via svnmerge from
Tilghman Lesher [Mon, 2 Aug 2010 21:27:25 +0000 (21:27 +0000)] 
Merged revisions 280671 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280671 | tilghman | 2010-08-02 16:26:11 -0500 (Mon, 02 Aug 2010) | 2 lines

  Allow the pipe, but also allow the comma
........

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

15 years agoMake this a little more deterministic... we want the latest value, not just a 1 somew...
Tilghman Lesher [Mon, 2 Aug 2010 14:41:46 +0000 (14:41 +0000)] 
Make this a little more deterministic... we want the latest value, not just a 1 somewhere.

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

15 years agoApparently, the values in makeopts are sometimes 1:1 and sometimes 1. Compensate...
Tilghman Lesher [Mon, 2 Aug 2010 14:27:20 +0000 (14:27 +0000)] 
Apparently, the values in makeopts are sometimes 1:1 and sometimes 1.  Compensate for this.

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

15 years agoBlocked revisions 280556 via svnmerge
Tilghman Lesher [Thu, 29 Jul 2010 21:08:14 +0000 (21:08 +0000)] 
Blocked revisions 280556 via svnmerge

........
  r280556 | tilghman | 2010-07-29 16:07:03 -0500 (Thu, 29 Jul 2010) | 7 lines

  Off-by-one error

  (closes issue #17590)
   Reported by: atis
   Patches:
         20100729__issue17590.diff.txt uploaded by tilghman (license 14)
........

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

15 years agoFix regression introduced in r1664. Give the fax stack time to shutdown and populate...
Matthew Nicholson [Thu, 29 Jul 2010 21:07:21 +0000 (21:07 +0000)] 
Fix regression introduced in r1664.  Give the fax stack time to shutdown and populate the FAXOPT output variables.

FAX-222

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

15 years agoMerged revisions 280551 via svnmerge from
David Vossel [Thu, 29 Jul 2010 20:43:47 +0000 (20:43 +0000)] 
Merged revisions 280551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280551 | dvossel | 2010-07-29 15:42:29 -0500 (Thu, 29 Jul 2010) | 11 lines

  fixes wrong SRV query for TLS connection

  (closes issue #17612)
  Reported by: marcelloceschia
  Patches:
        chan-sip_srvQuery.patch uploaded by marcelloceschia (license 1079)
        chan-sip_Trunk_srvQuery.patch uploaded by st (license 907)
        chan-sip_asterisk18b1_srvQuery.patch uploaded by marcelloceschia (license 1079)
  Tested by: marcelloceschia, st, pabelanger
........

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

15 years agoAdd header to ccss.conf to appease oej.
Russell Bryant [Thu, 29 Jul 2010 20:35:30 +0000 (20:35 +0000)] 
Add header to ccss.conf to appease oej.

(closes issue #17755)
Reported by: oej

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

15 years agoFix compilation error in chan_dahdi (strdupa -> ast_strdupa).
Sean Bright [Thu, 29 Jul 2010 19:47:16 +0000 (19:47 +0000)] 
Fix compilation error in chan_dahdi (strdupa -> ast_strdupa).

(closes issue #17751)
Reported by: b11d
Patches:
      strdupa_oops.diff uploaded by malcolmd (license 924)

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

15 years agoMerged revisions 280449 via svnmerge from
David Vossel [Thu, 29 Jul 2010 19:13:27 +0000 (19:13 +0000)] 
Merged revisions 280449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r280449 | dvossel | 2010-07-29 14:05:25 -0500 (Thu, 29 Jul 2010) | 18 lines

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

  ........
    r280448 | dvossel | 2010-07-29 14:04:23 -0500 (Thu, 29 Jul 2010) | 12 lines

    fixes issue with translator frame not getting freed

    A translator frame even if it local storage so the translation path
    can be freed.  This issue prevented g729 licenses from being freed up.

    (closes issue #17630)
    Reported by: manvirr
    Patches:
          encoder_fix.diff uploaded by dvossel (license 671)
    Tested by: manvirr, dvossel
  ........
................

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

15 years agoRemove res_crypto dependency.
Paul Belanger [Thu, 29 Jul 2010 18:37:32 +0000 (18:37 +0000)] 
Remove res_crypto dependency.

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

15 years agocrypto_loaded_test depends on res_crypto, else test will fail.
Paul Belanger [Thu, 29 Jul 2010 16:44:22 +0000 (16:44 +0000)] 
crypto_loaded_test depends on res_crypto, else test will fail.

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

15 years agoDon't blow up if get_codec() was not provided in the RTP glue.
Russell Bryant [Thu, 29 Jul 2010 16:25:43 +0000 (16:25 +0000)] 
Don't blow up if get_codec() was not provided in the RTP glue.

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

15 years agoMerged revisions 280345 via svnmerge from
Jean Galarneau [Thu, 29 Jul 2010 16:07:16 +0000 (16:07 +0000)] 
Merged revisions 280345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r280345 | jeang | 2010-07-29 11:01:35 -0500 (Thu, 29 Jul 2010) | 10 lines

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

  ........
    r280341 | jeang | 2010-07-29 10:52:31 -0500 (Thu, 29 Jul 2010) | 2 lines

    Fix a dsp structure leak occuring when a local channel is put into a meetme
    conference, then masquaraded away.
    ABE-2422
  ........
................

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

15 years agoUse PRIx64 instead of PRId64 in format string.
Matthew Nicholson [Thu, 29 Jul 2010 15:57:57 +0000 (15:57 +0000)] 
Use PRIx64 instead of PRId64 in format string.

related to r280302

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

15 years agoMerged revisions 280306 via svnmerge from
Matthew Nicholson [Thu, 29 Jul 2010 13:56:35 +0000 (13:56 +0000)] 
Merged revisions 280306 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280306 | mnicholson | 2010-07-29 08:45:11 -0500 (Thu, 29 Jul 2010) | 2 lines

  Implement support for ast_channel_queryoption on local channels.  Currently only AST_OPTION_T38_STATE is supported.

  ABE-2229
  Review: https://reviewboard.asterisk.org/r/813/
........

Additionally, pass AST_CONTROL_T38_PARAMETERS control frames through generic bridges.  This change appears to have been unintentionally left out of rev 203699.

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

15 years agoUse PRId64 with format_t
Paul Belanger [Thu, 29 Jul 2010 00:45:34 +0000 (00:45 +0000)] 
Use PRId64 with format_t

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

15 years agoGive test category missing leading slash
Jeff Peeler [Wed, 28 Jul 2010 20:49:26 +0000 (20:49 +0000)] 
Give test category missing leading slash

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

15 years agoMerged revisions 280229 via svnmerge from
Richard Mudgett [Wed, 28 Jul 2010 20:12:16 +0000 (20:12 +0000)] 
Merged revisions 280229 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280229 | rmudgett | 2010-07-28 14:57:49 -0500 (Wed, 28 Jul 2010) | 2 lines

  Add missing enum value "unknown" to the SS7 called_nai and calling_nai config options.
........

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

15 years agoMerged revisions 280231 via svnmerge from
Jason Parker [Wed, 28 Jul 2010 20:03:22 +0000 (20:03 +0000)] 
Merged revisions 280231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280231 | qwell | 2010-07-28 15:02:27 -0500 (Wed, 28 Jul 2010) | 6 lines

  Work around some silly behavior on BSD.

  A non-zero exit from a subshell should make the build fail.

  (closes issue #17621)
........

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

15 years agoBlocked revisions 280227 via svnmerge
Jason Parker [Wed, 28 Jul 2010 20:03:02 +0000 (20:03 +0000)] 
Blocked revisions 280227 via svnmerge

........
  r280227 | qwell | 2010-07-28 14:54:54 -0500 (Wed, 28 Jul 2010) | 1 line

  Add sha1sum-sh in case there is no util on the system.
........

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

15 years agoDo rtp/rtcp debugging when it is turned on w/o filtering
Terry Wilson [Wed, 28 Jul 2010 19:34:42 +0000 (19:34 +0000)] 
Do rtp/rtcp debugging when it is turned on w/o filtering

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

15 years agoMerged revisions 280193 via svnmerge from
Jason Parker [Wed, 28 Jul 2010 18:24:29 +0000 (18:24 +0000)] 
Merged revisions 280193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280193 | qwell | 2010-07-28 13:05:54 -0500 (Wed, 28 Jul 2010) | 9 lines

  Remove unnecessary subshells.  Attempt to make checksumming work.

  Also improves readability.

  (issue #17621)
  Reported by: bjm

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

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

15 years agoMerged revisions 280160 via svnmerge from
Sean Bright [Wed, 28 Jul 2010 16:52:12 +0000 (16:52 +0000)] 
Merged revisions 280160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r280160 | seanbright | 2010-07-28 12:51:11 -0400 (Wed, 28 Jul 2010) | 8 lines

  Plug a reference leak in app_queue when adding members dynamically.

  (closes issue #17738)
  Reported by: bobwienholt
  Patches:
        issue17738.patch uploaded by bobwienholt (license 950)
  Tested by: bobwienholt, seanbright
........

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

15 years agoMerged revisions 280089 via svnmerge from
Leif Madsen [Wed, 28 Jul 2010 13:52:50 +0000 (13:52 +0000)] 
Merged revisions 280089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r280089 | lmadsen | 2010-07-28 08:51:16 -0500 (Wed, 28 Jul 2010) | 9 lines

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

  ........
    r280088 | lmadsen | 2010-07-28 08:50:38 -0500 (Wed, 28 Jul 2010) | 1 line

    Update help text to be less confusing.
  ........
................

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

15 years agos/init keys/keys init/
Russell Bryant [Wed, 28 Jul 2010 13:01:15 +0000 (13:01 +0000)] 
s/init keys/keys init/

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

15 years agoResolve compiler warning about formatting
Paul Belanger [Wed, 28 Jul 2010 01:37:10 +0000 (01:37 +0000)] 
Resolve compiler warning about formatting

(closes issue #17732)
Reported by: pabelanger

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

15 years agoRevert r280019 for now - This was poorly executed.
Sean Bright [Tue, 27 Jul 2010 22:30:38 +0000 (22:30 +0000)] 
Revert r280019 for now - This was poorly executed.

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

15 years agoAdd ability to use system libedit and update bundled libedit.
Sean Bright [Tue, 27 Jul 2010 21:57:07 +0000 (21:57 +0000)] 
Add ability to use system libedit and update bundled libedit.

The version of libedit that is bundled with asterisk is old and has some bugs.
This patch updates the bundled version of libedit within asterisk, and also
updates asterisk to use the system libedit instead if one is available (and
pkg-config is available).  This review integrates several patches from other
users specifically kkm and tzafrir.

(closes issue #15929)
Reported by: kkm
Patches:
      015929-astcli-editrc-trunk.240324.diff uploaded by kkm (license 888)

(issue #16858)
Reported by: jw-asterisk

(closes issue #17039)
Reported by: tzafrir
Patches:
      0001-allow-using-system-copy-of-libedit.patch uploaded by tzafrir (license 46)

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

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

15 years agoAdd --enable-coverage option to configure script.
Russell Bryant [Tue, 27 Jul 2010 21:16:05 +0000 (21:16 +0000)] 
Add --enable-coverage option to configure script.

This option enables the proper compiler flags for tracking code coverage, which
is useful along side automated testing.

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

15 years agoMerged revisions 279946 via svnmerge from
David Vossel [Tue, 27 Jul 2010 20:57:00 +0000 (20:57 +0000)] 
Merged revisions 279946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r279946 | dvossel | 2010-07-27 15:54:32 -0500 (Tue, 27 Jul 2010) | 24 lines

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

  ........
    r279945 | dvossel | 2010-07-27 15:33:40 -0500 (Tue, 27 Jul 2010) | 19 lines

    remove empty audiohook write list on channel

    If a channel has an audiohook write list created on it, that
    list stays on the channel until the channel is destroyed.  There
    is no reason to keep that list on the channel if it becomes empty.
    If it is empty that just means we are doing needless translating
    for every ast_read and ast_write.  This patch removes the audiohook
    list from the channel once it is detected to be empty on either a
    read or write.  If a audiohook is added back to the channel after
    this list is destroyed, the list just gets recreated as if it never
    existed to begin with.

    (closes issue #17630)
    Reported by: manvirr

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

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

15 years agoFix inband DTMF detection on outgoing ISDN calls.
Russell Bryant [Tue, 27 Jul 2010 19:50:56 +0000 (19:50 +0000)] 
Fix inband DTMF detection on outgoing ISDN calls.

This is a regression from the sig_pri split from chan_dahdi.  When a call is
first initiated, the inband DTMF detector is not enabled if it's an outgoing
ISDN call.  However, it needs to be turned on once the media path starts up.
This handling was put back in the open_media() callback of chan_dahdi.  In
sig_pri, open_media() calls were added to a few places where it was needed,
including handling of PRI_EVENT_RINGING, PRI_EVENT_PROGRESS, and
PRI_EVENT_PROCEEDING.

Thanks to rmudgett for helping me with the patch!

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

15 years agoFix parsing error in sip_sipredirect().
Mark Michelson [Tue, 27 Jul 2010 18:54:07 +0000 (18:54 +0000)] 
Fix parsing error in sip_sipredirect().

The code was written in a way that did a bad job of
parsing the port out of a URI. Specifically, it would
do badly when dealing with an IPv6 address. In this
particular scenario, there was no value from parsing
the port out, so I just removed that logic. And while
I was messing around in the function, I changed some
variable names to be more descriptive.

(closes issue #17661)
Reported by: oej
Patches:
      17661.diff uploaded by mmichelson (license 60)

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

15 years agoBlocked revisions 279883 via svnmerge
Jason Parker [Tue, 27 Jul 2010 17:55:24 +0000 (17:55 +0000)] 
Blocked revisions 279883 via svnmerge

........
  r279883 | qwell | 2010-07-27 12:54:54 -0500 (Tue, 27 Jul 2010) | 1 line

  Add SHA1SUM to configure, since we require it for sounds/
........

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

15 years agoBlocked revisions 279852 via svnmerge
Jason Parker [Tue, 27 Jul 2010 16:48:58 +0000 (16:48 +0000)] 
Blocked revisions 279852 via svnmerge

........
  r279852 | qwell | 2010-07-27 11:48:41 -0500 (Tue, 27 Jul 2010) | 1 line

  Remove aptly-named EMPTY and BS vars, since they aren't used anymore.
........

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

15 years agoMerged revisions 279849 via svnmerge from
Jason Parker [Tue, 27 Jul 2010 16:40:05 +0000 (16:40 +0000)] 
Merged revisions 279849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r279849 | qwell | 2010-07-27 11:39:16 -0500 (Tue, 27 Jul 2010) | 1 line

  Simply sounds/Makefile some more.
........

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

15 years agofix sip transaction match with authentication, fix confusing log message when using...
David Vossel [Tue, 27 Jul 2010 16:09:15 +0000 (16:09 +0000)] 
fix sip transaction match with authentication, fix confusing log message when using getaddrinfo

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

15 years agoSupport "channels" in addition to "channel" in chan_dahdi.conf.
Russell Bryant [Tue, 27 Jul 2010 16:06:58 +0000 (16:06 +0000)] 
Support "channels" in addition to "channel" in chan_dahdi.conf.

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

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

15 years agoMerged revisions 279784 via svnmerge from
Mark Michelson [Tue, 27 Jul 2010 15:15:22 +0000 (15:15 +0000)] 
Merged revisions 279784 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r279784 | mmichelson | 2010-07-27 10:13:24 -0500 (Tue, 27 Jul 2010) | 14 lines

  Fix bad behavior of dynamic_exclude_static option in sip.conf.

  We were attempting to create a contactdeny rule based on the peer's
  IP address before the peer's IP address had been set. By moving the
  processing further down in the function, we can ensure stuff works
  as we expect for it to.

  (closes issue #17717)
  Reported by: mmichelson
  Patches:
        17717.patch uploaded by mmichelson (license 60)
  Tested by: DennisD
........

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

15 years agoIf dringXcontext is null, fallback to default context value.
Paul Belanger [Tue, 27 Jul 2010 02:57:33 +0000 (02:57 +0000)] 
If dringXcontext is null, fallback to default context value.

(closes issue #17693)
Reported by: iasgoscouk
Patches:
      issue17693.patch uploaded by pabelanger (license 224)
Tested by: iasgoscouk

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

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

15 years agoUse ast_sockaddr_setnull() when http is not enabled.
Paul Belanger [Tue, 27 Jul 2010 01:53:38 +0000 (01:53 +0000)] 
Use ast_sockaddr_setnull() when http is not enabled.

Otherwise, ast_tcptls_server_start() will still start http.

(closes issue #17708)
Reported by: pabelanger
Patches:
      http.patch uploaded by pabelanger (license 224)

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

15 years agoUpdated documentation for FAX logger level.
Paul Belanger [Mon, 26 Jul 2010 23:29:34 +0000 (23:29 +0000)] 
Updated documentation for FAX logger level.

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

15 years agoMerged revisions 279657 via svnmerge from
Jason Parker [Mon, 26 Jul 2010 23:03:38 +0000 (23:03 +0000)] 
Merged revisions 279657 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r279657 | qwell | 2010-07-26 17:59:52 -0500 (Mon, 26 Jul 2010) | 5 lines

  Really fix sounds Makefile (and make it readableish).

  There was a rather large syntax error that should have caused ALL versions of GNU make to fail.
  I don't know how it worked.
........

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

15 years agoIgnore a control subclass of -1 in ast_waitfordigit_full().
Russell Bryant [Mon, 26 Jul 2010 21:53:30 +0000 (21:53 +0000)] 
Ignore a control subclass of -1 in ast_waitfordigit_full().

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

15 years agoMerged revisions 279609 via svnmerge from
Tilghman Lesher [Mon, 26 Jul 2010 21:20:12 +0000 (21:20 +0000)] 
Merged revisions 279609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r279609 | tilghman | 2010-07-26 16:18:17 -0500 (Mon, 26 Jul 2010) | 2 lines

  Dunno why this worked on my machine, but it works better this way.
........

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

15 years agoMerged revisions 279597 via svnmerge from
Tilghman Lesher [Mon, 26 Jul 2010 21:07:45 +0000 (21:07 +0000)] 
Merged revisions 279597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r279597 | ghenry | 2010-07-26 15:25:54 -0500 (Mon, 26 Jul 2010) | 13 lines

  Apply all patches in:

  https://issues.asterisk.org/view.php?id=13573

  (closes issue #13573)
  Reported by: navkumar
  Patches:
        res_config_ldap-category.diff uploaded by navkumar (license 580)
        res_config_ldap.patch uploaded by bencer (license 961)
        res_config_ldap uploaded by bencer (license 961)
  Tested by: suretec
........

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

15 years agoReverting property remove
Tilghman Lesher [Mon, 26 Jul 2010 21:03:48 +0000 (21:03 +0000)] 
Reverting property remove

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