]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
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

15 years agoMerged revisions 279597 via svnmerge from
Gavin Henry [Mon, 26 Jul 2010 20:58:12 +0000 (20:58 +0000)] 
Merged revisions 279597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/1.6.2

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

Apply all patches in:

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

(closes issue 0013573)
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@279598 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agotransaction matching using top most Via header
David Vossel [Mon, 26 Jul 2010 19:59:03 +0000 (19:59 +0000)] 
transaction matching using top most Via header

This patch modifies the way chan_sip.c does transaction to dialog
matching.  Asterisk now stores information in the top most Via header
of the initial incoming request and compares that against other Requests
that have the same call-id.  This results in Asterisk being able to
detect a forked call in which it has received multiple legs of the
fork.  I completely stripped out the previous matching code and made
the comparisons a little more explicit and easier to understand.  My
comments in the code should offer all the details involving this patch.

This patch also fixes a bug with the usage of the OBJ-MULTIPLE flag to
find multiple dialogs with the same call-id.  Since the callback
function was returning (CMP_MATCH | CMP_STOP) only the first item
found was being returned.  I fixed this by making a new callback
function for finding multiple dialogs that only returns (CMP_MATCH)
on a match allowing for multiple items to be returned.

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

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

15 years agoAdd documentation for FAX logger level.
Paul Belanger [Mon, 26 Jul 2010 19:51:39 +0000 (19:51 +0000)] 
Add documentation for FAX logger level.

