dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

16507 Commits

Author SHA1 Message Date
mmichelson 234f067c8c Merged revisions 148912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r148912 | mmichelson | 2008-10-14 12:33:38 -0500 (Tue, 14 Oct 2008) | 9 lines

Deadlock prevention in chan_local.

(closes issue #13676)
Reported by: tacvbo
Patches:
      13676.patch uploaded by putnopvut (license 60)
Tested by: tacvbo


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148913 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 17:38:06 +00:00
tilghman 420a6cb303 API differences in spandsp 0.0.6pre1 and higher
(closes issue #13688)
 Reported by: irroot
 Patches: 
       app_fax-span6.patch uploaded by irroot (license 52) with minor modifications by me


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148868 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 15:15:45 +00:00
file 2701ec4e3e Fix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump the reference count up before we add it to the scheduler, duh.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148867 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 15:00:41 +00:00
dbailey 3baf1b8eb1 Allow MWI registration for all configured lines.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148825 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 14:18:46 +00:00
kpfleming fa6386a333 fix some references to the owner of a private structure that may not be present
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148754 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 11:31:40 +00:00
kpfleming 1a25e06e1f Merged revisions 148736 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r148736 | kpfleming | 2008-10-14 12:30:54 +0200 (Tue, 14 Oct 2008) | 3 lines
  
  on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols when -x is supplied; since the reasons why -x is being passed are lost in the mists of time, remove it so debugging will work properly
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 10:33:14 +00:00
kpfleming 98ad66bdb1 this structure should be static
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148737 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 10:32:01 +00:00
kpfleming 750234f869 ensure that *all* fields in the req structure are cleared out before reusing it; has_to_tag was not cleared, which caused the second incoming call over a TCP socket to fail if pedantic checking was enabled
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148695 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 09:31:50 +00:00
oej 4b14dc517a Adding some clarifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148679 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 09:16:59 +00:00
kpfleming a6f0ff9299 Merged revisions 148611 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r148611 | kpfleming | 2008-10-14 02:54:41 -0500 (Tue, 14 Oct 2008) | 3 lines
  
  it would be nice if this message printing code had actually been tested before it was committed...
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148612 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 08:06:45 +00:00
tilghman 4d59ca2641 Merge realtime_update2 branch, which adds a new realtime API call named
'update2', which permits updates which match across multiple columns, instead
of requiring all tables to have a single unique identifier.  All of the other
API calls with the exception of 'update' already had the ability to match on
multiple fields, so it was a missing and very desireable feature that an API
call implementing an update should have this, too.

This does not change any outward performance of Asterisk, but it should make
life easier for application developers who use the RealTime framework.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148570 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 00:08:52 +00:00
murf 1078121ae0 Hmmm. Nobody (but me) is interested in seeing
the trie info when they do 'dialplan show ...'
(even with debug set to non-zero); so I set up a 
   'dialplan debug [context]' cli command instead, 
to explicitly show just the trie info.  I even
added an extension_exists() call to make sure the
trie info is built. I moved the explanatory header
to above the extension loop to ensure it only prints
once. And it will do this now, whether debug is set
or not.

I removed the trie printing from the 'dialplan show' 
command entirely. 



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148519 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-13 17:14:38 +00:00
oej 17b710fc14 - Doxygen formatting. (tss tss)
- Fixing language


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148474 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-13 15:56:33 +00:00
oej b8439e4fb9 Highlightning even more bugs in the current tcp/tls implementation.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148473 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-13 15:49:01 +00:00
oej a65cf386c5 Sending a 403 after a 200 is considered very bad.
(found at SIPit)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148471 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-13 15:32:55 +00:00
mvanbaak 2c9b857bdf fix the 'agi show commands' CLI function.
(closes issue #13666)
Reported by: eliel
Patches: 
      res_agi.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148425 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-12 09:19:23 +00:00
mmichelson decc731dfb The logic used when checking a peer got changed subtly
in the "kill the user" commit and caused calls relying
on the insecure setting to not work properly. I changed
for finding a peer back to how it was prior to that 
commit.

(closes issue #13644)
Reported by: pj
Patches:
      13644_trunkv2.patch uploaded by putnopvut (license 60)
Tested by: pj



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148376 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10 21:21:45 +00:00
mmichelson 3f18437fdc Make sure that the inUse and inRinging fields for
a sip peer cannot go below zero. This is a regression
from 1.4 and so it will be applied to 1.6.0 as well.

(closes issue #13668)
Reported by: mjc



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148373 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10 21:18:10 +00:00
tilghman 87de25bea9 Reset continuation items at the beginning of each context (suggested by
kpfleming).


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148329 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10 18:59:58 +00:00
tilghman 0865c8f921 Add keyword "same", which allows you to create multiple steps in a dialplan,
without needing to respecify an extension pattern multiple times.
(closes issue #13632)
 Reported by: blitzrage
 Patches: 
       20081006__bug13632.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage, Corydon76


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148325 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10 18:31:38 +00:00
tilghman ec24a1e557 Merged revisions 148257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r148257 | tilghman | 2008-10-10 11:25:31 -0500 (Fri, 10 Oct 2008) | 7 lines
  
  User not notified of temporary greeting, if ODBC storage is in use.
  (closes issue #13659)
   Reported by: moliveras
   Patches: 
         20081009__bug13659.diff.txt uploaded by Corydon76 (license 14)
   Tested by: moliveras
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148268 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10 16:31:31 +00:00
seanbright 246755e0d4 Don't include logger.h in asterisk.h by default as it is causing problems building
app_voicemail.  Instead, include it where it is needed.  This turned out to be a
relatively minor issue because other headers include logger.h as well.

Need to test -addons before merging this back to 1.6.0.

(closes issue #13605)
Reported by: tomo1657
Patches: 
      13605_seanbright.diff uploaded by seanbright (license 71)
Tested by: mmichelson


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148200 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10 00:42:13 +00:00
mmichelson 5d95332ae8 The priority was unnecessary for the manager atxfer, so it has
been removed. Furthermore, now we actually use the Context argument
passed to set the transfer context and don't error out if no
context is specified.

This addresses the actual problems outlined in issue 12158. Regarding
the other points brought up, regarding the inability to not transfer
to extensions which cannot be represented by DTMF, it is not enough of
a constraint that it is worth attempting to rework the feature.

(closes issue #12158)
Reported by: davidw



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148160 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 23:54:59 +00:00
mmichelson 865f95df1b Read the callerid in the correct order and make sure to
read the Urgent flag value from the IMAP headers.

(closes issue #13652)
Reported by: jaroth
Patches:
      imapheaders.patch uploaded by jaroth (license 50)




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148144 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 23:30:47 +00:00
tilghman 27088848fa Fix example schema
(closes issue #12860)
 Reported by: flyn
 Patches: 
       res_ldap.conf.patch uploaded by flyn (license 503)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148120 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 23:25:53 +00:00
mmichelson 4032641d38 Merged revisions 146026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r146026 | murf | 2008-10-03 12:12:54 -0500 (Fri, 03 Oct 2008) | 18 lines

(closes issue #13579)
Reported by: dwagner

(closes issue #13584)
Reported by: dwagner
Tested by: murf, putnopvut

The thought occurred to me that the res= from the extension spawn
was ending up being returned from the bridge.

"Thou shalt not poison the return value". Made the change
and it appears to allow blind xfers to work as normal.

If I'm wrong, reopen the bugs. But it looks good to me!

Many thanks to putnopvut for helping me reproduce this!


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148112 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 23:15:33 +00:00
tilghman 768c0284e3 Reverting format addition for now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148071 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 21:47:02 +00:00
tilghman 5e8a0a0fb0 Fudges for wav16, just like wav49
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148070 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 21:37:23 +00:00
tilghman 6c6f5ca2e4 Add native 16kHz format for wav file format.
(Closes issue #13657)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148069 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 21:36:01 +00:00
tilghman a8b454a7cb Publish MOH files in sln16 format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148010 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 20:00:46 +00:00
tilghman 387b32481c Merged revisions 147997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r147997 | tilghman | 2008-10-09 14:38:33 -0500 (Thu, 09 Oct 2008) | 4 lines
  
  When blank, callerid name and number should display "unknown caller" in voicemail
  emails.
  (Closes issue #13643)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148000 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 19:39:34 +00:00
jpeeler 6696957139 (closes issue #13139)
Reported by: krisk84
Tested by: krisk84

This change prevents a call that is placed in the parkinglot to be picked up before the PBX is finished. If another extension dials the parking extension before the PBX thread has completed at minimum warnings will occur about the PBX not properly being terminated. At worst, a crash could occur.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147952 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 19:27:32 +00:00
jpeeler b7a60da136 Blocked revisions 147941 via svnmerge
........
r147941 | jpeeler | 2008-10-09 13:56:00 -0500 (Thu, 09 Oct 2008) | 6 lines

(closes issue #13139)
Reported by: krisk84
Tested by: krisk84

This change prevents a call that is placed in the parkinglot to be picked up before the PBX is finished. If another extension dials the parking extension before the PBX thread has completed at minimum warnings will occur about the PBX not properly being terminated. At worse, a crash could occur.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147942 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 18:57:05 +00:00
mvanbaak c502494115 only include this for OpenBSD. At least FreeBSD is borked when including it
(closes issue #13649)
Reported by: ys


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147899 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 17:48:53 +00:00
tilghman db5239968d Remove "second form" of extensions, as it no longer applies. Also, cleanup
the grammar, formatting, and introduce several clarifications to the text.
(Closes issue #13654)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147896 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 17:46:15 +00:00
twilson 88cae64b08 Make phoneprov case-insensitive to remove the func_strings dependency of the default config
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147854 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 17:04:11 +00:00
mvanbaak 02af335400 fix some CLI commands we borked during devcon2008
Thanks rmudget for letting me know and providing hints on how to fix it best.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147853 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 17:01:24 +00:00
murf 6499c3c6d4 (closes issue #13557)
Reported by: nickpeirson
Patches:
      pbx.c.patch uploaded by nickpeirson (license 579)
      replace_bzero+bcopy.patch uploaded by nickpeirson (license 579)
Tested by: nickpeirson, murf

1. replaced all refs to bzero and bcopy to memset and memmove instead.
2. added a note to the CODING-GUIDELINES
3. add two macros to asterisk.h to prevent bzero, bcopy from creeping
   back into the source
4. removed bzero from configure, configure.ac, autoconfig.h.in




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147807 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 14:17:33 +00:00
file b39286b4c3 *whistle*
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147761 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 01:43:07 +00:00
file a941d9aee1 Add support for subscribing to a voice mailbox on a remote SIP server and making the new/old message count available to local devices. (issue #AST-77)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147760 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 01:40:49 +00:00
mmichelson a8b24b1449 Some small tweaks regarding realtime conference announcements.
(closes issue #13522)
Reported by: DEA
Patches:
      meetme-rt-fixes.txt uploaded by DEA (license 3)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147714 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 22:32:37 +00:00
kpfleming 68c5ea6ef6 Merged revisions 147681 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r147681 | kpfleming | 2008-10-08 17:22:09 -0500 (Wed, 08 Oct 2008) | 3 lines
  
  when parsing a text configuration option, ensure that the buffer on the stack is actually large enough to hold the legal values of that option, and also ensure that sscanf() knows to stop parsing if it would overrun the buffer (without these changes, specifying "buffers=...,immediate" would overflow the buffer on the stack, and could not have worked as expected)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147689 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 22:26:55 +00:00
seanbright 52ad2ef59e Add some examples of IMAP accounts.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147635 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 20:07:06 +00:00
tilghman df67063efc Correct a typo in the help; also, ensure that the date and time are correctly
set, if not specified in the message.
(Closes issue #13594, closes issue #13595)
Reported by: alecdavis
 Patches: 
       20081001__bug13595.diff.txt uploaded by Corydon76 (license 14)
 Tested by: alecdavis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147592 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 19:08:32 +00:00
file c407ae1a7d Merged revisions 147517 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r147517 | file | 2008-10-08 11:51:42 -0300 (Wed, 08 Oct 2008) | 2 lines
  
  If we receive DTMF make sure that the state of the speech structure goes back to being not ready. (issue #LUMENVOX-8)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147518 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 14:53:51 +00:00
snuffy 87d3a59348 Adjust commented default trunkmtu value to match documentation above it
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147476 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 12:28:43 +00:00
seanbright fffaf0b978 Keep up with shadow warnings. One day I'll actually enable this in the Makefile.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147457 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 12:15:06 +00:00
seanbright 84fde73d78 When echoing our copies, strip off ASTTOPDIR from the front of the source file.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147456 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08 12:07:19 +00:00
seanbright 146f94185f Move the DAHDI-to-DAHDI operator mode check from app_dial into chan_dahdi
so we don't have to hardcode anything.

(closes issue #13636)
Reported by: seanbright
Patches:
      13636.diff uploaded by seanbright (license 71)
Reviewed by: russellb, putnopvut


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147388 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-07 21:34:44 +00:00
mvanbaak ed8f9a8684 Make format_vorbis_ogg compile on OpenBSD
(closes issue #13639)
Reported by: mvanbaak
Patches:
      2008100700_oggsupportOBSD.diff.txt uploaded by mvanbaak (license 7)
      2008100700_oggsupportOBSD-configurescript.diff.txt uploaded by mvanbaak (license 7)
Tested by: mvanbaak


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147347 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-07 20:15:27 +00:00