dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

18989 Commits

Author SHA1 Message Date
file 58f16a0044 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: http://svn.digium.com/svn/asterisk/trunk@229970 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 17:22:47 +00:00
file fafc40dd5c 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: http://svn.digium.com/svn/asterisk/trunk@229966 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 17:20:26 +00:00
file 9f930a0147 Fix T.38 negotiation regression introduced with the SDP parser changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229912 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 15:56:16 +00:00
oej 71cb469beb Fixing trunk in a way so that it compiles again.
Thanks, Philippe :-)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229871 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 10:53:14 +00:00
oej 858a04d02e If CDR logging is disabled, it's considered a FAILURE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229840 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 09:22:04 +00:00
oej 47269d650e Add the capability to require a module to be loaded, or else Asterisk exits.
Review: https://reviewboard.asterisk.org/r/426/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229819 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 08:52:28 +00:00
transnexus 83a24475c2 Added full number portability parameter support.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229788 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13 03:16:39 +00:00
qwell 6981379b1c Update sample config for ALSA mute and noaudiocapture
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229754 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-12 23:43:28 +00:00
qwell f4fff33b9b 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: http://svn.digium.com/svn/asterisk/trunk@229753 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-12 23:37:36 +00:00
qwell f1a42f813c Fix mute toggling on OSS channels.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229750 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-12 23:30:10 +00:00
dvossel 4bd99584e5 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: http://svn.digium.com/svn/asterisk/trunk@229670 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-12 16:44:39 +00:00
lmadsen 49dbd96075 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: http://svn.digium.com/svn/asterisk/trunk@229639 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-12 13:54:45 +00:00
oej c7236db028 Clarification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229607 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-12 10:24:20 +00:00
oej b2b8ee2463 Clarify some security issues early in the sample configuration
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229606 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-12 10:22:30 +00:00
diruggles 473a8cdfd1 Remove non-functional feature from ExternalIVR documentation
Remove non-functional socket implementation of ExternalIVR from documentation

