aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-11-01Fix memory leaktilghman1-0/+10
Reported by: eliel Fixed by: tilghman Closes issue #11136 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88007 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01Merged revisions 87970 via svnmerge from file1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87970 | file | 2007-10-31 22:53:55 -0300 (Wed, 31 Oct 2007) | 4 lines If a Zap channel contains a spy or a spy is added take it out of the conference in kernel space and make it go through Asterisk so the spy gets audio from both sides. (closes issue #10060) Reported by: mparker ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87971 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01Drop any more references to type in the Exception dialplan function.file1-9/+9
(closes issue #11134) Reported by: blitzrage Patches: exception_patch.txt uploaded by blitzrage (license 10) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87953 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Merged revisions 87908 via svnmerge from qwell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #11131) ........ r87908 | qwell | 2007-10-31 16:23:11 -0500 (Wed, 31 Oct 2007) | 4 lines Make sure we free some allocated memory before returning. Issue 11131, patch by eliel. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87909 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Merged revisions 87906 via svnmerge from qwell2-6/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #11130) (closes issue #11132) ........ r87906 | qwell | 2007-10-31 16:16:20 -0500 (Wed, 31 Oct 2007) | 4 lines Don't try to allocate memory that we're just going to re-allocate later anyways. Issues 11130 and 11132, patch by eliel. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87907 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31More changes to change return values from load_module functions.qwell33-105/+182
(issue #11096) Patches: codec_adpcm.c.patch uploaded by moy (license 222) codec_alaw.c.patch uploaded by moy (license 222) codec_a_mu.c.patch uploaded by moy (license 222) codec_g722.c.patch uploaded by moy (license 222) codec_g726.c.diff uploaded by moy (license 222) codec_gsm.c.patch uploaded by moy (license 222) codec_ilbc.c.patch uploaded by moy (license 222) codec_lpc10.c.patch uploaded by moy (license 222) codec_speex.c.patch uploaded by moy (license 222) codec_ulaw.c.patch uploaded by moy (license 222) codec_zap.c.patch uploaded by moy (license 222) format_g723.c.patch uploaded by moy (license 222) format_g726.c.patch uploaded by moy (license 222) format_g729.c.patch uploaded by moy (license 222) format_gsm.c.patch uploaded by moy (license 222) format_h263.c.patch uploaded by moy (license 222) format_h264.c.patch uploaded by moy (license 222) format_ilbc.c.patch uploaded by moy (license 222) format_jpeg.c.patch uploaded by moy (license 222) format_ogg_vorbis.c.patch uploaded by moy (license 222) format_pcm.c.patch uploaded by moy (license 222) format_sln.c.patch uploaded by moy (license 222) format_vox.c.patch uploaded by moy (license 222) format_wav.c.patch uploaded by moy (license 222) format_wav_gsm.c.patch uploaded by moy (license 222) res_adsi.c.patch uploaded by eliel (license 64) res_ael_share.c.patch uploaded by eliel (license 64) res_clioriginate.c.patch uploaded by eliel (license 64) res_convert.c.patch uploaded by eliel (license 64) res_indications.c.patch uploaded by eliel (license 64) res_musiconhold.c.patch uploaded by eliel (license 64) res_smdi.c.patch uploaded by eliel (license 64) res_speech.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87889 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Merged revisions 87849 via svnmerge from murf0-0/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87849 | murf | 2007-10-31 11:49:39 -0600 (Wed, 31 Oct 2007) | 1 line closes issue #11108 -- where the 'dialplan save' cli command saves a file where the semicolon is not escaped. Fixed this; User also wanted comments to be preserved across dialplan save, but this is impossible at this point in time, because comments are not stored in the dialplan. They are 'compiled' out of extensions.conf. The only way to preserve those comments is to use the config file reader/writer that the GUI uses to allow online user edits. extensions.conf is first and foremost, a config file, and is read in by the normal config-file reading routines. Then, it is processed into a dialplan (context/exten structs). (in the case of trunk, tho, no mods needed to be made -- works OK there -- just make sure you use ',' to sep app args!) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87888 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Merged revisions 87852 via svnmerge from tilghman1-0/+14
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87852 | tilghman | 2007-10-31 13:03:53 -0500 (Wed, 31 Oct 2007) | 2 lines Create samples for ALL of the available options in asterisk.conf ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87854 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Add volume adjustment in.file1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87851 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Restore operation of the option that only writes when the channel is bridged.file1-17/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87850 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Add volume adjustment to spy audiohook in app_chanspy.file1-0/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87833 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Formatting cleanups, remove obsolete contributions (modules no longer intilghman1-54/+60
Asterisk), and obfuscate email addresses enough to stop most spam harvesters. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87817 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Remove old whisper remnants from channel.hfile1-35/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87815 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Optimize pbx_substitute_variablestilghman1-1/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87811 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-31Merged revisions 87775 via svnmerge from murf1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87775 | murf | 2007-10-30 21:51:52 -0600 (Tue, 30 Oct 2007) | 1 line Included some verbage in the check_includes func, to inform the user that included contexts that have no match in the AEL, might be OK, as AEL cannot check in the extensions.conf or the in-memory contexts, as they may not be there at the time of the check. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87776 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Merged revisions 87739 via svnmerge from tilghman1-67/+298
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87739 | tilghman | 2007-10-30 18:02:22 -0500 (Tue, 30 Oct 2007) | 5 lines Fix for uninitialized mutexes on *BSD Reported by: ys Fixed by: ys Closes issue #11116 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87740 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30If no '?' is found in the arguments, don't attempt to continue.tilghman1-0/+5
Reported by: blitzrage Fixed by: tilghman Closes issue #11111 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87724 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Merged revisions 87686 via svnmerge from russell1-38/+96
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87686 | russell | 2007-10-30 16:19:09 -0500 (Tue, 30 Oct 2007) | 11 lines Merge the changes from team/russell/iax2_poke_fix and iax2-poke-fix-trunk There was a race condition related to the handling of POKEing peers. Essentially, a reference to a peer is held by the scheduler when there are pending callbacks, but the reference count didn't reflect it. So, it was possible for a peer to hit a reference count of zero and have its destructor begin to be called at the same time that the scheduler thread ran a POKE related callback. If that happened, a crash would likely occur. (closes issue #11082, closes issue #11094) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87687 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Merged revisions 87650 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87650 | qwell | 2007-10-30 15:29:41 -0500 (Tue, 30 Oct 2007) | 1 line Only try to clean out h323/ if the h323/Makefile exists. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87651 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Update documentation to give an example of how to use the return status of ↵qwell1-1/+2
RaiseException Closes issue #11117, patch by blitzrage (yay blitzrage) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87626 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30The priority gets incremented after raising an exception, so the priority ↵mmichelson1-1/+1
should be set to 0 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87608 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Jumped the gun a bit in the RaiseException app. It would always return -1mmichelson1-1/+1
since it checked for the existence of something that will never exist. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87573 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Merged revisions 87571 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87571 | file | 2007-10-30 13:13:39 -0300 (Tue, 30 Oct 2007) | 4 lines Add two more checks before printing out a warning message about bridging. If either channel has hungup of course the bridge will have failed. (closes issue #10009) Reported by: dimas ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87572 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Merged revisions 87567 via svnmerge from qwell1-2/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #11113) ........ r87567 | qwell | 2007-10-30 10:45:35 -0500 (Tue, 30 Oct 2007) | 4 lines Fix build of editline on Solaris. Issue 11113, patch by snuffy. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87568 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Blocked revisions 87534 via svnmergefile0-0/+0
........ r87534 | file | 2007-10-30 12:10:13 -0300 (Tue, 30 Oct 2007) | 2 lines Return 1.4 to a state where it builds. Changing the arguments to a function and not changing where they are used is bad, mmmk? ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87535 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29UGH... while trying to fix #10995, I found all kinds of cruft in this ↵kpfleming2-39/+22
Makefile. It should all be gone now, and as a side effect hashtest2 now builds with --enable-dev-mode enabled without a host of errors git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87498 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29clean up assembler and preprocessor files if they are here tookpfleming8-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29ignore preprocessor and assembler files if they are presentkpfleming0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87466 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Merged revisions 87460 via svnmerge from kpfleming1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87460 | kpfleming | 2007-10-29 17:04:29 -0500 (Mon, 29 Oct 2007) | 2 lines don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used when debugging preprocessor issues) because the compiler will whine about each compile command ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87462 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29If a caller is listen-only, then don't bother with doing talker detection.russell1-2/+2
(closes issue #10911, reported by junky, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87428 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Merged revisions 87396 via svnmerge from russell2-24/+39
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87396 | russell | 2007-10-29 15:22:07 -0500 (Mon, 29 Oct 2007) | 5 lines Add some more details to the output of "core show locks". When a thread is waiting for a lock, this will now show the details about who currently has it locked. (inspired by issue #11100) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87397 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Adding the more flexible QUEUE_MEMBER function to replace the ↵mmichelson2-2/+85
QUEUE_MEMBER_COUNT function. A deprecation notice will be issued the first time QUEUE_MEMBER_COUNT is used. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87395 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Drop the RTCP Read too short message to debug. There are some phones out ↵file1-1/+2
there that send a sort of keep alive packet in the RTCP that trigger this every 5 seconds. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87394 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Make sure we set flags to a 0 value before trying to use it. Pointed out by ↵qwell1-1/+1
seanbright while I was debugging issue 11109. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87393 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Merged revisions 87373 via svnmerge from russell1-3/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87373 | russell | 2007-10-29 14:21:06 -0500 (Mon, 29 Oct 2007) | 5 lines Remove a lock that doesn't make any sense. The regions lock needs to be held when traversing the list of allocated chunks so that they can be printed out to the CLI. (Thanks to eliel on #asterisk-dev for pointing this out!) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87392 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Merged revisions 87342 via svnmerge from file1-1/+12
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87342 | file | 2007-10-29 14:20:28 -0300 (Mon, 29 Oct 2007) | 6 lines Fix issue where if both sides of the dialog cancelled the dialog at the same time chan_sip could kepe retransmitting a response for no reason. (closes issue #9566) Reported by: atca_pres Patches: bug9566.patch uploaded by oej ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87343 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Blocked revisions 87340 via svnmergeqwell0-0/+0
(Closes issue #11104) ........ r87340 | qwell | 2007-10-29 12:13:04 -0500 (Mon, 29 Oct 2007) | 4 lines Allow some function modules to compile under dev mode. Issue 11104, patch by andrew. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87341 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Remove duplicate stdlib.h include.file1-1/+0
(closes issue #11105) Reported by: eliel Patches: app_voicemail.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Add autoconf checks for extra suppserv definitions that are not present in ↵file4-1/+161
releases yet. chan_misdn should now build against the latest release. (closes issue #11103) Reported by: IgorG git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87325 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Merged revisions 87294 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87294 | file | 2007-10-29 11:23:49 -0300 (Mon, 29 Oct 2007) | 6 lines Fix issue with ast_unescape_semicolon going into an endless loop. (closes issue #10550) Reported by: ramonpeek Patches: unescape-85177-1.patch uploaded by IgorG (license 20) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87295 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-28Add a simple dialgroup function. By taking one of the simpler uses of Queuetilghman1-0/+224
away from Queue, we simplify the lives of people who do not need all the bells and whistles. Also, this is part of the functions that people need to reimplement Queue in the dialplan, as a set of logic, rather than as a single app with hundreds of options. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87264 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-28Merged revisions 87262 via svnmerge from tilghman4-4/+92
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87262 | tilghman | 2007-10-28 08:46:55 -0500 (Sun, 28 Oct 2007) | 7 lines Add autoservice to several more functions which might delay in their responses. Also, make sure that func_odbc functions have a channel on which to set variables. Reported by russell Fixed by tilghman Closes issue #11099 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27Update the configure script for the last libss7 API changerussell2-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87247 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27Make sure a channel exists before attempting to start or stop channelrussell2-7/+17
autoservice in func_lock and func_shell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87233 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27Add Circuit Group Queury message codemattf1-0/+36
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87232 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27Make sure we turn on the DSP when we answer the callmattf1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87231 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26Forgot to update CHANGES when I committed the linear queue strategy.mmichelson1-0/+1
Thank you Russell, for pointing this out! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87217 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26Correctly use defined return values in (some) load_module functions.qwell7-10/+10
(issue #11096) Patches: chan_agent.c.patch uploaded by eliel (license 64) chan_local.c.patch uploaded by eliel (license 64) chan_features.c.patch uploaded by eliel (license 64) chan_zap.c.patch uploaded by eliel (license 64) res_monitor.c.patch uploaded by eliel (license 64) res_realtime.c.patch uploaded by eliel (license 64) res_crypto.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87202 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26Merged revisions 87168 via svnmerge from murf12-1889/+1138
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r87168 | murf | 2007-10-26 10:34:02 -0600 (Fri, 26 Oct 2007) | 1 line closes issue #11086 where a user complains that references to following contexts report a problem; The problem was REALLy that he was referring to empty contexts, which were being ignored. Reporter stated that empty contexts should be OK. I checked it out against extensions.conf, and sure enough, empty contexts ARE ok. So, I removed the restriction from AEL. This, though, highlighted a problem with multiple contexts of the same name. This should be OK, also. So, I added the extend keyword to AEL, and it can preceed the 'context' keyword (mixed with 'abstract', if nec.). This will turn off the warnings in AEL if the same context name is used 2 or more times. Also, I now call ast_context_find_or_create for contexts now, instead of just ast_context_create; I did this because pbx_config does this. The 'extend' keyword thus becomes a statement of intent. AEL can now duplicate the behavior of pbx_config, ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87187 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26Added queue strategy "linear". This strategy is useful for those who always ↵mmichelson2-12/+74
wish for their phones to be rung in a specific order. (closes issue #7279, reported and initially patched by diLLec, patch reworked by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87154 f38db490-d61c-443f-a65b-d21fe96a405b