asterisk/asterisk.git
13 years agochanges penaltymemberslimit to use scanf for config value parsing
David Vossel [Fri, 4 Dec 2009 18:55:21 +0000 (18:55 +0000)]
changes penaltymemberslimit to use scanf for config value parsing

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

13 years agonew queue option, penaltymemberslimit, disregards penalty on too few queue members...
David Vossel [Fri, 4 Dec 2009 18:48:31 +0000 (18:48 +0000)]
new queue option, penaltymemberslimit, disregards penalty on too few queue members when enabled

(closes issue #14559)
Reported by: fiddur
Patches:
      trunk-199584-1.diff uploaded by fiddur (license 678)
Tested by: fiddur, dvossel

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

13 years agoMerged revisions 233116 via svnmerge from
David Vossel [Fri, 4 Dec 2009 17:22:31 +0000 (17:22 +0000)]
Merged revisions 233116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r233116 | dvossel | 2009-12-04 11:21:34 -0600 (Fri, 04 Dec 2009) | 6 lines

  document and rename strip_control() in app_voicemail

  (closes issue #16291)
  Reported by: wdoekes
........

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

13 years agoMerged revisions 233092 via svnmerge from
Russell Bryant [Fri, 4 Dec 2009 17:18:22 +0000 (17:18 +0000)]
Merged revisions 233092 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r233092 | russell | 2009-12-04 11:12:47 -0600 (Fri, 04 Dec 2009) | 7 lines

  Only do frame payload check for HOLD frames.

  This code was added for helping to debug the source of invalid HOLD frames.
  However, a side effect of this is that it will incorrectly report errors for
  frames that have an integer payload.  Make the check for this block specific
  to the HOLD frame case.
........

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

13 years agoParse global variables or expressions in hint extensions
Matthias Nick [Fri, 4 Dec 2009 17:15:47 +0000 (17:15 +0000)]
Parse global variables or expressions in hint extensions

Parse global variables or expressions in hint extensions. Like: exten => 400,hint,DAHDI/i2/${GLOBAL(var)}

(closes issue #16166)
Reported by: rmudgett
Tested by: mnick, rmudgett

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

13 years agoLet's unlock the lines list after the AST_LIST_TRAVERSE instead of inside it.
Michiel van Baak [Fri, 4 Dec 2009 16:55:07 +0000 (16:55 +0000)]
Let's unlock the lines list after the AST_LIST_TRAVERSE instead of inside it.

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

13 years agoOnly assign line and device in handle_transfer_button when we have a subchannel.
Michiel van Baak [Fri, 4 Dec 2009 16:18:57 +0000 (16:18 +0000)]
Only assign line and device in handle_transfer_button when we have a subchannel.

(closes issue #16040)
Reported by: ebroad

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

13 years agoUpdate the mysql driver to always return NULL columns, as this is needed for the...
Tilghman Lesher [Fri, 4 Dec 2009 16:08:58 +0000 (16:08 +0000)]
Update the mysql driver to always return NULL columns, as this is needed for the realtime API to work correctly.
(closes issue #16138)
 Reported by: sohosys
 Patches:
       20091029__issue16138.diff.txt uploaded by tilghman (license 14)
 Tested by: sohosys

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

13 years agoMerged revisions 233014 via svnmerge from
Matthias Nick [Fri, 4 Dec 2009 15:38:33 +0000 (15:38 +0000)]
Merged revisions 233014 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r233014 | mnick | 2009-12-04 09:17:03 -0600 (Fri, 04 Dec 2009) | 11 lines

  Warning message gets displayed only once

  Added additional field 'int display_inband_dtmf_warning', which when set to '1' displays the warning ('Inband DTMF is not supported on codec %s. Use RFC2833'), and when set to '0' doesn't display the warning. Otherwise you would get hundreds of warnings every second.

  (closes issue #15769)
  Reported by: falves11
  Patches:
   patch_15769_14.txt uploaded by mnick (license 874)
  Tested by: mnick, falves11
........

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

13 years agoBuildbot complained
Tilghman Lesher [Fri, 4 Dec 2009 05:26:54 +0000 (05:26 +0000)]
Buildbot complained

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

13 years agoOS X does not define MSG_NOSIGNAL, but it does have a socket option SO_NOSIGPIPE.
Tilghman Lesher [Fri, 4 Dec 2009 04:52:24 +0000 (04:52 +0000)]
OS X does not define MSG_NOSIGNAL, but it does have a socket option SO_NOSIGPIPE.
(closes issue #16178)
 Reported by: oej

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

13 years agoAdd pagerdateformat, to allow shorter dates for SMS messages.
Tilghman Lesher [Thu, 3 Dec 2009 22:13:56 +0000 (22:13 +0000)]
Add pagerdateformat, to allow shorter dates for SMS messages.
(closes issue #16263)
 Reported by: andrew
 Patches:
       pagerdate.patch uploaded by andrew (license 240)
       (with a slight modification by me)

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

13 years agoMerged revisions 232820 via svnmerge from
Tilghman Lesher [Thu, 3 Dec 2009 20:47:07 +0000 (20:47 +0000)]
Merged revisions 232820 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232820 | tilghman | 2009-12-03 14:10:19 -0600 (Thu, 03 Dec 2009) | 8 lines

  Deprecate "cz" in favor of "cs".
  Also, change the use of language codes so that language registers as a prefix,
  rather than an exact match.
  (closes issue #16272)
   Reported by: patrol-cz
   Patches:
         20091203__issue16272.diff.txt uploaded by tilghman (license 14)
........

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

13 years agojitterbuffer setup correction
Alexandr Anikin [Thu, 3 Dec 2009 20:26:55 +0000 (20:26 +0000)]
jitterbuffer setup correction
correction of double pointer references from previous rev

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

13 years agoReplaced two deprecated functions of OSP Toolkit.
TransNexus OSP Development [Thu, 3 Dec 2009 08:47:38 +0000 (08:47 +0000)]
Replaced two deprecated functions of OSP Toolkit.

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

13 years agoAdded custom info support.
TransNexus OSP Development [Thu, 3 Dec 2009 03:56:14 +0000 (03:56 +0000)]
Added custom info support.

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

13 years agoExtend voicemail to allow IMAP folders to be specified per mailbox.
Jeff Peeler [Thu, 3 Dec 2009 00:38:03 +0000 (00:38 +0000)]
Extend voicemail to allow IMAP folders to be specified per mailbox.

Previously only possible per context, new option called imapfolder.

(closes issue #14298)
Reported by: jablko
Patches:
      patch-200906202 uploaded by jablko (license 675)

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

13 years agoRemove debugging line
Tilghman Lesher [Thu, 3 Dec 2009 00:09:36 +0000 (00:09 +0000)]
Remove debugging line

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

13 years agoFix multiple issues with musiconhold, which led to classes not getting destroyed...
Tilghman Lesher [Thu, 3 Dec 2009 00:08:55 +0000 (00:08 +0000)]
Fix multiple issues with musiconhold, which led to classes not getting destroyed properly.
 * Classes are now tracked past removal from the core container, and module
   removal is actively prevented until all references are freed.
 * A hanging reference stored in the channel has been removed.  This could have
   caused a mismatch and the music state not properly cleared, if two or more
   reloads occurred between MOH being stopped and MOH being restarted.
 * In certain circumstances, duplicate classes were possible.
 * A race existed at reload time between a process being killed and the thread
   responsible for reading from the related pipe respawning that process.
 * Several reference counts have also been corrected.  At least one could have
   caused deleted classes to stick around forever, consuming resources.  This
   originally manifested as MOH external processes that were not killed at
   reload time.
(closes issue #16279, closes issue #16207)
 Reported by: parisioa, dcabot
 Patches:
       20091202__issue16279__2.diff.txt uploaded by tilghman (license 14)
 Tested by: parisioa, tilghman

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

13 years agoupdate CHANGES and UPGRADE.txt for early media behavior change between 1.6.1 and...
David Vossel [Wed, 2 Dec 2009 23:27:45 +0000 (23:27 +0000)]
update CHANGES and UPGRADE.txt for early media behavior change between 1.6.1 and 1.6.2

(closes issue #16212)
Reported by: miki

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

13 years agoPrevent double closing of FDs by EIVR
David Ruggles [Wed, 2 Dec 2009 22:17:22 +0000 (22:17 +0000)]
Prevent double closing of FDs by EIVR

This caused a problem when asterisk was under heavy load and running both AGI and EIVR applications.
EIVR would close an FD at which point it would be considered freed and be used by a new AGI instance
the second close would then close the FD now in use by AGI.

(closes issue #16305)
Reported by: diLLec
Tested by: thedavidfactor, diLLec

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

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

13 years agoMerged revisions 232581 via svnmerge from
Jeff Peeler [Wed, 2 Dec 2009 22:02:43 +0000 (22:02 +0000)]
Merged revisions 232581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232581 | jpeeler | 2009-12-02 15:57:42 -0600 (Wed, 02 Dec 2009) | 7 lines

  Send ack (response/message) after receiving manager action userevent

  (closes issue #16264)
  Reported by: dimas
  Patches:
        event-ack.patch uploaded by dimas (license 88)
........

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

13 years agoFix support for multiline SMS messages in chan_mobile.
Matthew Nicholson [Wed, 2 Dec 2009 21:37:18 +0000 (21:37 +0000)]
Fix support for multiline SMS messages in chan_mobile.

(closes issue #16278)
Reported by: Artem
Patches:
      multiline-sms-fix2.diff uploaded by mnicholson (license 96)
Tested by: Artem

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

13 years agoMake manager response to "Action: events" finish with empty line
Jeff Peeler [Wed, 2 Dec 2009 21:32:50 +0000 (21:32 +0000)]
Make manager response to "Action: events" finish with empty line

(closes issue #16275)
Reported by: vnovy
Patches:
      manager.c.diff uploaded by vnovy (license 922)

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

13 years agoDo something with the service indicator so that asterisk does not attempt to use...
Matthew Nicholson [Wed, 2 Dec 2009 21:13:02 +0000 (21:13 +0000)]
Do something with the service indicator so that asterisk does not attempt to use a chan_mobile endpoint that does not have service.

(closes issue #16132)
Reported by: nikkk
Patches:
      service-indicator2.diff uploaded by mnicholson (license 96)
Tested by: nikkk

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

13 years agoAdd an 'X' option to the asterisk application which enables #exec for configuration...
Joshua Colp [Wed, 2 Dec 2009 20:10:07 +0000 (20:10 +0000)]
Add an 'X' option to the asterisk application which enables #exec for configuration files.

This option can be used to enable #exec support in the asterisk.conf configuration file.

(closes issue #16260)
Reported by: atis
Patches:
      exec_includes.patch uploaded by atis (license 242)

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

13 years agoBlocked revisions 232444 via svnmerge
David Vossel [Wed, 2 Dec 2009 19:03:55 +0000 (19:03 +0000)]
Blocked revisions 232444 via svnmerge

........
  r232444 | dvossel | 2009-12-02 13:03:01 -0600 (Wed, 02 Dec 2009) | 9 lines

  fixes app_queue ao2 error

  (closes issue #16369)
  Reported by: vrban
  Patches:
        queue_issue_1.4.diff uploaded by dvossel (license 671)
  Tested by: dvossel
........

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

13 years agoAdd an option to Record which enables a mode where any DTMF digit will terminate...
Joshua Colp [Wed, 2 Dec 2009 18:35:47 +0000 (18:35 +0000)]
Add an option to Record which enables a mode where any DTMF digit will terminate recording.

(closes issue #15436)
Reported by: Vince
Patches:
      app_record.diff uploaded by Vince (license 823)
Tested by: dbrooks

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

13 years agoDo not change the exten string field or rebuild the contact header
Mark Michelson [Wed, 2 Dec 2009 17:18:07 +0000 (17:18 +0000)]
Do not change the exten string field or rebuild the contact header
on an inbound sip_pvt if the outbound call is redirected.

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

13 years agoMerged revisions 232355 via svnmerge from
Joshua Colp [Wed, 2 Dec 2009 17:06:54 +0000 (17:06 +0000)]
Merged revisions 232355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232355 | file | 2009-12-02 13:04:52 -0400 (Wed, 02 Dec 2009) | 5 lines

  Fix a bug where if you hung up very quickly after calling AMD it would overwrite the AMDSTATUS of HANGUP with TOOLONG.

  (closes issue #16239)
  Reported by: CGMChris
........

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

13 years agoMerged revisions 232350 via svnmerge from
David Vossel [Wed, 2 Dec 2009 17:00:15 +0000 (17:00 +0000)]
Merged revisions 232350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232350 | dvossel | 2009-12-02 10:59:18 -0600 (Wed, 02 Dec 2009) | 6 lines

  ast_outaddrfor doesn't do htons() on port, looks odd in strace.

  (closes issue #16290)
  Reported by: wdoekes
........

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

13 years agoAdd support for handling the 415 Unsupported media type response like we do for a...
Joshua Colp [Wed, 2 Dec 2009 16:40:14 +0000 (16:40 +0000)]
Add support for handling the 415 Unsupported media type response like we do for a 488 Not acceptable here response.

(closes issue #16186)
Reported by: atis
Patches:
      sip_t38_response_415.patch uploaded by atis (license 242)

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

13 years agoMerged revisions 232268 via svnmerge from
David Vossel [Wed, 2 Dec 2009 15:42:54 +0000 (15:42 +0000)]
Merged revisions 232268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232268 | dvossel | 2009-12-02 09:41:36 -0600 (Wed, 02 Dec 2009) | 9 lines

  fixes segfault in func_groupcount

  closes issue #16337)
  Reported by: Parantido
  Patches:
        issue_16337.diff uploaded by dvossel (license 671)
     Tested by: Parantido, dvossel
........

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

13 years agoFix a bug where a scheduled item ID would get retained on registrations in a certain...
Joshua Colp [Wed, 2 Dec 2009 14:54:28 +0000 (14:54 +0000)]
Fix a bug where a scheduled item ID would get retained on registrations in a certain scenario
causing code to execute during reload that should not.

(issue AST-263)

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

13 years agoBlocked revisions 232165 via svnmerge
Terry Wilson [Wed, 2 Dec 2009 04:06:14 +0000 (04:06 +0000)]
Blocked revisions 232165 via svnmerge

........
  r232165 | twilson | 2009-12-01 22:05:09 -0600 (Tue, 01 Dec 2009) | 2 lines

  Fix compiling without devmode
........

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

13 years agoSo apparently, some platforms don't have ffsll(3).
Tilghman Lesher [Wed, 2 Dec 2009 03:26:16 +0000 (03:26 +0000)]
So apparently, some platforms don't have ffsll(3).
The manpage lies; it says that the function is in POSIX, but that's only for
ffs(3), not ffsll(3).

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

13 years agoMerged revisions 232090 via svnmerge from
Jeff Peeler [Wed, 2 Dec 2009 00:45:18 +0000 (00:45 +0000)]
Merged revisions 232090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232090 | jpeeler | 2009-12-01 18:42:58 -0600 (Tue, 01 Dec 2009) | 10 lines

  Do not modify the gain settings on data calls.

  (The digital flag actually represents a data call.)

  (closes issue #15972)
  Reported by: udosw
  Patches:
        transcap_digital_fix.diff.txt uploaded by alecdavis (license 585)
  Tested by: alecdavis
........

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

13 years agoUse __builtin_ffsll() from gcc instead of ffssll() to fix a FreeBSD build error.
Russell Bryant [Tue, 1 Dec 2009 23:56:14 +0000 (23:56 +0000)]
Use __builtin_ffsll() from gcc instead of ffssll() to fix a FreeBSD build error.

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

13 years agoFix a build error on FreeBSD.
Russell Bryant [Tue, 1 Dec 2009 23:38:34 +0000 (23:38 +0000)]
Fix a build error on FreeBSD.

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

13 years agoMerged revisions 232007 via svnmerge from
Russell Bryant [Tue, 1 Dec 2009 23:27:53 +0000 (23:27 +0000)]
Merged revisions 232007 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r232007 | russell | 2009-12-01 17:25:36 -0600 (Tue, 01 Dec 2009) | 2 lines

  Fix a warning pointed out by buildbot.
........

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

13 years agoMerged revisions 231911 via svnmerge from
Jeff Peeler [Tue, 1 Dec 2009 21:54:21 +0000 (21:54 +0000)]
Merged revisions 231911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r231911 | jpeeler | 2009-12-01 15:29:31 -0600 (Tue, 01 Dec 2009) | 12 lines

  Fix crash with invalid frame data

  The crash was happening as a result of a frame containing an invalid data
  pointer, but was set with data length of zero. The few times the issue was
  reproduced it _seemed_ that the frame was queued properly, that is the data
  pointer was set to NULL. I never could reproduce the crash so as a last resort
  the crash has been fixed, but a check in __ast_read has been added to give as
  much information about the source of problematic frames in the future.

  (closes issue #16058)
  Reported by: atis
........

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

13 years agoMerged revisions 231853 via svnmerge from
David Vossel [Tue, 1 Dec 2009 21:20:19 +0000 (21:20 +0000)]
Merged revisions 231853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r231853 | dvossel | 2009-12-01 15:14:31 -0600 (Tue, 01 Dec 2009) | 3 lines

  WaitExten m option with no parameters generates frame with zero datalen but non-null data ptr
........

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

13 years agoMore 32->64 bit codec conversions.
Tilghman Lesher [Tue, 1 Dec 2009 20:27:37 +0000 (20:27 +0000)]
More 32->64 bit codec conversions.
In the process of swapping ULAW to a place in the extended codec space, we
found several unhandled cases, where a 32-bit integer was still being used to
handle a codec field.  Most of these have been fixed with this commit, although
there is at least one case (codec_dahdi) which depends upon outside headers to
be altered before a conversion can be made.
(Fixes AST-278, SWP-459)

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

13 years agoFormats need to be able to represent all 64 codec bits.
Tilghman Lesher [Tue, 1 Dec 2009 17:48:54 +0000 (17:48 +0000)]
Formats need to be able to represent all 64 codec bits.

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

13 years agoMerged revisions 231740 via svnmerge from
Matthew Nicholson [Tue, 1 Dec 2009 15:47:36 +0000 (15:47 +0000)]
Merged revisions 231740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r231740 | mnicholson | 2009-12-01 09:34:57 -0600 (Tue, 01 Dec 2009) | 2 lines

  Ignore unknown formats in ast_format_str_reduce() and return an error if no know formats are found.
........

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

13 years agoAnother round of UDPTL stack fixes/improvements:
Kevin P. Fleming [Mon, 30 Nov 2009 21:47:42 +0000 (21:47 +0000)]
Another round of UDPTL stack fixes/improvements:

1) Allow users of UDPTL stack to associate a character-string tag with a UDPTL
   session, so that log/error/debug messages generated by the UDPTL stack can
   be 'connected' to the endpoint that caused them to be generated.

2) Improve comments (and process) of calculating the far end's maximum IFP size
   when redundancy mode is in use for error correction.

3) When an IFP larger than the calculated 'far max IFP' size is presented for
   writing, truncate it rather than putting in the buffer and allowing the buffer
   to overflow; this will cause the ends to retrain to a lower bit rate that
   produces IFPs of an appropriate size if possible, and if not possible, the
   FAX transfer will fail completely. In these cases, it is due to the one endpoint
   supplying a T38FaxMaxDatagram value that is improperly calculated and is
   too low to be of use; we have configuration options available to override
   this behavior.

4) Eliminate use of T38FaxMaxDatagram value in udptl.conf; it is no longer
   needed.

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

13 years agoMerged revisions 231614 via svnmerge from
Matthew Nicholson [Mon, 30 Nov 2009 21:31:55 +0000 (21:31 +0000)]
Merged revisions 231614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r231614 | mnicholson | 2009-11-30 15:11:44 -0600 (Mon, 30 Nov 2009) | 8 lines

  Remove duplicate entries from voicemail format lists. This prevents app_voicemail from entering an infinite loop when the same format is specified twice in the format list.

  (closes issue #15625)
  Reported by: Shagg63
  Tested by: mnicholson

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

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

13 years agoReverted 231616
Matthew Nicholson [Mon, 30 Nov 2009 21:21:29 +0000 (21:21 +0000)]
Reverted 231616

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

13 years agoMerged revisions 231614 via svnmerge from
Matthew Nicholson [Mon, 30 Nov 2009 21:13:42 +0000 (21:13 +0000)]
Merged revisions 231614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r231614 | mnicholson | 2009-11-30 15:11:44 -0600 (Mon, 30 Nov 2009) | 8 lines

  Remove duplicate entries from voicemail format lists. This prevents app_voicemail from entering an infinite loop when the same format is specified twice in the format list.

  (closes issue #15625)
  Reported by: Shagg63
  Tested by: mnicholson

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

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

13 years agoWhen receiving SDP that matches the version of the last one do not treat it as a...
Joshua Colp [Mon, 30 Nov 2009 20:44:30 +0000 (20:44 +0000)]
When receiving SDP that matches the version of the last one do not treat it as a fatal error.

(closes issue #16238)
Reported by: seandarcy

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

13 years agoapp_queue crashes randomly, often during call-transfers
David Vossel [Mon, 30 Nov 2009 18:55:07 +0000 (18:55 +0000)]
app_queue crashes randomly, often during call-transfers

This patch adds a ref to the queue_ent object's parent call_queue
in queue_exec() so the call_queue won't be destroyed
while the the queue_ent still holds a pointer to it.

(closes issue 0015686)
Tested by: dvossel, aragon

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

13 years agoMerged revisions 231441 via svnmerge from
David Vossel [Mon, 30 Nov 2009 17:28:28 +0000 (17:28 +0000)]
Merged revisions 231441 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r231441 | dvossel | 2009-11-30 11:14:08 -0600 (Mon, 30 Nov 2009) | 11 lines

  fixes crash caused by RTP comfort noise payload greater than 24 bytes

  AST-2009-010

  (closes issue #16242)
  Reported by: amorsen
  Patches:
        issue16242.diff uploaded by oej (license 306)
  Tested by: amorsen, oej, dvossel
........

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

13 years agoExport dynamic (weak-linked) symbols correctly.
Tilghman Lesher [Mon, 30 Nov 2009 16:53:10 +0000 (16:53 +0000)]
Export dynamic (weak-linked) symbols correctly.
(closes issue #15193)
 Reported by: eliel
 Patches:
       20091111__issue15193.diff.txt uploaded by tilghman (license 14)

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

13 years agoBlocked revisions 231437 via svnmerge
David Vossel [Mon, 30 Nov 2009 16:37:33 +0000 (16:37 +0000)]
Blocked revisions 231437 via svnmerge

........
  r231437 | dvossel | 2009-11-30 10:32:58 -0600 (Mon, 30 Nov 2009) | 18 lines

  app_queue crashes randomly, often during call-transfers

  In app_queue, it is possible for a call_queue to be destroyed
  while another object still holds a pointer to it.  This patch
  converts call_queue objects to ao2 objects allowing them to be
  ref counted.  This makes it safe for the queue_ent object in
  queue_exec() to reference it's parent call_queue even after it
  has left the queue.

  (closes issue #15686)
  Reported by: Hatrix
  Patches:
        v2_queue_ao2.diff uploaded by dvossel (license 671)
  Tested by: dvossel, aragon

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

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

13 years agoFix a bug where an immediate masquerade would cause a queued unhold frame to get...
Joshua Colp [Mon, 30 Nov 2009 16:29:29 +0000 (16:29 +0000)]
Fix a bug where an immediate masquerade would cause a queued unhold frame to get lost. Now we just
indicate unhold directly after the masquerade is complete.

(issue ABE-2011)

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

13 years ago1. Modified exported variable names.
TransNexus OSP Development [Fri, 27 Nov 2009 08:47:18 +0000 (08:47 +0000)]
1. Modified exported variable names.
2. Added destination port support.
3. Added new protocols.
4. Added QoS.

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

13 years agoReorder option flags. Change guidelines so that example code is consistent with...
Tilghman Lesher [Thu, 26 Nov 2009 02:09:58 +0000 (02:09 +0000)]
Reorder option flags.  Change guidelines so that example code is consistent with guidelines

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

13 years agoMerged revisions 231298 via svnmerge from
Tilghman Lesher [Wed, 25 Nov 2009 22:33:02 +0000 (22:33 +0000)]
Merged revisions 231298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r231298 | tilghman | 2009-11-25 16:31:57 -0600 (Wed, 25 Nov 2009) | 2 lines

  After a frame duplication failure, unlock the channel before returning.
........

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

13 years agoBlocked revisions 231235 via svnmerge
David Vossel [Wed, 25 Nov 2009 21:39:00 +0000 (21:39 +0000)]
Blocked revisions 231235 via svnmerge

........
  r231235 | dvossel | 2009-11-25 15:38:32 -0600 (Wed, 25 Nov 2009) | 9 lines

  fixes solaris segfault on dial with verbosity >= 3

  (closes issue #16193)
  Reported by: asgaroth
  Patches:
        bug_16193_1.4.21.2_vers.diff uploaded by snuffy (license 35)
  Tested by: asgaroth, snuffy
........

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

13 years agoBlocked revisions 231233 via svnmerge
David Vossel [Wed, 25 Nov 2009 21:24:31 +0000 (21:24 +0000)]
Blocked revisions 231233 via svnmerge

........
  r231233 | dvossel | 2009-11-25 15:23:41 -0600 (Wed, 25 Nov 2009) | 8 lines

  fixes conditional jump or move depending on uninitialised STACK value

  (closes issue #16261)
  Reported by: edguy3
  Patches:
        edguy16261.patch uploaded by edguy3 (license 917)
........

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

13 years agoLoad pbx_lua with global symbols to allow linking with other lua libraries.
Matthew Nicholson [Wed, 25 Nov 2009 15:42:48 +0000 (15:42 +0000)]
Load pbx_lua with global symbols to allow linking with other lua libraries.

Found by Maxim Litnitskiy.

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

13 years agoFound a few places where queue refcounts were counted incorrectly. Also add debug...
Tilghman Lesher [Tue, 24 Nov 2009 20:31:28 +0000 (20:31 +0000)]
Found a few places where queue refcounts were counted incorrectly.  Also add debug statements.
(closes issue #15982, closes issue #15984)
 Reported by: atis
 Patches:
       20091111__issue15982.diff.txt uploaded by tilghman (license 14)
 Tested by: atis

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

13 years agoFix erroneous hangup extension execution
Jeff Peeler [Tue, 24 Nov 2009 18:50:36 +0000 (18:50 +0000)]
Fix erroneous hangup extension execution

ast_spawn_extension behaves differently from 1.4 in that hangups and extensions
that do not exist do not return an error, whereas in 1.6 it does. This is now
taken into account so that the AST_FLAG_BRIDGE_HANGUP_RUN flag gets set
properly.

(closes issue #16106)
Reported by: ajohnson
Tested by: ajohnson

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

13 years agoFix problem on digital channels due to digital flag not getting set
Jeff Peeler [Tue, 24 Nov 2009 17:12:25 +0000 (17:12 +0000)]
Fix problem on digital channels due to digital flag not getting set

Changed areas in sig_pri to set the digital flag using a callback that will
also set the corresponding flag in chan_dahdi. Modified dahdi_request slightly
so that if a bearer is marked as digital, that information is available when
creating the new channel.

(closes issue #16151)
Reported by: alecdavis
Patch based on bug_16151.diff.txt uploaded by alecdavis (license 585)

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

13 years agoUpdated CHANGES file to describe the new 'd' option to app_followme added in r230964
Matthew Nicholson [Tue, 24 Nov 2009 13:52:21 +0000 (13:52 +0000)]
Updated CHANGES file to describe the new 'd' option to app_followme added in r230964

(related to issue #14155)
Reported by: junky

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

13 years agoAdd REPLACE & PASSTHRU functions, overhaul of func_strings, fix API docs for the...
Tilghman Lesher [Tue, 24 Nov 2009 04:58:44 +0000 (04:58 +0000)]
Add REPLACE & PASSTHRU functions, overhaul of func_strings, fix API docs for the ast_get_encoded_* functions.
 * Add REPLACE function, which searches a given variable for a set of
   characters and replaces each with a given character.
 * Add PASSTHRU function, which passes a literal string back, like a NoOp for
   functions.  Intent is to be able to specify a literal string to another
   function that takes a variable name as an argument.
 * Let the array manipulation functions work with dialplan functions, in
   addition to variables.  This allows the array manipulation functions to
   modify ASTDB and ODBC backends, assuming the func_odbc configuration has
   both read and write functions.
(closes issue #15223)
 Reported by: ajohnson
Patches:
       20091112__issue15223.diff.txt uploaded by tilghman (license 14)
 Tested by: lmadsen, tilghman

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

13 years agoAdd an option to app_followme to disable the "please hold" announcement.
Matthew Nicholson [Mon, 23 Nov 2009 22:37:39 +0000 (22:37 +0000)]
Add an option to app_followme to disable the "please hold" announcement.

(closes issue #14155)
Reported by: junky
Patches:
      M14555-trunk.diff uploaded by junky (license 177) (modified)
Tested by: junky

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

13 years agoChange fax detection in chan_sip so it behaves as one would expect.
Joshua Colp [Mon, 23 Nov 2009 15:45:45 +0000 (15:45 +0000)]
Change fax detection in chan_sip so it behaves as one would expect.

Internally the way T.38 is negotiated has changed and the option no longer
reflects a behavior that is valid. It will now look for a CNG tone on
received calls and if present send the call to the 'fax' extension. It is
then up to the application or channel to request the switch over to T.38.

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

13 years agoMerged revisions 230839 via svnmerge from
Kevin P. Fleming [Mon, 23 Nov 2009 15:34:16 +0000 (15:34 +0000)]
Merged revisions 230839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r230839 | kpfleming | 2009-11-23 09:09:24 -0600 (Mon, 23 Nov 2009) | 1 line

  Correct fix for issue #16268... the reporter's original patch was very close to correct.
........

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

13 years agoBlocked revisions 230875 via svnmerge
Kevin P. Fleming [Mon, 23 Nov 2009 15:33:02 +0000 (15:33 +0000)]
Blocked revisions 230875 via svnmerge

........
  r230875 | kpfleming | 2009-11-23 09:31:02 -0600 (Mon, 23 Nov 2009) | 7 lines

  When 'sip set debug' is enabled, and the last line of an incoming SIP message
  is not properly newline terminated, ensure that that line is included in the
  debug output.

  (part of issue #16268)
........

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

13 years agoMerged revisions 230772 via svnmerge from
Kevin P. Fleming [Mon, 23 Nov 2009 14:15:48 +0000 (14:15 +0000)]
Merged revisions 230772 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r230772 | kpfleming | 2009-11-23 08:13:56 -0600 (Mon, 23 Nov 2009) | 5 lines

  Ensure that SDP parsing does not ignore the last line of the SDP.

  (closes issue #16268)
  Reported by: sgimeno
........

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

13 years agofixes iax2 show cache locking error, thanks alecdavis!
David Vossel [Fri, 20 Nov 2009 22:35:54 +0000 (22:35 +0000)]
fixes iax2 show cache locking error, thanks alecdavis!

(closes issue #16094)
Reported by: alecdavis
Patches:
      bug16094.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis, dvossel

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

13 years agoRevert code in error and include the gcc suggested workaround for the original proble...
Tilghman Lesher [Fri, 20 Nov 2009 21:47:39 +0000 (21:47 +0000)]
Revert code in error and include the gcc suggested workaround for the original problem, while gcc investigates.

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

13 years agoMerged revisions 230627 via svnmerge from
Matthew Nicholson [Fri, 20 Nov 2009 21:01:10 +0000 (21:01 +0000)]
Merged revisions 230627 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r230627 | mnicholson | 2009-11-20 14:53:06 -0600 (Fri, 20 Nov 2009) | 8 lines

  Copy the peer CDR's userfield to the bridge CDR if it exists.  This is necessary for the recordagentcalls option in chan_agent to store the recorded file name in the bridge CDR.

  (closes issue #14590)
  Reported by: msetim
  Patches:
        queue_agent_userfield.patch uploaded by Laureano (license 265)
  Tested by: Laureano, mnicholson
........

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

13 years agoFix/Implement error events for non-existing files
David Ruggles [Fri, 20 Nov 2009 17:28:01 +0000 (17:28 +0000)]
Fix/Implement error events for non-existing files
also include a better cmd define for S command

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

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

13 years agoaudiohook signal trigger on every status change
David Vossel [Fri, 20 Nov 2009 17:26:20 +0000 (17:26 +0000)]
audiohook signal trigger on every status change

(issue #14618)

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

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

13 years agoMerged revisions 230508 via svnmerge from
David Vossel [Thu, 19 Nov 2009 21:26:21 +0000 (21:26 +0000)]
Merged revisions 230508 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r230508 | dvossel | 2009-11-19 15:22:46 -0600 (Thu, 19 Nov 2009) | 10 lines

  fixes MixMonitor thread not exiting when StopMixMonitor is used

  (closes issue #16152)
  Reported by: AlexMS
  Patches:
        stopmixmonitor_1.4.diff uploaded by dvossel (license 671)
  Tested by: dvossel, AlexMS

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

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

13 years agoBasic cleanup of ExternalIVR: cleaned up argument parsing; implemented good coding...
David Ruggles [Thu, 19 Nov 2009 14:53:58 +0000 (14:53 +0000)]
Basic cleanup of ExternalIVR: cleaned up argument parsing; implemented good coding practices where applicable; replaced most notice level logging with verbose logging; replaced warning messages that terminated with error messages; fixed memory leak identified by russellb

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

13 years agoFix another buglet in T.38 session teardown at the end of FAX sessions.
Kevin P. Fleming [Mon, 16 Nov 2009 16:40:25 +0000 (16:40 +0000)]
Fix another buglet in T.38 session teardown at the end of FAX sessions.

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

13 years agoEnsure that only one end of a T.38 session initiates teardown at completion.
Kevin P. Fleming [Mon, 16 Nov 2009 12:51:59 +0000 (12:51 +0000)]
Ensure that only one end of a T.38 session initiates teardown at completion.

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

13 years ago1. Added SIP Diversion support.
TransNexus OSP Development [Mon, 16 Nov 2009 01:49:41 +0000 (01:49 +0000)]
1. Added SIP Diversion support.
2. Fixed compile warning for UUID.

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

13 years agoMerged revisions 230246 via svnmerge from
Kevin P. Fleming [Sun, 15 Nov 2009 17:23:02 +0000 (17:23 +0000)]
Merged revisions 230246 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r230246 | kpfleming | 2009-11-15 11:19:06 -0600 (Sun, 15 Nov 2009) | 6 lines

  Correct mistaken option name in error message.

  The configuration option for allowing hosts to make non-token-based calls
  is 'calltokenoptional', not 'calltokenignore'. (reported on asterisk-users)
........

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

13 years agoIncrease maximum length of language buffers
Tilghman Lesher [Sun, 15 Nov 2009 07:53:16 +0000 (07:53 +0000)]
Increase maximum length of language buffers
(closes issue #16217)
 Reported by: dsessions

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

13 years agoMerged revisions 230144 via svnmerge from
Joshua Colp [Fri, 13 Nov 2009 22:00:44 +0000 (22:00 +0000)]
Merged revisions 230144 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r230144 | file | 2009-11-13 16:00:19 -0600 (Fri, 13 Nov 2009) | 8 lines

  Respect the maddr parameter in the Via header.

  (closes issue #14446)
  Reported by: frawd
  Patches:
        via_maddr.patch uploaded by frawd (license 610)
  Tested by: frawd
........

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

13 years agoDisplay a list of channel variables in each channel-oriented event.
Tilghman Lesher [Fri, 13 Nov 2009 20:42:03 +0000 (20:42 +0000)]
Display a list of channel variables in each channel-oriented event.
(Closes AST-33)
Reviewboard: https://reviewboard.asterisk.org/r/368/

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

13 years agoMerged revisions 230038 via svnmerge from
Joshua Colp [Fri, 13 Nov 2009 19:44:53 +0000 (19:44 +0000)]
Merged revisions 230038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r230038 | file | 2009-11-13 13:44:07 -0600 (Fri, 13 Nov 2009) | 9 lines

  Fix a crash caused by two threads thinking they should both free the
  chan_local private structure when only one should.

  (closes issue #15314)
  Reported by: sroberts
  Patches:
        Issue15314_Move_Nulling_owner.patch uploaded by davidw (license 780)
  Tested by: davidw, lottc
........

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

13 years agoStore the cause code that is returned when trying to create a channel in ChanIsAvail...
Joshua Colp [Fri, 13 Nov 2009 17:22:47 +0000 (17:22 +0000)]
Store the cause code that is returned when trying to create a channel in ChanIsAvail in the
AVAILCAUSECODE dialplan variable instead of overwriting the device state in AVAILSTATUS.

(closes issue #14426)
Reported by: macli

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

13 years agoMerged revisions 229965 via svnmerge from
Joshua Colp [Fri, 13 Nov 2009 17:20:26 +0000 (17:20 +0000)]
Merged revisions 229965 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229965 | file | 2009-11-13 11:19:59 -0600 (Fri, 13 Nov 2009) | 6 lines

  Document a limitation in the AVAILSTATUS variable from ChanIsAvail and provide
  a workaround for it that does not change existing behavior.

  (closes issue #14426)
  Reported by: macli
........

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

13 years agoFix T.38 negotiation regression introduced with the SDP parser changes.
Joshua Colp [Fri, 13 Nov 2009 15:56:16 +0000 (15:56 +0000)]
Fix T.38 negotiation regression introduced with the SDP parser changes.

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

13 years agoFixing trunk in a way so that it compiles again.
Olle Johansson [Fri, 13 Nov 2009 10:53:14 +0000 (10:53 +0000)]
Fixing trunk in a way so that it compiles again.

Thanks, Philippe :-)

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

13 years agoIf CDR logging is disabled, it's considered a FAILURE
Olle Johansson [Fri, 13 Nov 2009 09:22:04 +0000 (09:22 +0000)]
If CDR logging is disabled, it's considered a FAILURE

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

13 years agoAdd the capability to require a module to be loaded, or else Asterisk exits.
Olle Johansson [Fri, 13 Nov 2009 08:52:28 +0000 (08:52 +0000)]
Add the capability to require a module to be loaded, or else Asterisk exits.

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

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

13 years agoAdded full number portability parameter support.
TransNexus OSP Development [Fri, 13 Nov 2009 03:16:39 +0000 (03:16 +0000)]
Added full number portability parameter support.

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

13 years agoUpdate sample config for ALSA mute and noaudiocapture
Jason Parker [Thu, 12 Nov 2009 23:43:28 +0000 (23:43 +0000)]
Update sample config for ALSA mute and noaudiocapture

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

13 years agoAdd mute functionality. Add config option to not try to open capture device.
Jason Parker [Thu, 12 Nov 2009 23:37:36 +0000 (23:37 +0000)]
Add mute functionality.  Add config option to not try to open capture device.

Adds "console {mute|unmute}" CLI command.
Adds mute and noaudiocapture config options (will update sample configs shortly).

(closes issue #14673)
Reported by: Nick_Lewis
Patches:
      chan_alsa.c-oneway3.patch uploaded by Nick Lewis (license 657)
Tested by: qwell

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

13 years agoFix mute toggling on OSS channels.
Jason Parker [Thu, 12 Nov 2009 23:30:10 +0000 (23:30 +0000)]
Fix mute toggling on OSS channels.

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

13 years agoMerged revisions 229669 via svnmerge from
David Vossel [Thu, 12 Nov 2009 16:44:39 +0000 (16:44 +0000)]
Merged revisions 229669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229669 | dvossel | 2009-11-12 10:41:49 -0600 (Thu, 12 Nov 2009) | 6 lines

  fixes merging error, datastore was being freed in the wrong function.

  (closes issue #16219)
  Reported by: aragon
........

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

13 years agoUpdate sip.conf.sample.
Leif Madsen [Thu, 12 Nov 2009 13:54:45 +0000 (13:54 +0000)]
Update sip.conf.sample.
Just updating a spelling error and some capitalization in a
documentation update that Olle added. May the Swenglish be
with you.

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

13 years agoClarification
Olle Johansson [Thu, 12 Nov 2009 10:24:20 +0000 (10:24 +0000)]
Clarification

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

13 years agoClarify some security issues early in the sample configuration
Olle Johansson [Thu, 12 Nov 2009 10:22:30 +0000 (10:22 +0000)]
Clarify some security issues early in the sample configuration

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