(closes issue #16225)
Reported by: thedavidfactor
Patches:
      externalivr.txt.20091111.1542.patch uploaded by thedavidfactor (license 903)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229568 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-11 20:47:06 +00:00
dbrooks 335ea57ff3 Merged revisions 229498 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229498 | dbrooks | 2009-11-11 13:46:19 -0600 (Wed, 11 Nov 2009) | 8 lines
  
  Solaris doesn't like NULL going to ast_log
  
  Solaris will crash if NULL is passed to ast_log. This simple patch simply uses S_OR to
  get around this.
  
  (closes issue #15392)
  Reported by: yrashk
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229499 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-11 19:48:18 +00:00
dbrooks 060cd853ac Flags not initialized in app_softhangup.c, causing undefined behavior
Trivial patch [kobaz] to initialize an ast_flags = {0}

(closes issue #16129)
Reported by: kobaz


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229460 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-11 18:13:56 +00:00
lmadsen 22e4cda5c2 Update CHANGES file.
Updating the CHANGES file after noticing an email on the asterisk-dev mailing
list from Russell.

(issue #15874)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229431 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-11 14:30:04 +00:00
tilghman 03da2826c7 Merged revisions 229360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229360 | tilghman | 2009-11-10 16:09:16 -0600 (Tue, 10 Nov 2009) | 12 lines
  
  If two pattern classes start with the same digit and have the same number of characters, they will compare equal.
  The example given in the issue report is that of [234] and [246], which have
  these characteristics, yet they are clearly not equivalent.  The code still
  uses these two characteristics, yet when the two scores compare equal, an
  additional check will be done to compare all characters within the class to
  verify equality.
  (closes issue #15421)
   Reported by: jsmith
   Patches: 
         20091109__issue15421__2.diff.txt uploaded by tilghman (license 14)
   Tested by: jsmith, thedavidfactor
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229361 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 22:14:22 +00:00
diruggles 66cd52ea16 Merged revisions 229355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229355 | diruggles | 2009-11-10 16:45:15 -0500 (Tue, 10 Nov 2009) | 9 lines
  
  Fix ExternalIVR Documentation
  
  Remove documentation for event that doesn't function
  
  (closes issue #16220)
  Reported by: thedavidfactor
  Patches:
        externalivr.txt.20091110.1622.patch uploaded by thedavidfactor (license 903)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229356 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 22:01:50 +00:00
tilghman a95833c332 When GOSUB is invoked within an AGI, it may not exit correctly.
(closes issue #16216)
 Reported by: atis
 Patches: 
       20091110__atis_work.diff.txt uploaded by tilghman (license 14)
 Tested by: atis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229351 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 21:22:50 +00:00
file 28f7c94380 Merged revisions 229281 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229281 | file | 2009-11-10 16:03:14 -0400 (Tue, 10 Nov 2009) | 8 lines
  
  Remove broken support for direct transcoding between G.726 RFC3551 and G.726 AAL2.
  
  On some systems the translation core would actually consider g726aal2 -> g726 -> signed linear
  to be a quicker path then g726aal2 -> signed linear which exposed this problem.
  
  (closes issue #15504)
  Reported by: globalnetinc
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229282 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 20:06:13 +00:00
diruggles 7d290aeb19 Merged revisions 229191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229191 | diruggles | 2009-11-10 12:23:59 -0500 (Tue, 10 Nov 2009) | 11 lines
  
  Document ExternalIVR event tag collision
  
  ExternalIVR uses the D tag for two different event types. This documents that
  behavior and how to differentiate between the two cases. Also includes a minor
  spelling fix and clarification
  
  (closes issue #16211)
  Reported by: thedavidfactor
  Patches:
        externalivr.txt.20091109.1507.patch uploaded by thedavidfactor (license 903)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229228 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 17:33:47 +00:00
dvossel c231d5a898 Merged revisions 229167 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r229167 | dvossel | 2009-11-10 11:15:57 -0600 (Tue, 10 Nov 2009) | 9 lines
  
  don't crash on log message in solaris
  
  AST-2009-006
  
  (closes issue #16206)
  Reported by: bklang
  Tested by: bklang
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229168 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 17:16:49 +00:00
mnicholson 9fb84e9fcb Reverted revision 201717.
(closes issue 0016175)
Reported by: paul-tg


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229102 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 15:53:52 +00:00
dvossel 793d179b07 fixes pgsql double free of threadstorage
A thread storage variable was being freed incorrectly, which
resulted in a double free if two queries were made in the same thread.

(closes issue #16011)
Reported by: cristiandimache
Patches:
      issue16011.diff uploaded by dvossel (license 671)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229093 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 15:27:45 +00:00
ghenry 42a8ad63b9 Schema file additions
* Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox  objectClasses
  to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
* Added new Fields:
- AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir,
- AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
- AstAccountVideoSupport, AstAccountIgnoreSDPVersion
* Removed redundant IPaddr (there's already IPAddress)
- Gives more configuration Flags for SIP-Users available (tested)
- Allows to create Asterisk Attributes in defined Asterisk ObjectClasses
  without extensibleObject (which really should be the last resort); gives
  also additional possibilities for LDAP-filter 

(closes issue #15874)
Reported by: Medozas
Patches:
      asterisk.ldap-schema.patch uploaded by Medozas (license 41)
Tested by: Medozas, suretec


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229050 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10 11:16:10 +00:00
twilson 21f1734963 Don't crash when bridge->tech_pvt == NULL
This is a similar solution to what is in place for chan_agent

(closes issue #16003)
Reported by: atis
Tested by: twilson


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229015 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-09 22:50:22 +00:00
tilghman e09b7ddb85 Don't try to convert a 64-bit integer, where only a 32-bit integer is stored.
(closes issue #16194)
 Reported by: habile


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228979 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-09 17:17:29 +00:00
mnicholson d41ff717eb Add the 'relative-periodic-announce' option to app_queue to allow for calculating the time of announcments from the end of the previous announcment rather than from the beginning.
(closes issue #15260)
Reported by: tonils


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228947 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-09 16:28:31 +00:00
lmadsen 01492b431e Merged revisions 228896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines
  
  Update WARNING message.
  Update a WARNING message to give a suggested fix when encountered.
  
  (closes issue #16198)
  Reported by: atis
  Tested by: atis
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228897 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-09 15:38:38 +00:00
mnicholson 58cae9b825 Merged revisions 228827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228827 | mnicholson | 2009-11-09 08:16:03 -0600 (Mon, 09 Nov 2009) | 8 lines
  
  Perform limited bounds checking when destroying ast_mutex_t structures to make sure we don't try to use negative indices.
  
  (closes issue #15588)
  Reported by: zerohalo
  Patches:
        20090820__issue15588.diff.txt uploaded by tilghman (license 14)
  Tested by: zerohalo
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228858 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-09 14:37:07 +00:00
tilghman 4424b26d1e Fix various problems detected with Valgrind.
* chan_console accessed pvts after deallocation.
 * cdr_mysql stored a pointer that was freed by realloc()
 * The module loader did not check usecount on shutdown, which led to chan_iax2
 reading a timer that was already unloaded.
 * The event subsystem sometimes creates an event with no IEs.  Due to a corner
 condition, the code would read beyond the memory boundary.
 * res_pktccops did not correctly check whether its monitor thread was started.
(closes issue #16062)
 Reported by: alexanderheinz
 Patches: 
       20091109__issue16062.diff.txt uploaded by tilghman (license 14)
 Tested by: tilghman


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228798 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-09 07:37:52 +00:00
tzafrir da9964e7b1 Add LSB headers to the Debian init.d script
See also issue #14864 .


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228766 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-07 17:02:38 +00:00
dvossel 1d9ab2acea Merged revisions 228692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228692 | dvossel | 2009-11-06 16:33:27 -0600 (Fri, 06 Nov 2009) | 9 lines
  
  fixes audiohook write crash occuring in chan_spy whisper mode.
  
  After writing to the audiohook list in ast_write(), frames
  were being freed incorrectly.  Under certain conditions this
  resulted in a double free crash.
  
  (closes issue #16133)
  Reported by: wetwired

  (closes issue #16045)
  Reported by: bluecrow76
  Patches:
        issue16045.diff uploaded by dvossel (license 671)
  Tested by: bluecrow76, dvossel, habile
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228693 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 22:35:44 +00:00
rmudgett 0f12615286 Created standard location to add options to chan_dahdi for ISDN dialing.
Dial(DAHDI/g1[/extension[/options]])
Current options:
K(<keypad_digits>)
R Reverse charging indication (Collect calls)

The earlier Dial(DAHDI/g1[/K<keypad_digits>][/extension] format was
variable and did not allow for the easy addition of more options.

The earlier 'C' prefix character for reverse charge indiation would
conflict with the a-d DTMF digits if ISDN uses them.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228691 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 22:32:17 +00:00
dbrooks 95e8ab8d05 ami_testhooks.c automatically registers hook
ami_testhooks.c was registering for AMI events upon module load. Moved the registration
to its own CLI command. Added CLI command for unregistering the hook. Changed some of
the wording, removed unnecessary arguments/parameters.

Reported by: rmudgett


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228661 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 22:07:22 +00:00
mmichelson ea202cf5c2 Make compilation of chan_ooh323 disabled by default.
All addons modules should be disabled by default, requiring the
user to turn them on if desired. After all, these are addons we're
talking about here.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228659 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 22:02:36 +00:00
mmichelson 3823a81892 Get chan_ooh323 to compile with gcc 4.2.
For some reason, the code compiles just fine with later versions
of GCC, but this one requires some weird double casting in order
to get rid of all warnings. Whatever.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228658 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 22:00:12 +00:00
rmudgett f3e0c4020f Fix compiler warning gcc 4.2.4 found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228621 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 19:53:08 +00:00
mnicholson c5f892ebec Merged revisions 228378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228378 | mnicholson | 2009-11-06 10:26:59 -0600 (Fri, 06 Nov 2009) | 8 lines
  
  Properly handle '=' while decoding base64 messages and null terminate strings returned from BASE64_DECODE.
  
  (closes issue #15271)
  Reported by: chappell
  Patches:
        base64_fix.patch uploaded by chappell (license 8)
  Tested by: kobaz
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228620 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 19:47:11 +00:00
tilghman 16e3d97832 Missed these two channel drivers on the codec_bits merge
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228616 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 19:38:33 +00:00
file 9baa79d4f1 Merged revisions 228547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228547 | file | 2009-11-06 14:32:58 -0400 (Fri, 06 Nov 2009) | 4 lines
  
  Don't overwrite caller ID name on a trunk with the configured fullname when using users.conf
  
  (issue ABE-1989)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228548 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 18:37:59 +00:00
file 5cc2a875e7 Fix the localchannel.tex file.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228499 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 17:52:00 +00:00
dvossel 164325c273 Fixes merging issue from 1.4, frame data is held in data.ptr in trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228441 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 17:22:31 +00:00
dvossel fb746bd765 Merged revisions 228418 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228418 | dvossel | 2009-11-06 11:07:13 -0600 (Fri, 06 Nov 2009) | 13 lines
  
  fixes segfault in iLBC
  
  For reasons not yet known, it appears possible for an ast_frame
  to have a datalen greater than zero while the actual data is NULL
  during Packet Loss Concealment.  Most codecs don't support PLC so
  this doesn't affect them.  This patch catches the malformed frame
  and prevents the crash from occuring.  Additional efforts to determine
  why it is possible for a frame to look like this are still being
  investigated.
  
  (issue #16979)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228420 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 17:09:01 +00:00
file 4286b8c9d8 Merged revisions 228409 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228409 | file | 2009-11-06 12:41:20 -0400 (Fri, 06 Nov 2009) | 7 lines
  
  Fix a bug caused by a partially invalid frame (from the jitterbuffer) passing through the Asterisk core.
  
  (closes issue #15560)
  Reported by: jvandal
  (closes issue #15709)
  Reported by: covici
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228410 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 16:42:23 +00:00
dvossel b952f6794d Merged revisions 228338 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228338 | dvossel | 2009-11-06 09:41:41 -0600 (Fri, 06 Nov 2009) | 5 lines
  
  fixes crash in astfd.c
  
  (closes issue #15981)
  Reported by: slavon
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228339 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 15:42:46 +00:00
dvossel 28ddf191c6 Blocked revisions 228272 via svnmerge
........
  r228272 | dvossel | 2009-11-06 09:07:31 -0600 (Fri, 06 Nov 2009) | 9 lines
  
  fixes memory leak in func_audiohookinherit.c
  
  (closes issue 0015394)
  Reported by: boroda
  Patches:
        bug15394_memoryleak_diff2.txt uploaded by dbrooks (license 790)
  Tested by: dbrooks, boroda
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228273 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 15:08:04 +00:00
dvossel cfdf82e368 fixes memory leak in func_audiohookinherit.c
(closes issue #15394)
Reported by: boroda
Patches:
      bug15394_memoryleak_diff2.txt uploaded by dbrooks (license 790)
Tested by: dbrooks, boroda



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228268 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-06 15:04:24 +00:00