(closes issue #17715)
Reported by: vrban
Patches:
      17715.patch uploaded by pabelanger (license 224)
Tested by: vrban

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

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

........
  r279561 | tilghman | 2010-07-26 14:15:59 -0500 (Mon, 26 Jul 2010) | 2 lines

  Use a special Makefile for noobs who still have GNU Make 3.80.
........

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

15 years agoAllow for systems without locale support to be usable.
Mark Michelson [Mon, 26 Jul 2010 16:04:09 +0000 (16:04 +0000)] 
Allow for systems without locale support to be usable.

A recent change to SIP URI comparison code added a locale-specific
string comparison to the mix, and certain systems do not support
such functions. This fix allows for those systems to still use
Asterisk 1.8

(closes issue #17697)
Reported by: pprindeville
Patches:
      asterisk-trunk-bugid17697.patch uploaded by pprindeville (license 347)
Tested by: mmichelson

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

15 years agoMerged revisions 279501 via svnmerge from
Sean Bright [Mon, 26 Jul 2010 15:43:54 +0000 (15:43 +0000)] 
Merged revisions 279501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r279501 | seanbright | 2010-07-26 11:41:13 -0400 (Mon, 26 Jul 2010) | 5 lines

  Expand the correct value within AST_OPTION_ONLY.

  (closes issue #17703)
  Reported by: stuarth
........

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

15 years agoFormats need to load before apps, because some apps call ast_format_str_reduce()...
Tilghman Lesher [Mon, 26 Jul 2010 03:27:06 +0000 (03:27 +0000)] 
Formats need to load before apps, because some apps call ast_format_str_reduce() at load time.

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

15 years agoAdd trailing backslash to silence warning message.
Paul Belanger [Sun, 25 Jul 2010 21:26:42 +0000 (21:26 +0000)] 
Add trailing backslash to silence warning message.

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

15 years agoDon't re-register CDR module on reload.
Tilghman Lesher [Sun, 25 Jul 2010 18:21:27 +0000 (18:21 +0000)] 
Don't re-register CDR module on reload.

(closes issue #17304)
 Reported by: jnemeth
 Patches:
       20100507__issue17304.diff.txt uploaded by tilghman (license 14)
 Tested by: jnemeth

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

15 years agoDon't assume qlog is open.
Tilghman Lesher [Sun, 25 Jul 2010 17:32:21 +0000 (17:32 +0000)] 
Don't assume qlog is open.

(closes issue #17704)
 Reported by: vrban
 Patches:
       issue17704.patch uploaded by pabelanger (license 224)
 Tested by: vrban

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

15 years agoMinor update to man page
Bradley Latus [Sat, 24 Jul 2010 23:58:57 +0000 (23:58 +0000)] 
Minor update to man page

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

15 years agoRemove duplicate -c flag when using $(INSTALL)
Paul Belanger [Sat, 24 Jul 2010 20:47:52 +0000 (20:47 +0000)] 
Remove duplicate -c flag when using $(INSTALL)

(closes issue #17695)
Reported by: pabelanger
Patches:
      Makefile.diff uploaded by pabelanger (license 224)

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

15 years agoCheck if ast_sockaddr is NULL then return.
Paul Belanger [Sat, 24 Jul 2010 18:18:43 +0000 (18:18 +0000)] 
Check if ast_sockaddr is NULL then return.

(closes issue #17677)
Reported by: outcast
Patches:
      issue0017677.patch uploaded by pabelanger (license 224)
Tested by: elguero

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

15 years agoDefault sin_family to AF_INET for TCP / TLS Bindaddress.
Paul Belanger [Sat, 24 Jul 2010 17:36:42 +0000 (17:36 +0000)] 
Default sin_family to AF_INET for TCP / TLS Bindaddress.

Otherwise, 'manager show settings' will generate errors
if manager is not enabled.

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

15 years agoMerged revisions 279207 via svnmerge from
Richard Mudgett [Fri, 23 Jul 2010 22:20:47 +0000 (22:20 +0000)] 
Merged revisions 279207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r279207 | rmudgett | 2010-07-23 17:11:23 -0500 (Fri, 23 Jul 2010) | 14 lines

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

  ........
    r279206 | rmudgett | 2010-07-23 16:56:44 -0500 (Fri, 23 Jul 2010) | 7 lines

    SIP promiscuous redirect could fail to dial the redirect.

    The ast_channel was created with one variable to ast_request() but the
    call to ast_call() that initiates the outgoing call was using a different
    variable.  The two variables are not equivalent if the call_forward string
    included a channel technology specifier.  e.g., SIP/200
  ........
................

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

15 years agoSilly 64-bit compilers (who uses 64-bit anyway?)
Tilghman Lesher [Fri, 23 Jul 2010 18:56:04 +0000 (18:56 +0000)] 
Silly 64-bit compilers (who uses 64-bit anyway?)

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

15 years agofix up properties on 1.8 branch
Russell Bryant [Fri, 23 Jul 2010 18:23:31 +0000 (18:23 +0000)] 
fix up properties on 1.8 branch

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

15 years agoCreate a branch for Asterisk 1.8.
Russell Bryant [Fri, 23 Jul 2010 18:10:58 +0000 (18:10 +0000)] 
Create a branch for Asterisk 1.8.

  ___      _            _     _      _   ___
 / _ \ ___| |_ ___ _ __(_)___| | __ / | ( _ )
| |_| / __| __/ _ \ '__| / __| |/ / | | / _ \
|  _  \__ \ ||  __/ |  | \__ \   <  | || (_) |
|_| |_|___/\__\___|_|  |_|___/_|\_\ |_(_)___/

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

15 years agoCreate a branch for Asterisk 1.8.
Russell Bryant [Fri, 23 Jul 2010 18:08:27 +0000 (18:08 +0000)] 
Create a branch for Asterisk 1.8.

  ___      _            _     _      _   ___
 / _ \ ___| |_ ___ _ __(_)___| | __ / | ( _ )
| |_| / __| __/ _ \ '__| / __| |/ / | | / _ \
|  _  \__ \ ||  __/ |  | \__ \   <  | || (_) |
|_| |_|___/\__\___|_|  |_|___/_|\_\ |_(_)___/

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

15 years agoMerged revisions 278984 via svnmerge from
Tilghman Lesher [Fri, 23 Jul 2010 17:05:16 +0000 (17:05 +0000)] 
Merged revisions 278984 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r278984 | tilghman | 2010-07-23 12:04:15 -0500 (Fri, 23 Jul 2010) | 5 lines

  Establish a maximum version for openh323 (i.e. not opal), because chan_h323 will fail to load, even if it links.

  (issue #17679)
  Reported by: am
........

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

15 years agoMerged revisions 278981 via svnmerge from
Tilghman Lesher [Fri, 23 Jul 2010 16:43:34 +0000 (16:43 +0000)] 
Merged revisions 278981 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r278981 | tilghman | 2010-07-23 11:42:25 -0500 (Fri, 23 Jul 2010) | 8 lines

  Avoid race with consolethread on shutdown (on parallel processors).

  (closes issue #17080)
   Reported by: sybasesql
   Patches:
         20100721__issue17080.diff.txt uploaded by tilghman (license 14)
   Tested by: sybasesql
........

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

15 years agoSIP URI comparison fixes.
Mark Michelson [Fri, 23 Jul 2010 16:33:52 +0000 (16:33 +0000)] 
SIP URI comparison fixes.

This initially was created to work around the issue of
using a string comparison instead of a binary comparison
for IP addresses. It evolved a bit when test cases were
created and it was discovered that comparison of URI
parameters was not working exactly as it should.

sip_uri_cmp() and its helpers have been moved to reqresp_parser.c
and a new test has been added.

(closes issue #17662)
Reported by: oej

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

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

15 years agoMerge the realtime failover branch
Tilghman Lesher [Fri, 23 Jul 2010 16:19:21 +0000 (16:19 +0000)] 
Merge the realtime failover branch

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

15 years agoSome left-over hyphen-minus fixes in the man page
Tzafrir Cohen [Fri, 23 Jul 2010 16:07:53 +0000 (16:07 +0000)] 
Some left-over hyphen-minus fixes in the man page

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

15 years ago... just kidding. Enable SIP by default. :-)
Russell Bryant [Fri, 23 Jul 2010 15:57:23 +0000 (15:57 +0000)] 
... just kidding.  Enable SIP by default.  :-)

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

15 years agoDisable SIP support by default for Asterisk 1.8.
Russell Bryant [Fri, 23 Jul 2010 15:57:01 +0000 (15:57 +0000)] 
Disable SIP support by default for Asterisk 1.8.

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

15 years agoWell, who knew chan_ooh323 used udptl? I sure didn't!
Mark Michelson [Fri, 23 Jul 2010 15:52:37 +0000 (15:52 +0000)] 
Well, who knew chan_ooh323 used udptl? I sure didn't!

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

15 years agoRename sig_pri_pri to sig_pri_span. More descriptive of concept.
Richard Mudgett [Fri, 23 Jul 2010 15:41:44 +0000 (15:41 +0000)] 
Rename sig_pri_pri to sig_pri_span.  More descriptive of concept.

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

15 years agoAllow IPv6 addresses for UDPTL streams.
Mark Michelson [Fri, 23 Jul 2010 15:16:33 +0000 (15:16 +0000)] 
Allow IPv6 addresses for UDPTL streams.

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

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

15 years agoMinor corrections to the LDAP realtime driver
Olle Johansson [Fri, 23 Jul 2010 13:37:17 +0000 (13:37 +0000)] 
Minor corrections to the LDAP realtime driver

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

Thanks Mark for a quick review!

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

15 years agoPortability updates for Makefiles.
Paul Belanger [Fri, 23 Jul 2010 13:26:41 +0000 (13:26 +0000)] 
Portability updates for Makefiles.

When possible, use $(INSTALL).  This allows us to use the functionality within
install for setting directory / file permissions, a requirement for unprivileged
installation.

Also move any directory we plan to create within the installdirs macro. Plus
various other formatting issues.

(issue #17436)
Reported by: pabelanger
Patches:
      non-root.patch.v8 uploaded by pabelanger (license 224)
Tested by: pabelanger

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

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

15 years agomissed FXS kewl start polarityswitch when finally on hook.
Alec L Davis [Fri, 23 Jul 2010 11:01:14 +0000 (11:01 +0000)] 
missed FXS kewl start polarityswitch when finally on hook.

(issue #17318)

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

15 years agoSupport FXS module Polarity Reversal on remote party Answer and Hangup
Alec L Davis [Thu, 22 Jul 2010 23:14:50 +0000 (23:14 +0000)] 
Support FXS module Polarity Reversal on remote party Answer and Hangup

FXS lines normally connect to a telephone. However, when FXS lines are routed
to an external PBX or Key System to act as "external" or "CO" lines, it is
extremely difficult, if not impossible for the external PBX to know when
the call has been disconnected without receiving a polarity reversal on the line.

Now using answeronpolarityswitch and hanguponpolarityswitch keywords that
previously were used only for FXO ports, now applies like functionality for
an FXS port, but from the connected equipment's point of view.

(closes issue #17318)
Reported by: armeniki
Patches:
      fxs_linepolarity.diff5.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

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

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