aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-08-09More RSW merges. This should do it for the channels/ dir.seanbright8-245/+253
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136917 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09Biggest offender? chan_dahdi.c! More RSW merging.seanbright1-368/+368
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136890 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09Merge more changes from the resolve-shadow-warnings branch (henceforth knownseanbright6-74/+74
as RSW since i am too lazy to keep typing it all out). This time a few of the channels. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136888 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-09Update documentation as to the behavior of AGI in 1.6.0 and higher. Also, addtilghman1-16/+23
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: http://svn.digium.com/svn/asterisk/trunk@136859 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08Bring in the configure and makeopts jazz for -Wshadow, but don't add it to theseanbright3-6/+32
Makefile yet. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136819 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08use ARRAY_LENdhubbard1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136787 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08Fix compilation for ODBC voicemailmmichelson1-30/+28
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136784 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08Removing bad propertiestilghman0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136751 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-08Merged revisions 136726 via svnmerge from murf7-305/+627
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: http://svn.digium.com/svn/asterisk/trunk@136746 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Remove one last batch of debug messagesmmichelson1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136722 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Fix build for non-IMAP storage and get rid of somemmichelson1-3/+3
debug messages. Thanks to eliel for alerting me. No thanks to buildbot. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136720 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Merging the imap_consistency_trunk branch tommichelson1-1765/+1507
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: http://svn.digium.com/svn/asterisk/trunk@136715 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07show correct called party id and also store this to the 'placed calls' list ↵mvanbaak1-11/+5
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: http://svn.digium.com/svn/asterisk/trunk@136679 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Updating codec_dahdi to the new transcoder interface.sruffell1-108/+80
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136676 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Bump a LOG_NOTICE message to LOG_DEBUG since it appearsmmichelson1-1/+1
once for every bridged call git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136660 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Don't allow Answer() to accept a negative argument.mmichelson1-0/+4
Negative argument means an infinite delay and we don't want that. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136635 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Fix a calculation error I had made in the poll. The pollmmichelson1-3/+6
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: http://svn.digium.com/svn/asterisk/trunk@136633 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Scrap the 500 ms delay when Asterisk auto-answers a channel.mmichelson1-23/+33
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: http://svn.digium.com/svn/asterisk/trunk@136631 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Merged revisions 136241 via svnmerge from rmudgett3-82/+103
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: http://svn.digium.com/svn/asterisk/trunk@136594 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Blocked revisions 136560 via svnmergekpfleming0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/trunk@136562 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Merged revisions 136541 via svnmerge from kpfleming1-1/+92
https://origsvn.digium.com/svn/asterisk/trunk ........ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136542 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07stop using deprecated API callkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136504 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Merged revisions 136488 via svnmerge from tilghman1-0/+2
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: http://svn.digium.com/svn/asterisk/trunk@136489 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Blocked revisions 136458 via svnmergekpfleming0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/trunk@136481 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07fix some format strings to actually compile without errorskpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136477 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07More merges from resolve-shadow warnings:seanbright8-108/+107
utils/ codecs/ and a change I missed from formats/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136408 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Fix runtime symbol errortilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136406 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Blocked revisions 136404 via svnmergekpfleming0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/trunk@136405 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Merge in a few more changes. This time the include/ directory.seanbright2-11/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136402 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Blocked revisions 136348 via svnmergetilghman0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/trunk@136349 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Blocked revisions 136304 via svnmergetilghman0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/trunk@136305 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Continue merging in changes from resolve-shadow-warnings. funcs/ this time.seanbright4-42/+42
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136302 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07More from the resolve-shadow-warnings branch. This time the cdr/ directory.seanbright5-39/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136300 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07Start moving in changes from my resolve-shadow-warnings branch. Going to doseanbright5-129/+129
this in pieces so the diffs are a little bit smaller and more reviewable. pbx/ and formats/ first. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136298 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06move taskprocessor CLI commands into the core namespacedhubbard1-9/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136245 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Blocked revisions 136238 via svnmergemmichelson0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/trunk@136239 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Merged revisions 136190 via svnmerge from tilghman1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@136191 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Janitor ast_str projecttilghman1-47/+73
(closes issue #13058) Reported by: pputman Patches: app_meetme_aststr2.patch uploaded by pputman (license 81) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136141 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Persist DIALGROUP() values in astdbtilghman1-13/+80
(closes issue #13138) Reported by: Corydon76 Patches: 20080725__bug13138.diff.txt uploaded by Corydon76 (license 14) Tested by: pj git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136112 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Merged revisions 136062 via svnmerge from mmichelson2-4/+4
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: http://svn.digium.com/svn/asterisk/trunk@136063 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Use a dynamic buffer for rendered SQL, instead of hardcoding 2048 bytes. Also,tilghman1-37/+60
switch to using RWLISTs for the linked list of queries. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136034 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06- Formattingoej1-39/+52
- 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: http://svn.digium.com/svn/asterisk/trunk@136005 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Merged revisions 135949 via svnmerge from tilghman1-10/+13
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: http://svn.digium.com/svn/asterisk/trunk@135950 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Merged revisions 135915 via svnmerge from tilghman1-1/+14
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: http://svn.digium.com/svn/asterisk/trunk@135938 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Merged revisions 135899 via svnmerge from tilghman2-2/+2
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: http://svn.digium.com/svn/asterisk/trunk@135900 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Merged revisions 135841,135847,135850 via svnmerge from mmichelson4-9/+61
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: http://svn.digium.com/svn/asterisk/trunk@135851 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-05Merged revisions 135799 via svnmerge from murf5-13/+52
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: http://svn.digium.com/svn/asterisk/trunk@135821 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-05Merged revisions 135747 via svnmerge from tilghman1-19/+6
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: http://svn.digium.com/svn/asterisk/trunk@135748 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-05Add '+=' append operator to configuration files.tilghman4-50/+102
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-05datastore inheritance is a channel feature, so move this definition backkpfleming2-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135681 f38db490-d61c-443f-a65b-d21fe96a405b