asterisk/asterisk.git
11 years agothis structure should be static
Kevin P. Fleming [Tue, 14 Oct 2008 10:32:01 +0000 (10:32 +0000)]
this structure should be static

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

11 years agoensure that *all* fields in the req structure are cleared out before reusing it;...
Kevin P. Fleming [Tue, 14 Oct 2008 09:31:50 +0000 (09:31 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148695 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding some clarifications
Olle Johansson [Tue, 14 Oct 2008 09:16:59 +0000 (09:16 +0000)]
Adding some clarifications

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

11 years agoMerged revisions 148611 via svnmerge from
Kevin P. Fleming [Tue, 14 Oct 2008 08:06:45 +0000 (08:06 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerge realtime_update2 branch, which adds a new realtime API call named
Tilghman Lesher [Tue, 14 Oct 2008 00:08:52 +0000 (00:08 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148570 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoHmmm. Nobody (but me) is interested in seeing
Steve Murphy [Mon, 13 Oct 2008 17:14:38 +0000 (17:14 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148519 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago- Doxygen formatting. (tss tss)
Olle Johansson [Mon, 13 Oct 2008 15:56:33 +0000 (15:56 +0000)]
- Doxygen formatting. (tss tss)
- Fixing language

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

11 years agoHighlightning even more bugs in the current tcp/tls implementation.
Olle Johansson [Mon, 13 Oct 2008 15:49:01 +0000 (15:49 +0000)]
Highlightning even more bugs in the current tcp/tls implementation.

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

11 years agoSending a 403 after a 200 is considered very bad.
Olle Johansson [Mon, 13 Oct 2008 15:32:55 +0000 (15:32 +0000)]
Sending a 403 after a 200 is considered very bad.

(found at SIPit)

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

11 years agofix the 'agi show commands' CLI function.
Michiel van Baak [Sun, 12 Oct 2008 09:19:23 +0000 (09:19 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148425 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoThe logic used when checking a peer got changed subtly
Mark Michelson [Fri, 10 Oct 2008 21:21:45 +0000 (21:21 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148376 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake sure that the inUse and inRinging fields for
Mark Michelson [Fri, 10 Oct 2008 21:18:10 +0000 (21:18 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148373 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoReset continuation items at the beginning of each context (suggested by
Tilghman Lesher [Fri, 10 Oct 2008 18:59:58 +0000 (18:59 +0000)]
Reset continuation items at the beginning of each context (suggested by
kpfleming).

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

11 years agoAdd keyword "same", which allows you to create multiple steps in a dialplan,
Tilghman Lesher [Fri, 10 Oct 2008 18:31:38 +0000 (18:31 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148325 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 148257 via svnmerge from
Tilghman Lesher [Fri, 10 Oct 2008 16:31:31 +0000 (16:31 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148268 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoDon't include logger.h in asterisk.h by default as it is causing problems building
Sean Bright [Fri, 10 Oct 2008 00:42:13 +0000 (00:42 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148200 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoThe priority was unnecessary for the manager atxfer, so it has
Mark Michelson [Thu, 9 Oct 2008 23:54:59 +0000 (23:54 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148160 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoRead the callerid in the correct order and make sure to
Mark Michelson [Thu, 9 Oct 2008 23:30:47 +0000 (23:30 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148144 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix example schema
Tilghman Lesher [Thu, 9 Oct 2008 23:25:53 +0000 (23:25 +0000)]
Fix example schema
(closes issue #12860)
 Reported by: flyn
 Patches:
       res_ldap.conf.patch uploaded by flyn (license 503)

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

11 years agoMerged revisions 146026 via svnmerge from
Mark Michelson [Thu, 9 Oct 2008 23:15:33 +0000 (23:15 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148112 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoReverting format addition for now
Tilghman Lesher [Thu, 9 Oct 2008 21:47:02 +0000 (21:47 +0000)]
Reverting format addition for now

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

11 years agoFudges for wav16, just like wav49
Tilghman Lesher [Thu, 9 Oct 2008 21:37:23 +0000 (21:37 +0000)]
Fudges for wav16, just like wav49

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

11 years agoAdd native 16kHz format for wav file format.
Tilghman Lesher [Thu, 9 Oct 2008 21:36:01 +0000 (21:36 +0000)]
Add native 16kHz format for wav file format.
(Closes issue #13657)

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

11 years agoPublish MOH files in sln16 format
Tilghman Lesher [Thu, 9 Oct 2008 20:00:46 +0000 (20:00 +0000)]
Publish MOH files in sln16 format

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

11 years agoMerged revisions 147997 via svnmerge from
Tilghman Lesher [Thu, 9 Oct 2008 19:39:34 +0000 (19:39 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@148000 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago(closes issue #13139)
Jeff Peeler [Thu, 9 Oct 2008 19:27:32 +0000 (19:27 +0000)]
(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: https://origsvn.digium.com/svn/asterisk/trunk@147952 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBlocked revisions 147941 via svnmerge
Jeff Peeler [Thu, 9 Oct 2008 18:57:05 +0000 (18:57 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147942 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoonly include this for OpenBSD. At least FreeBSD is borked when including it
Michiel van Baak [Thu, 9 Oct 2008 17:48:53 +0000 (17:48 +0000)]
only include this for OpenBSD. At least FreeBSD is borked when including it

(closes issue #13649)
Reported by: ys

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

11 years agoRemove "second form" of extensions, as it no longer applies. Also, cleanup
Tilghman Lesher [Thu, 9 Oct 2008 17:46:15 +0000 (17:46 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake phoneprov case-insensitive to remove the func_strings dependency of the default...
Terry Wilson [Thu, 9 Oct 2008 17:04:11 +0000 (17:04 +0000)]
Make phoneprov case-insensitive to remove the func_strings dependency of the default config

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

11 years agofix some CLI commands we borked during devcon2008
Michiel van Baak [Thu, 9 Oct 2008 17:01:24 +0000 (17:01 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147853 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago(closes issue #13557)
Steve Murphy [Thu, 9 Oct 2008 14:17:33 +0000 (14:17 +0000)]
(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: https://origsvn.digium.com/svn/asterisk/trunk@147807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago*whistle*
Joshua Colp [Thu, 9 Oct 2008 01:43:07 +0000 (01:43 +0000)]
*whistle*

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

11 years agoAdd support for subscribing to a voice mailbox on a remote SIP server and making...
Joshua Colp [Thu, 9 Oct 2008 01:40:49 +0000 (01:40 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147760 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoSome small tweaks regarding realtime conference announcements.
Mark Michelson [Wed, 8 Oct 2008 22:32:37 +0000 (22:32 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147714 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 147681 via svnmerge from
Kevin P. Fleming [Wed, 8 Oct 2008 22:26:55 +0000 (22:26 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147689 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd some examples of IMAP accounts.
Sean Bright [Wed, 8 Oct 2008 20:07:06 +0000 (20:07 +0000)]
Add some examples of IMAP accounts.

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

11 years agoCorrect a typo in the help; also, ensure that the date and time are correctly
Tilghman Lesher [Wed, 8 Oct 2008 19:08:32 +0000 (19:08 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 147517 via svnmerge from
Joshua Colp [Wed, 8 Oct 2008 14:53:51 +0000 (14:53 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147518 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdjust commented default trunkmtu value to match documentation above it
Bradley Latus [Wed, 8 Oct 2008 12:28:43 +0000 (12:28 +0000)]
Adjust commented default trunkmtu value to match documentation above it

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

11 years agoKeep up with shadow warnings. One day I'll actually enable this in the Makefile.
Sean Bright [Wed, 8 Oct 2008 12:15:06 +0000 (12:15 +0000)]
Keep up with shadow warnings.  One day I'll actually enable this in the Makefile.

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

11 years agoWhen echoing our copies, strip off ASTTOPDIR from the front of the source file.
Sean Bright [Wed, 8 Oct 2008 12:07:19 +0000 (12:07 +0000)]
When echoing our copies, strip off ASTTOPDIR from the front of the source file.

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

11 years agoMove the DAHDI-to-DAHDI operator mode check from app_dial into chan_dahdi
Sean Bright [Tue, 7 Oct 2008 21:34:44 +0000 (21:34 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147388 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake format_vorbis_ogg compile on OpenBSD
Michiel van Baak [Tue, 7 Oct 2008 20:15:27 +0000 (20:15 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@147347 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agomake this work on OpenBSD
Michiel van Baak [Tue, 7 Oct 2008 19:26:09 +0000 (19:26 +0000)]
make this work on OpenBSD

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

11 years agoMake sure the configs on OpenBSD are in /etc/asterisk by default
Michiel van Baak [Tue, 7 Oct 2008 18:53:34 +0000 (18:53 +0000)]
Make sure the configs on OpenBSD are in /etc/asterisk by default

(closes issue #13641)
Reported by: jtodd

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

11 years agouse pkill instead of killall to be more portable
Michiel van Baak [Tue, 7 Oct 2008 18:00:48 +0000 (18:00 +0000)]
use pkill instead of killall to be more portable

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

11 years agoThis was flawed. The issue that I was trying to address was addressed by
Sean Bright [Tue, 7 Oct 2008 18:00:14 +0000 (18:00 +0000)]
This was flawed.  The issue that I was trying to address was addressed by
adding the imapsecret alias for imappassword.  Will rethink this one and
give it another shot on a rainy day TBD.

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

11 years agofix wording as pointed out by Corydon
Michiel van Baak [Tue, 7 Oct 2008 17:49:23 +0000 (17:49 +0000)]
fix wording as pointed out by Corydon

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

11 years agoAllow people to select the old console behavior of white text on a black
Tilghman Lesher [Tue, 7 Oct 2008 17:44:32 +0000 (17:44 +0000)]
Allow people to select the old console behavior of white text on a black
background, by using the startup flag '-B'.

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

11 years agoMerged revisions 147193 via svnmerge from
Sean Bright [Tue, 7 Oct 2008 16:52:02 +0000 (16:52 +0000)]
Merged revisions 147193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r147193 | seanbright | 2008-10-07 12:48:30 -0400 (Tue, 07 Oct 2008) | 2 lines

Make 'imapsecret' an alias to 'imappassword' in voicemail.conf.

........

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

11 years agoOr not.
Sean Bright [Tue, 7 Oct 2008 16:44:00 +0000 (16:44 +0000)]
Or not.

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

11 years agoThere was a boo-boo in TFOT that is causing some confusion on the mailing lists
Sean Bright [Tue, 7 Oct 2008 16:40:24 +0000 (16:40 +0000)]
There was a boo-boo in TFOT that is causing some confusion on the mailing lists
so include 'imapsecret' as an alias to 'imappassword' (and print a little notice
nudging users toward the right option name).

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

11 years agoExplicitly setting these fields to NULL was done because I wasn't sure if they would...
Jeff Peeler [Tue, 7 Oct 2008 16:04:45 +0000 (16:04 +0000)]
Explicitly setting these fields to NULL was done because I wasn't sure if they would be NULL otherwise. Since they will be set automatically, removing.

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

11 years agoIf we encounter something in mailbox options that we don't grok, then
Sean Bright [Tue, 7 Oct 2008 14:59:33 +0000 (14:59 +0000)]
If we encounter something in mailbox options that we don't grok, then
spit out a warning instead of just silently ignoring it.

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

11 years agoMake sure to compare the correct number of characters when special-casing
Sean Bright [Tue, 7 Oct 2008 12:01:36 +0000 (12:01 +0000)]
Make sure to compare the correct number of characters when special-casing
our DAHDI operator mode stuff.  Technically, it would work fine, as 'DAH'
is currently unique amongst our channel technologies, but as Jared points
out:

  <@jsmith> Sure... as long as the technology starts whith DAH.... but
            it could be DAHDOO!

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

11 years agoIndependent change from branch issue8824 that is not part of COLP. (-r142574 rmudgett)
Richard Mudgett [Tue, 7 Oct 2008 02:02:39 +0000 (02:02 +0000)]
Independent change from branch issue8824 that is not part of COLP. (-r142574 rmudgett)

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

11 years agoA blind transfer to the parking thread would cause a segfault because copy_request...
Terry Wilson [Tue, 7 Oct 2008 00:02:19 +0000 (00:02 +0000)]
A blind transfer to the parking thread would cause a segfault because copy_request accesses dst->data w/o being able to tell whether it is proerly initialized

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

11 years agoUpdate documentation; AST_THREADSTORAGE() in trunk only takes a single
Tilghman Lesher [Mon, 6 Oct 2008 23:21:02 +0000 (23:21 +0000)]
Update documentation; AST_THREADSTORAGE() in trunk only takes a single
argument.

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

11 years agoAll ODBC parts can now use either unixodbc or iodbc.
Michiel van Baak [Mon, 6 Oct 2008 23:14:33 +0000 (23:14 +0000)]
All ODBC parts can now use either unixodbc or iodbc.
This allows for the ODBC parts to work on OpenBSD as well.

99.99% of the work is done by seanbright (bow, bow) and I actually
did nothing but test and yell at him that it still didn't work :)

Thanks for helping out !

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

11 years agoSimilar to r143204, masquerade the channel in the case of Park being called from...
Jeff Peeler [Mon, 6 Oct 2008 23:08:21 +0000 (23:08 +0000)]
Similar to r143204, masquerade the channel in the case of Park being called from AGI.

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

11 years agoMvanbaak said this was needed to compile on OpenBSD, so put it in the OpenBSD section.
Jeff Peeler [Mon, 6 Oct 2008 22:59:58 +0000 (22:59 +0000)]
Mvanbaak said this was needed to compile on OpenBSD, so put it in the OpenBSD section.

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

11 years agoThis commit squashes together three commits because the wrong approach was originally...
Jeff Peeler [Mon, 6 Oct 2008 22:26:25 +0000 (22:26 +0000)]
This commit squashes together three commits because the wrong approach was originally used. (One of the commits was only one line.)

1) r143204:
The main change here was to masquerade the channel if the channel that was to be parked was running a PBX on it. The PBX thread can then maintain full control of the channel (the zombie) as it expects to while allowing the parking thread full control of the real (parked) channel.

2) r143270:
Changed park_call_full to hold the parkinglot lock a little longer, which protects the parkeduser struct from being freed out from underneath. Made sure that the parking extension is added to the parking context while holding the lock thereby ensuring that there are no spurious warnings from removal attempts when a hangup occurs while the parking lot is being announced.

3) r143475: (the one liner)
compare peer and chan instead of looking at the parked user (pu), which could have possibly already have been freed by the parking thread

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

11 years agofix some comment placement
Jeff Peeler [Mon, 6 Oct 2008 22:08:40 +0000 (22:08 +0000)]
fix some comment placement

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

11 years agoExplicitly set args in park_call_exec NULL so in the case of no options being passed...
Jeff Peeler [Mon, 6 Oct 2008 22:03:01 +0000 (22:03 +0000)]
Explicitly set args in park_call_exec NULL so in the case of no options being passed in, there
 is no garbage attempted to be used. Also, do not set args to unknown value again if there are
 no options passed in.

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

11 years agomake aescrypt.c compile on OpenBSD again
Michiel van Baak [Mon, 6 Oct 2008 21:18:13 +0000 (21:18 +0000)]
make aescrypt.c compile on OpenBSD again

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

11 years agoMerged revisions 146799 via svnmerge from
Tilghman Lesher [Mon, 6 Oct 2008 21:09:05 +0000 (21:09 +0000)]
Merged revisions 146799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r146799 | tilghman | 2008-10-06 15:52:04 -0500 (Mon, 06 Oct 2008) | 8 lines

  Dialplan functions should not actually return 0, unless they have modified the
  workspace.  To signal an error (and no change to the workspace), -1 should be
  returned instead.
  (closes issue #13340)
   Reported by: kryptolus
   Patches:
         20080827__bug13340__2.diff.txt uploaded by Corydon76 (license 14)
........

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

11 years agoPretty-print a couple configure options
Sean Bright [Mon, 6 Oct 2008 17:32:02 +0000 (17:32 +0000)]
Pretty-print a couple configure options

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

11 years agoMerged revisions 146711 via svnmerge from
Tilghman Lesher [Mon, 6 Oct 2008 16:52:14 +0000 (16:52 +0000)]
Merged revisions 146711 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r146711 | tilghman | 2008-10-06 11:51:21 -0500 (Mon, 06 Oct 2008) | 9 lines

  Check whether an extension exists in the _call method, rather than the _alloc
  method, because we need to evaluate the callerid (since that data affects
  whether an extension exists).
  (closes issue #13343)
   Reported by: efutch
   Patches:
         20080915__bug13343.diff.txt uploaded by Corydon76 (license 14)
   Tested by: efutch
........

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

11 years agoMerged revisions 146643 via svnmerge from
Kevin P. Fleming [Mon, 6 Oct 2008 16:03:37 +0000 (16:03 +0000)]
Merged revisions 146643 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r146643 | kpfleming | 2008-10-06 10:57:49 -0500 (Mon, 06 Oct 2008) | 8 lines

  ensure that the private structure for pseudo channels is created without 'leaking' configuration data from other configured channels

  (closes issue #13555)
  Reported by: jeffg
  Patches:
        issue_13555.patch uploaded by kpfleming (license 421)
  Tested by: jeffg
........

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

11 years agoThis commit introduces a change to how the "joinempty"
Mark Michelson [Mon, 6 Oct 2008 15:29:56 +0000 (15:29 +0000)]
This commit introduces a change to how the "joinempty"
and "leavewhenempty" options are configured in queues.conf.

Instead of using vague terms like "yes," "no," "loose," and
"strict," we now accept a comma-separated list of values
to determine when to consider a member available.

Extended details can be found in the queues.conf.sample
file. Note also that the above four referenced values are
still accepted for backwards-compatibility, but are mapped
internally to the new method of representing the option.

AST-105

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

11 years agoMake NOISY_BUILD work for the calls to cp in utils/Makefile
Sean Bright [Mon, 6 Oct 2008 00:36:37 +0000 (00:36 +0000)]
Make NOISY_BUILD work for the calls to cp in utils/Makefile

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

11 years agoQuote arguments to cp so we can handle spaces in our paths.
Sean Bright [Mon, 6 Oct 2008 00:21:49 +0000 (00:21 +0000)]
Quote arguments to cp so we can handle spaces in our paths.

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

11 years agoMake this build on my mac.
Russell Bryant [Sun, 5 Oct 2008 22:11:30 +0000 (22:11 +0000)]
Make this build on my mac.

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

11 years agoRecorded merge of revisions 146448 via svnmerge from
Jason Parker [Sun, 5 Oct 2008 21:21:03 +0000 (21:21 +0000)]
Recorded merge of revisions 146448 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r146448 | qwell | 2008-10-05 16:17:44 -0500 (Sun, 05 Oct 2008) | 1 line

  Fix silly formatting.
........

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

11 years agoThis is far from optimal, but I just found a FreeBSD system without
Sean Bright [Sun, 5 Oct 2008 01:59:14 +0000 (01:59 +0000)]
This is far from optimal, but I just found a FreeBSD system without
md5 installed on it.  So look around for all of the different binaries
that we could possibly use.  I'd wager this gets completely replaced
by someone else in less than 24 hours... :)

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

11 years agoFix a bug with the last item in CLI history getting duplicated when
Sean Bright [Sat, 4 Oct 2008 16:20:31 +0000 (16:20 +0000)]
Fix a bug with the last item in CLI history getting duplicated when
read from the .asterisk_history file (and subsequently being duplicated
when written).  We weren't checking the result of fgets() which meant
that we read the same line twice before feof() actually returned non-
zero.

Also, stop writing out an extra blank line between each item in the
history file, fix a minor off-by-one error, and use symbolic constants
rather than a hardcoded integer.

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

11 years agoAdd ability to remotely reboot snom phones. Also cleaned up and
Sean Bright [Sat, 4 Oct 2008 01:54:44 +0000 (01:54 +0000)]
Add ability to remotely reboot snom phones.  Also cleaned up and
reorganized sip_notify.conf.sample a bit as well.  Tested snom
reboot on snom 360 and verified snom-check-cfg worked as well.

(closes issue #13601)
Reported by: mjc
Tested by: seanbright

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

11 years agoBlocked revisions 146244 via svnmerge
Sean Bright [Fri, 3 Oct 2008 22:54:57 +0000 (22:54 +0000)]
Blocked revisions 146244 via svnmerge

........
r146244 | seanbright | 2008-10-03 18:51:22 -0400 (Fri, 03 Oct 2008) | 6 lines

Change some preprocessor macros to struct definitions so that we get
app_rpt to build with DAHDI.

(closes issue #13576)
Reported by: blitzrage

........

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

11 years agoremove superfluous reference counting operations in manage_parkinglot since ao2_inter...
Jeff Peeler [Fri, 3 Oct 2008 22:40:59 +0000 (22:40 +0000)]
remove superfluous reference counting operations in manage_parkinglot since ao2_interator_next increments the ref count automatically

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

11 years agoResolve a subtle bug where we would never successfully be able to get
Sean Bright [Fri, 3 Oct 2008 22:10:18 +0000 (22:10 +0000)]
Resolve a subtle bug where we would never successfully be able to get
the first item in the CLI entry list.  This was preventing '!' from
showing up in either 'help' or in tab completion.

(closes issue #13578)
Reported by: mvanbaak

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

11 years agoBlocked revisions 146129 via svnmerge
Jeff Peeler [Fri, 3 Oct 2008 20:49:17 +0000 (20:49 +0000)]
Blocked revisions 146129 via svnmerge

........
r146129 | jpeeler | 2008-10-03 15:44:22 -0500 (Fri, 03 Oct 2008) | 7 lines

(closes issue #13425)
Reported by: mdu113
Tested by: mdu113

Similar to r143204, masquerade the channel in the case of Park being called from AGI.

........

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

11 years agodocument meetme schedule changes (related to issue #11040)
Tilghman Lesher [Fri, 3 Oct 2008 18:30:39 +0000 (18:30 +0000)]
document meetme schedule changes (related to issue #11040)

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

11 years agoput a note in CHANGES about the cli_cleanup done during AstriDevCon
Michiel van Baak [Fri, 3 Oct 2008 17:36:30 +0000 (17:36 +0000)]
put a note in CHANGES about the cli_cleanup done during AstriDevCon

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

11 years agoThe dialing API should inherit datastores as well as variables
Terry Wilson [Fri, 3 Oct 2008 17:35:37 +0000 (17:35 +0000)]
The dialing API should inherit datastores as well as variables

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

11 years agoThe 'P' command for ExternalIVR was also added in 1.6.0
Russell Bryant [Thu, 2 Oct 2008 19:30:45 +0000 (19:30 +0000)]
The 'P' command for ExternalIVR was also added in 1.6.0

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

11 years agoTCP support for ExternalIVR went in to 1.6.1, not 1.6.0
Russell Bryant [Thu, 2 Oct 2008 19:27:37 +0000 (19:27 +0000)]
TCP support for ExternalIVR went in to 1.6.1, not 1.6.0

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

11 years agofix the 'meetme list', 'meetme list concise', 'meetme list $confno' and 'meetme list...
Michiel van Baak [Thu, 2 Oct 2008 18:02:26 +0000 (18:02 +0000)]
fix the 'meetme list', 'meetme list concise', 'meetme list $confno' and 'meetme list $confno concise' CLI commands

(closes issue #13586)
Reported by: john8675309
Help and feedback from eliel, thanks!

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

11 years agoPermit the syntax and synopsis fields to be set (for func_odbc).
Tilghman Lesher [Thu, 2 Oct 2008 17:16:54 +0000 (17:16 +0000)]
Permit the syntax and synopsis fields to be set (for func_odbc).

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

11 years agomake this compile under devmode again
Michiel van Baak [Thu, 2 Oct 2008 16:42:30 +0000 (16:42 +0000)]
make this compile under devmode again

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

11 years agoBlocked revisions 145839 via svnmerge
Tilghman Lesher [Thu, 2 Oct 2008 16:40:32 +0000 (16:40 +0000)]
Blocked revisions 145839 via svnmerge

........
  r145839 | tilghman | 2008-10-02 11:39:56 -0500 (Thu, 02 Oct 2008) | 4 lines

  Backport support for some of the keyword modifications used in 1.6 (while warning that
  some options aren't really supported) and add some warning messages.  Some credit to
  oej, who was complaining in #asterisk-dev.
........

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

11 years agoThis is much cleaner, methinks.
Sean Bright [Thu, 2 Oct 2008 15:28:48 +0000 (15:28 +0000)]
This is much cleaner, methinks.

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

11 years agoMerged revisions 145751 via svnmerge from
Tilghman Lesher [Thu, 2 Oct 2008 15:17:16 +0000 (15:17 +0000)]
Merged revisions 145751 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r145751 | tilghman | 2008-10-02 10:13:21 -0500 (Thu, 02 Oct 2008) | 3 lines

  Some sanity checks that may have led to prior crashes, found by codefreeze-lap
  (murf) on IRC.  Also some cleanup of incorrectly-used constants.
........

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

11 years agoTry a test compile using the GMime library. Some distros install gmime-config
Sean Bright [Wed, 1 Oct 2008 23:48:16 +0000 (23:48 +0000)]
Try a test compile using the GMime library.  Some distros install gmime-config
in the base package instead of the -devel package.  Now we print a notice and
disable GMime support instead of bombing during the main compilation.

(closes issue #13583)
Reported by: arkadia

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

11 years agoAdd schedule extensions to app_meetme. In addition, the reporter found a
Tilghman Lesher [Wed, 1 Oct 2008 23:02:25 +0000 (23:02 +0000)]
Add schedule extensions to app_meetme.  In addition, the reporter found a
problem within strptime(3), which we are correcting here with ast_strptime().
(closes issue #11040)
 Reported by: DEA
 Patches:
       20080910__bug11040.diff.txt uploaded by Corydon76 (license 14)
 Tested by: DEA

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

11 years agoOkay, this should really do it now. While I did manage
Mark Michelson [Wed, 1 Oct 2008 22:23:50 +0000 (22:23 +0000)]
Okay, this should really do it now. While I did manage
to fix blind transfers with my last commit here, I also
caused an unwanted side-effect. That is, only the first
priority of the 'h' extension would be executed when
a blind transfer occurred instead of all priorities.

Essentially, my last commit corrected the return value
of ast_bridge_call. However, the implementation still
was not 100% correct. Now it is.

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

11 years agoif (!(x) == 0) is the same as
Mark Michelson [Wed, 1 Oct 2008 21:33:11 +0000 (21:33 +0000)]
if (!(x) == 0) is the same as
if (x).

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

11 years agoThe logic surrounding the return value of ast_spawn_extension
Mark Michelson [Wed, 1 Oct 2008 21:06:26 +0000 (21:06 +0000)]
The logic surrounding the return value of ast_spawn_extension
within ast_bridge_call was reversed.

This problem was observed when a blind transfer placed from
the callee channel of a test call failed.

While the problem I am solving here is exactly the same
as what was reported in issue #13584, the difference is
that this fix I am applying is trunk-only. Issue #13584
was reported against the 1.4 branch, and my tests
of 1.4's blind transfers appear to work fine.

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

11 years agoMerged revisions 145479 via svnmerge from
Leif Madsen [Wed, 1 Oct 2008 17:26:20 +0000 (17:26 +0000)]
Merged revisions 145479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r145479 | lmadsen | 2008-10-01 13:18:30 -0400 (Wed, 01 Oct 2008) | 6 lines

  Update the realtime_pgsql.sql script to create the setinterfacevar column.

  (closes issue #13549)
  Reported by: fiddur
........

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

11 years agoInitializing buffer prevents a segfault when arguments are incomplete.
Tilghman Lesher [Wed, 1 Oct 2008 15:44:06 +0000 (15:44 +0000)]
Initializing buffer prevents a segfault when arguments are incomplete.
(closes issue #13471)
 Reported by: alecdavis
 Patches:
       20080916__bug13471.diff.txt uploaded by Corydon76 (license 14)
 Tested by: alecdavis

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