Jason Parker [Thu, 14 Aug 2008 15:32:16 +0000 (15:32 +0000)]
Make sure we set the socket port, so we don't try to use <ip address>:0.
(closes issue #13255)
Reported by: falves11
Patches:
13255-socketport.diff uploaded by qwell (license 4)
Tested by: falves11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137812
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Thu, 14 Aug 2008 15:03:03 +0000 (15:03 +0000)]
If we detect that we are no longer connected, try to reconnect a few times
before giving up. This relies on the timeout settings in the freetds.conf
file and, unfortunately, on a recent version of FreeTDS (0.82 or newer).
I either need to change the current execs to be non-blocking (which I do
not want to do) or we have to force people to run with the latest and
greatest of FreeTDS. I'm on the fence...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137780
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 14 Aug 2008 14:15:50 +0000 (14:15 +0000)]
Merged revisions 137731 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r137731 | russell | 2008-08-14 09:05:23 -0500 (Thu, 14 Aug 2008) | 4 lines
Comments in this config file were aligned only if your tab size was set to 8.
So, convert tabs to spaces so that things should be aligned regardless of what
tab size you use in your editor.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137732
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 14 Aug 2008 02:03:47 +0000 (02:03 +0000)]
Merged revisions 137679 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r137679 | kpfleming | 2008-08-13 21:03:04 -0500 (Wed, 13 Aug 2008) | 1 line
forgot one module name that changed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137680
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 14 Aug 2008 02:02:37 +0000 (02:02 +0000)]
Blocked revisions 137677 via svnmerge
........
r137677 | kpfleming | 2008-08-13 21:02:15 -0500 (Wed, 13 Aug 2008) | 2 lines
add support for Zaptel versions that contain the new transcoder interface
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137678
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 13 Aug 2008 23:00:37 +0000 (23:00 +0000)]
make this script actually work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137640
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 13 Aug 2008 22:33:32 +0000 (22:33 +0000)]
Merged revisions 137530 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r137530 | kpfleming | 2008-08-13 15:46:19 -0500 (Wed, 13 Aug 2008) | 1 line
add document describing what users will need to be aware of when upgrading to this version and using DAHDI
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137627
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Wed, 13 Aug 2008 21:49:11 +0000 (21:49 +0000)]
Blocked revisions 137580 via svnmerge
........
r137580 | jpeeler | 2008-08-13 16:35:37 -0500 (Wed, 13 Aug 2008) | 3 lines
Register DAHDISendKeypadFacility application if dahdi_chan_mode is set to DAHDI + Zap. Mark ZapSendKeypadFacility application as deprecated on usage.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137582
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 13 Aug 2008 21:08:58 +0000 (21:08 +0000)]
Correctly end locally ended calls.
(closes issue #12170)
Reported by: pj
Patches:
20080702__issue12170_clear_pendinginvite.diff uploaded by bbryant (license 36)
Tested by: bbryant, pabelanger
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137532
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 13 Aug 2008 20:47:42 +0000 (20:47 +0000)]
Blocked revisions 137527,137529 via svnmerge
........
r137527 | kpfleming | 2008-08-13 15:33:47 -0500 (Wed, 13 Aug 2008) | 5 lines
document dahdichanname option in doc/asterisk-conf.txt
make chan_dahdi read its configuration from zapata.conf if dahdichanname has been set to 'no'
........
r137529 | kpfleming | 2008-08-13 15:42:33 -0500 (Wed, 13 Aug 2008) | 2 lines
remove some more chan_zap references
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137531
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 13 Aug 2008 20:05:50 +0000 (20:05 +0000)]
Add FAXMODE variable with what fax transport was used.
(closes issue #13252)
Patches:
v1-13252.patch uploaded by dimas (license 88)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137496
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 13 Aug 2008 17:36:15 +0000 (17:36 +0000)]
Convert deprecated routines to the new names.
(closes issue #13297)
Reported by: snuffy
Patches:
bug13297_20080814.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137456
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Wed, 13 Aug 2008 14:41:49 +0000 (14:41 +0000)]
Merged revisions 137405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r137405 | seanbright | 2008-08-13 10:33:49 -0400 (Wed, 13 Aug 2008) | 1 line
Update docs to reflect the change to cdr_tds
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137406
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Wed, 13 Aug 2008 14:22:47 +0000 (14:22 +0000)]
Use the ast_vasprintf macro instead of vasprintf directly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137403
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Wed, 13 Aug 2008 00:11:13 +0000 (00:11 +0000)]
Blocked revisions 137348 via svnmerge
........
r137348 | seanbright | 2008-08-12 20:10:35 -0400 (Tue, 12 Aug 2008) | 8 lines
Bring cdr_tds in line with the other CDR backends and have it try to store
CDR(userfield) if it is set. The new behavior is to check for the userfield
column on module load, and if it exists, we will store CDR(userfield) when
CDRs are written. A similar patch already went into trunk and 1.6.0.
(closes issue #13290)
Reported by: falves11
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137349
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 12 Aug 2008 19:48:38 +0000 (19:48 +0000)]
Grammar hax from Qwell
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137301
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 12 Aug 2008 19:40:35 +0000 (19:40 +0000)]
Note that developer documentation belongs in doxygen, and not integrated with
the user manual stuff in doc/tex/.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137299
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 11 Aug 2008 16:14:29 +0000 (16:14 +0000)]
Make PRINT_DIR work as advertised.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137239
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Mon, 11 Aug 2008 14:25:15 +0000 (14:25 +0000)]
Log the userfield CDR variable like the other CDR backends, assuming the
column is actually there. If it's not, we still log everything else as
before.
(closes issue #13281)
Reported by: falves11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137203
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 11 Aug 2008 00:25:28 +0000 (00:25 +0000)]
Merged revisions 137138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r137138 | tilghman | 2008-08-10 19:20:38 -0500 (Sun, 10 Aug 2008) | 5 lines
Deallocate database connection handle on disconnect, as we allocate another
one on connect.
(closes issue #13271)
Reported by: dveiga
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137150
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 10 Aug 2008 21:10:04 +0000 (21:10 +0000)]
Fix this again so we can compile with shadow warnings enabled and IMAP chosen
in voicemail.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137112
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 10 Aug 2008 20:57:25 +0000 (20:57 +0000)]
That's all, folks. Not going to update the Makefile until res_jabber is
converted (snuffy, you there? :))
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137110
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 10 Aug 2008 20:23:50 +0000 (20:23 +0000)]
Another batch of files from RSW. The remaining apps and a few more
files from main/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137089
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 10 Aug 2008 19:35:50 +0000 (19:35 +0000)]
Another big chunk of changes from the RSW branch. Bunch of stuff from main/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137082
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 10 Aug 2008 14:45:25 +0000 (14:45 +0000)]
More RSW merges. Everything from apps/ except for the big offenders
app_voicemail and app_queue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137055
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 10 Aug 2008 00:47:56 +0000 (00:47 +0000)]
All of the res/ stuff (other than res_jabber) from the RSW branch.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137028
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 9 Aug 2008 15:26:27 +0000 (15:26 +0000)]
Merged revisions 136946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r136946 | tilghman | 2008-08-09 10:25:36 -0500 (Sat, 09 Aug 2008) | 10 lines
Merged revisions 136945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r136945 | tilghman | 2008-08-09 10:24:36 -0500 (Sat, 09 Aug 2008) | 2 lines
Regression fixes for Solaris
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136947
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sat, 9 Aug 2008 14:12:34 +0000 (14:12 +0000)]
More RSW merges. This should do it for the channels/ dir.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136917
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sat, 9 Aug 2008 13:13:48 +0000 (13:13 +0000)]
Biggest offender? chan_dahdi.c! More RSW merging.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136890
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sat, 9 Aug 2008 12:53:57 +0000 (12:53 +0000)]
Merge more changes from the resolve-shadow-warnings branch (henceforth known
as RSW since i am too lazy to keep typing it all out). This time a few of
the channels.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136888
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 9 Aug 2008 01:15:38 +0000 (01:15 +0000)]
Update documentation as to the behavior of AGI in 1.6.0 and higher. Also, add
an OOB message that answers the question of, if AGI no longer shuts down the
connection on hangup, how will FastAGI know when to stop processing the call?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136859
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Fri, 8 Aug 2008 18:19:33 +0000 (18:19 +0000)]
Bring in the configure and makeopts jazz for -Wshadow, but don't add it to the
Makefile yet.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136819
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Dwayne M. Hubbard [Fri, 8 Aug 2008 15:58:38 +0000 (15:58 +0000)]
use ARRAY_LEN
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136787
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 8 Aug 2008 15:31:31 +0000 (15:31 +0000)]
Fix compilation for ODBC voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136784
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 8 Aug 2008 02:34:17 +0000 (02:34 +0000)]
Removing bad properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136751
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 8 Aug 2008 00:48:35 +0000 (00:48 +0000)]
Merged revisions 136726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r136726 | murf | 2008-08-07 18:15:34 -0600 (Thu, 07 Aug 2008) | 32 lines
(closes issue #13236)
Reported by: korihor
Wow, this one was a challenge!
I regrouped and ran a new strategy for
setting the ~~MACRO~~ value; I set it once
per extension, up near the top. It is only
set if there is a switch in the extension.
So, I had to put in a chunk of code to detect
a switch in the pval tree.
I moved the code to insert the set of ~~exten~~
up to the beginning of the gen_prios routine,
instead of down in the switch code.
I learned that I have to push the detection
of the switches down into the code, so everywhere
I create a new exten in gen_prios, I make sure
to pass onto it the values of the mother_exten
first, and the exten next.
I had to add a couple fields to the exten
struct to accomplish this, in the ael_structs.h
file. The checked field makes it so we don't
repeat the switch search if it's been done.
I also updated the regressions.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136746
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 7 Aug 2008 23:39:50 +0000 (23:39 +0000)]
Remove one last batch of debug messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136722
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 7 Aug 2008 23:38:08 +0000 (23:38 +0000)]
Fix build for non-IMAP storage and get rid of some
debug messages.
Thanks to eliel for alerting me.
No thanks to buildbot.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136720
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 7 Aug 2008 22:25:50 +0000 (22:25 +0000)]
Merging the imap_consistency_trunk branch to
trunk.
For an explanation of what "imap_consistency" is,
please see svn revision 134223 to the 1.4 branch.
Coincidentally, this also fixes a recent bug report
regarding the inability to save messages to the new
folder when using IMAP storage since they will would
be flagged as "seen" and not be recognized as new
messages.
(closes issue #13234)
Reported by: jaroth
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136715
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Thu, 7 Aug 2008 21:19:39 +0000 (21:19 +0000)]
show correct called party id and also store this to the 'placed calls' list once the call is connected.
(closes issue #13180)
Reported by: pj
Patches:
2008080700_skinny_calledpartyid.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak, pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136679
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Shaun Ruffell [Thu, 7 Aug 2008 20:54:52 +0000 (20:54 +0000)]
Updating codec_dahdi to the new transcoder interface.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136676
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 7 Aug 2008 20:25:43 +0000 (20:25 +0000)]
Bump a LOG_NOTICE message to LOG_DEBUG since it appears
once for every bridged call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136660
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 7 Aug 2008 19:58:32 +0000 (19:58 +0000)]
Don't allow Answer() to accept a negative argument.
Negative argument means an infinite delay and we
don't want that.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136635
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 7 Aug 2008 19:54:27 +0000 (19:54 +0000)]
Fix a calculation error I had made in the poll. The poll
would reset to 500 ms every time a non-voice frame
was received. The total time we poll should be 500 ms, so
now we save the amount of time left after the poll returned
and use that as our argument for the next call to poll
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136633
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 7 Aug 2008 19:36:46 +0000 (19:36 +0000)]
Scrap the 500 ms delay when Asterisk auto-answers a channel.
Instead, poll the channel until receiving a voice frame. The
cap on this poll is 500 ms.
The optional delay is still allowable in the Answer() application,
but the delay has been moved back to its original position, after
the call to the channel's answer callback. The poll for the voice
frame will not happen if a delay is specified when calling Answer().
(closes issue #12708)
Reported by: kactus
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136631
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Richard Mudgett [Thu, 7 Aug 2008 19:01:03 +0000 (19:01 +0000)]
Merged revisions 136241 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r136241 | rmudgett | 2008-08-06 16:18:53 -0500 (Wed, 06 Aug 2008) | 5 lines
* The allowed_bearers setting in misdn.conf misspelled one
of its options: digital_restricted.
* Fixed some other spelling errors and typos.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136594
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Aug 2008 18:25:52 +0000 (18:25 +0000)]
Blocked revisions 136560 via svnmerge
........
r136560 | kpfleming | 2008-08-07 13:25:31 -0500 (Thu, 07 Aug 2008) | 3 lines
change the required dependency for codec_dahdi to only be satisfied by DAHDI and not Zaptel, as the new transcoder interface is only in DAHDI
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136562
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Aug 2008 17:44:20 +0000 (17:44 +0000)]
Merged revisions 136541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136542
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Aug 2008 17:26:23 +0000 (17:26 +0000)]
stop using deprecated API call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136504
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 7 Aug 2008 16:55:57 +0000 (16:55 +0000)]
Merged revisions 136488 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r136488 | tilghman | 2008-08-07 11:50:47 -0500 (Thu, 07 Aug 2008) | 7 lines
Update persistent state on all exit conditions.
(closes issue #12916)
Reported by: sgenyuk
Patches:
app_queue.patch.txt uploaded by neutrino88 (license 297)
Tested by: sgenyuk, aragon
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136489
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Aug 2008 16:30:23 +0000 (16:30 +0000)]
Blocked revisions 136458 via svnmerge
........
r136458 | kpfleming | 2008-08-07 11:11:17 -0500 (Thu, 07 Aug 2008) | 3 lines
work around a bug in gcc-4.2.3 that incorrectly ignores the casting away of 'const' for pointers when the developer knows it is safe to do so
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136481
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Aug 2008 16:29:08 +0000 (16:29 +0000)]
fix some format strings to actually compile without errors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136477
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Thu, 7 Aug 2008 15:16:48 +0000 (15:16 +0000)]
More merges from resolve-shadow warnings:
utils/
codecs/
and a change I missed from formats/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136408
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 7 Aug 2008 15:10:53 +0000 (15:10 +0000)]
Fix runtime symbol error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136406
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Aug 2008 15:07:39 +0000 (15:07 +0000)]
Blocked revisions 136404 via svnmerge
........
r136404 | kpfleming | 2008-08-07 10:07:12 -0500 (Thu, 07 Aug 2008) | 2 lines
remove config.cache during distclean, in case the user is using autoconf caching
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136405
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Thu, 7 Aug 2008 14:36:59 +0000 (14:36 +0000)]
Merge in a few more changes. This time the include/ directory.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136402
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 7 Aug 2008 01:32:10 +0000 (01:32 +0000)]
Blocked revisions 136348 via svnmerge
........
r136348 | tilghman | 2008-08-06 20:31:27 -0500 (Wed, 06 Aug 2008) | 3 lines
Also, parse useincomingcalleridonzaptransfer (and add appropriate deprecation
warnings).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136349
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 7 Aug 2008 01:18:03 +0000 (01:18 +0000)]
Blocked revisions 136304 via svnmerge
........
r136304 | tilghman | 2008-08-06 20:17:14 -0500 (Wed, 06 Aug 2008) | 3 lines
For backwards compatibility with previous 1.4 versions which used "zapchan"
in users.conf, ensure that we still support it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136305
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Thu, 7 Aug 2008 01:07:40 +0000 (01:07 +0000)]
Continue merging in changes from resolve-shadow-warnings. funcs/ this time.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136302
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Thu, 7 Aug 2008 00:52:23 +0000 (00:52 +0000)]
More from the resolve-shadow-warnings branch. This time the cdr/ directory.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136300
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Thu, 7 Aug 2008 00:44:55 +0000 (00:44 +0000)]
Start moving in changes from my resolve-shadow-warnings branch. Going to do
this in pieces so the diffs are a little bit smaller and more reviewable.
pbx/ and formats/ first.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136298
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Dwayne M. Hubbard [Wed, 6 Aug 2008 21:22:56 +0000 (21:22 +0000)]
move taskprocessor CLI commands into the core namespace
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136245
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 6 Aug 2008 20:43:58 +0000 (20:43 +0000)]
Blocked revisions 136238 via svnmerge
........
r136238 | mmichelson | 2008-08-06 15:42:15 -0500 (Wed, 06 Aug 2008) | 4 lines
We only need to unregister the QueueStatus manager
command once on an unload
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136239
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 6 Aug 2008 20:15:34 +0000 (20:15 +0000)]
Merged revisions 136190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r136190 | tilghman | 2008-08-06 15:14:54 -0500 (Wed, 06 Aug 2008) | 4 lines
-C option takes a filename, not a directory path.
(closes issue #13007)
Reported by: klaus3000
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136191
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 6 Aug 2008 17:33:48 +0000 (17:33 +0000)]
Janitor ast_str project
(closes issue #13058)
Reported by: pputman
Patches:
app_meetme_aststr2.patch uploaded by pputman (license 81)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136141
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 6 Aug 2008 16:58:42 +0000 (16:58 +0000)]
Persist DIALGROUP() values in astdb
(closes issue #13138)
Reported by: Corydon76
Patches:
20080725__bug13138.diff.txt uploaded by Corydon76 (license 14)
Tested by: pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136112
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 6 Aug 2008 15:59:29 +0000 (15:59 +0000)]
Merged revisions 136062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r136062 | mmichelson | 2008-08-06 10:58:40 -0500 (Wed, 06 Aug 2008) | 16 lines
Since adding the AST_CONTROL_SRCUPDATE frame type,
there are places where ast_rtp_new_source may be called
where the tech_pvt of a channel may not yet have an
rtp structure allocated. This caused a crash in chan_skinny,
which was fixed earlier, but now the same crash has been
reported against chan_h323 as well. It seems that the best
solution is to modify ast_rtp_new_source to not attempt to
set the marker bit if the rtp structure passed in is NULL.
This change to ast_rtp_new_source also allows the removal
of what is now a redundant pointer check from chan_skinny.
(closes issue #13247)
Reported by: pj
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136063
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 6 Aug 2008 14:51:51 +0000 (14:51 +0000)]
Use a dynamic buffer for rendered SQL, instead of hardcoding 2048 bytes. Also,
switch to using RWLISTs for the linked list of queries.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136034
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 6 Aug 2008 13:34:08 +0000 (13:34 +0000)]
- Formatting
- Changing debug messages from VERBOSE to DEBUG channel
- Adding a few todo's
- Adding a few more "XMPP"'s to compliment Jabber...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136005
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 6 Aug 2008 03:55:49 +0000 (03:55 +0000)]
Merged revisions 135949 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135949 | tilghman | 2008-08-05 22:53:36 -0500 (Tue, 05 Aug 2008) | 4 lines
Fix a longstanding bug in channel walking logic, and fix the explanation to
make sense.
(Closes issue #13124)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135950
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 6 Aug 2008 03:29:42 +0000 (03:29 +0000)]
Merged revisions 135915 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135915 | tilghman | 2008-08-05 22:24:56 -0500 (Tue, 05 Aug 2008) | 4 lines
Since powerof() can return an error condition, it's foolhardy not to detect and
deal with that condition.
(Related to issue #13240)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135938
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 6 Aug 2008 03:04:01 +0000 (03:04 +0000)]
Merged revisions 135899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135899 | tilghman | 2008-08-05 22:02:59 -0500 (Tue, 05 Aug 2008) | 4 lines
1) Bugfix for debugging code
2) Reduce compiler warnings for another section of debugging code
(Closes issue #13237)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135900
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 6 Aug 2008 00:30:53 +0000 (00:30 +0000)]
Merged revisions 135841,135847,135850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135841 | mmichelson | 2008-08-05 19:25:10 -0500 (Tue, 05 Aug 2008) | 27 lines
Merging the issue11259 branch.
The purpose of this branch was to take into account
"burps" which could cause jitterbuffers to misbehave.
One such example is if the L option to Dial() were used
to inject audio into a bridged conversation at regular
intervals. Since the audio here was not passed through
the jitterbuffer, it would cause a gap in the jitterbuffer's
timestamps which would cause a frames to be dropped for a
brief period.
Now ast_generic_bridge will empty and reset the jitterbuffer
each time it is called. This causes injected audio to be handled
properly.
ast_generic_bridge also will empty and reset the jitterbuffer
if it receives an AST_CONTROL_SRCUPDATE frame since the change
in audio source could negatively affect the jitterbuffer.
All of this was made possible by adding a new public API call
to the abstract_jb called ast_jb_empty_and_reset.
(closes issue #11259)
Reported by: plack
Tested by: putnopvut
........
r135847 | mmichelson | 2008-08-05 19:27:54 -0500 (Tue, 05 Aug 2008) | 4 lines
Revert inadvertent changes to app_skel that occurred when
I was testing for a memory leak
........
r135850 | mmichelson | 2008-08-05 19:29:54 -0500 (Tue, 05 Aug 2008) | 3 lines
Remove properties that should not be here
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135851
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 5 Aug 2008 23:45:32 +0000 (23:45 +0000)]
Merged revisions 135799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135799 | murf | 2008-08-05 17:13:20 -0600 (Tue, 05 Aug 2008) | 34 lines
(closes issue #12982)
Reported by: bcnit
Tested by: murf
I discovered that also, in the previous bug fixes and changes,
the cdr.conf 'unanswered' option is not being obeyed, so
I fixed this.
And, yes, there are two 'answer' times involved in this
scenario, and I would agree with you, that the first
answer time is the time that should appear in the CDR.
(the second 'answer' time is the time that the bridge
was begun).
I made the necessary adjustments, recording the first
answer time into the peer cdr, and then using that to
override the bridge cdr's value.
To get the 'unanswered' CDRs to appear, I purposely
output them, using the dial cmd to mark them as
DIALED (with a new flag), and outputting them if
they bear that flag, and you are in the right mode.
I also corrected one small mention of the Zap device
to equally consider the dahdi device.
I heavily tested 10-sec-wait macros in dial, and
without the macro call; I tested hangups while the
macro was running vs. letting the macro complete
and the bridge form. Looks OK. Removed all the
instrumentation and debug.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135821
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 5 Aug 2008 21:37:35 +0000 (21:37 +0000)]
Merged revisions 135747 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135747 | tilghman | 2008-08-05 16:34:46 -0500 (Tue, 05 Aug 2008) | 9 lines
In a conversion to use ast_strlen_zero, the meaning of the flag IAX_HASCALLERID
was perverted. This change reverts IAX2 to the original meaning, which was,
that the callerid set on the client should be overridden on the server, even if
that means the resulting callerid is blank. In other words, if you set
"callerid=" in the IAX config, then the callerid should be overridden to blank,
even if set on the client. Note that there's a distinction, even on realtime,
between the field not existing (NULL in databases) and the field existing, but
set to blank (override callerid to blank).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135748
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 5 Aug 2008 18:25:16 +0000 (18:25 +0000)]
Add '+=' append operator to configuration files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135717
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 5 Aug 2008 17:05:34 +0000 (17:05 +0000)]
datastore inheritance is a channel feature, so move this definition back
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135681
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 5 Aug 2008 16:56:11 +0000 (16:56 +0000)]
make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135680
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 5 Aug 2008 15:30:23 +0000 (15:30 +0000)]
Always output a version string, even when we can't figure out what we are.
(Closes issue #13223)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135648
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Tue, 5 Aug 2008 13:26:34 +0000 (13:26 +0000)]
Merged revisions 135597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135597 | seanbright | 2008-08-05 09:25:00 -0400 (Tue, 05 Aug 2008) | 1 line
Use PATH_MAX for filenames
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135598
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 4 Aug 2008 20:15:27 +0000 (20:15 +0000)]
Merged revisions 135536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135536 | russell | 2008-08-04 15:15:03 -0500 (Mon, 04 Aug 2008) | 2 lines
fix a config sample typo
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135537
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 4 Aug 2008 17:12:15 +0000 (17:12 +0000)]
Rename Mandrake scripts to Mandriva
(Closes issue #13221)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135485
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 4 Aug 2008 17:08:42 +0000 (17:08 +0000)]
Merged revisions 135482 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135482 | tilghman | 2008-08-04 12:07:52 -0500 (Mon, 04 Aug 2008) | 2 lines
Define ASTSBINDIR for script
(Closes issue #13221)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135483
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 4 Aug 2008 16:58:29 +0000 (16:58 +0000)]
Merged revisions 135479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135479 | tilghman | 2008-08-04 11:56:19 -0500 (Mon, 04 Aug 2008) | 6 lines
Memory leak on unload
(closes issue #13231)
Reported by: eliel
Patches:
app_voicemail.leak.patch uploaded by eliel (license 64)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135480
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 4 Aug 2008 16:34:04 +0000 (16:34 +0000)]
HTTP module memory leaks
(closes issue #13230)
Reported by: eliel
Patches:
res_http_post_leak.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135476
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 4 Aug 2008 16:28:07 +0000 (16:28 +0000)]
Merged revisions 135473 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135473 | russell | 2008-08-04 11:26:17 -0500 (Mon, 04 Aug 2008) | 2 lines
Add a minor clarification to the documentation of mohinterpret and mohsuggest
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135474
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 4 Aug 2008 15:02:12 +0000 (15:02 +0000)]
Be explicit that we don't want a result from this callback. The callback would
never indicate a match, so nothing would have been returned anyway, but it was
still a poor example of proper usage.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135439
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Sun, 3 Aug 2008 16:14:14 +0000 (16:14 +0000)]
Merge in changes that allow Asterisk to be built against the Hoard
memory allocator. See doc/hoard.txt for more details.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135405
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Sun, 3 Aug 2008 00:03:53 +0000 (00:03 +0000)]
whitespace fixes only.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135373
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Sun, 3 Aug 2008 00:00:06 +0000 (00:00 +0000)]
Dont coredump on register of non-configured devices
(closes issue #13224)
Reported by: mvanbaak
Patches:
noncon.diff uploaded by wedhorn (license 30) with whitespace fixes by me
Tested by: wedhorn, mvanbaak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135371
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Sat, 2 Aug 2008 13:56:00 +0000 (13:56 +0000)]
make this work again, and not segfault on device registration
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135332
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 2 Aug 2008 13:21:16 +0000 (13:21 +0000)]
--enable-dev-mode is your friend :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135302
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Michiel van Baak [Sat, 2 Aug 2008 12:29:23 +0000 (12:29 +0000)]
pass device instead of session to transmit_ functions.
(closes issue #10396)
Reported by: wedhorn
Patches:
transmit3a.diff uploaded by wedhorn (license 30)
Tested by: wedhorn, mvanbaak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135300
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sat, 2 Aug 2008 04:51:29 +0000 (04:51 +0000)]
(closes issue #13202)
Reported by: falves11
Tested by: murf
falves11 ==
The changes I introduce here seem to clear up the problem
for me. However, if they do not for you, please reopen this
bug, and we'll keep digging.
The root of this problem seems to be a subtle memory corruption
introduced when creating an extension with an empty extension
name. While valgrind cannot detect it outside of DEBUG_MALLOC
mode, when compiled with DEBUG_MALLOC, this is certain death.
The code in main/features.c is a puzzle to me. On the initial
module load, the code is attempting to add the parking extension
before the features.conf file has even been opened!
I just wrapped the offending call with an if() that will not
try to add the extension if the extension name is empty. THis
seems to solve the corruption, and let the "memory show allocations"
work as one would expect.
But, really, adding an extension with an empty name is a seriously
bad thing to allow, as it will mess up all the pattern matching
algorithms, etc. So, I added a statement to the add_extension2 code to return
a -1 if this is attempted.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135265
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Fri, 1 Aug 2008 21:56:07 +0000 (21:56 +0000)]
Fix mime parsing by re-adding support for passing headers to callback functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135235
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Sean Bright [Fri, 1 Aug 2008 19:29:26 +0000 (19:29 +0000)]
Remove some code that used to do something but does not anymore, mainly
to get rid of a shadow warning (but this seemed legitimate enough to fix
here instead of in my branch).
Thanks to putnopvut for taking a look as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135197
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 1 Aug 2008 18:16:24 +0000 (18:16 +0000)]
Merge changes from team/bbryant/keyrotation
This set of changes enhances IAX2 encryption support by adding key rotation
to provide enhanced security. The key used for encryption is rotated right
after the call gets set up, and then again every few minutes. This was
discussed at the last AstriDevCon. For interoperability with older versions
of Asterisk, there is an option that disables key rotation.
(closes issue #13018)
Reported by: bbryant
Patches:
07072008__iax2_key_rotation.diff uploaded by bbryant (license 36)
Tested by: russell, bbryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135158
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 1 Aug 2008 17:09:50 +0000 (17:09 +0000)]
Picky, picky, buildbot
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135128
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 1 Aug 2008 16:39:51 +0000 (16:39 +0000)]
SIP should use the transport type set in the Moved Temporarily for the next
invite.
(closes issue #11843)
Reported by: pestermann
Patches:
20080723__issue11843_302_ignores_transport_16branch.diff uploaded by bbryant (license 36)
20080723__issue11843_302_ignores_transport_trunk.diff uploaded by bbryant (license 36)
Tested by: pabelanger
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135126
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 1 Aug 2008 14:42:24 +0000 (14:42 +0000)]
IMAP-specific items must go in IMAP_STORAGE defines...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135068
65c4cc65-6c06-0410-ace0-
fbb531ad65f3