aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-11-06"show application <foo>" changes for clarity.mmichelson33-126/+133
(closes issue #11171, reported and patched by blitzrage) Many thanks! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89044 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Merged revisions 89042 via svnmerge from oej1-9/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89042 | oej | 2007-11-06 19:53:37 +0100 (Tis, 06 Nov 2007) | 2 lines Bug fixes to tdd support in zaptel. ........ (Small changes for trunk) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89043 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Allow gtalk and jingle to use TLS connections again.qwell4-52/+53
Closes issue #9972 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89041 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Merged revisions 89037 via svnmerge from russell1-3/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89037 | russell | 2007-11-06 12:20:07 -0600 (Tue, 06 Nov 2007) | 11 lines If someone were to delete the files used by an existing MOH class, and then issue a reload, further use of that class could result in a crash due to dividing by zero. This set of changes fixes up some places to prevent this from happening. (closes issue #10948) Reported by: jcomellas Patches: res_musiconhold_division_by_zero.patch uploaded by jcomellas (license 282) Additional changes added by me. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89038 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Merged revisions 89032 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89032 | file | 2007-11-06 13:08:05 -0400 (Tue, 06 Nov 2007) | 4 lines Make it so that if a peer is determined to be unreachable using qualify their devicestate will report back unavailable. (closes issue #11006) Reported by: pj ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89034 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Fix embedding of modules on FreeBSD:rizzo1-11/+30
the constructor for the list of modules was run after the constructors for the embedded modules (which appended entries to the list). As a result, the list appeared empty when it was time to use it. On linux the order of execution of constructor was evidently different (it may depend on the ordering of modules in the ELF file). This is only a workaround - there may be other situations where the execution of constructors causes problems, so if we manage to find a more general solution this workaround can go away. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89031 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Merged revisions 88994 via svnmerge from file2-3/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88994 | file | 2007-11-06 12:24:56 -0400 (Tue, 06 Nov 2007) | 6 lines Fix improbable but possible memory leaks in chan_zap. (closes issue #11166) Reported by: eliel Patches: chan_zap.c.patch uploaded by eliel (license 64) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88995 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Update chan_agent documentation. Change a | to , as that is now the required ↵file1-1/+1
way. (closes issue #11167) Reported by: eliel Patches: chan_agent.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88974 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Set up detection of IP_PKTINFO in autoconf for chan_unistimtilghman4-5/+66
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88973 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06convert uses of LOG_DEBUG to use ast_debug()russell1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88937 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Add jitterbuffer support to chan_unistim.russell2-1/+48
(closes issue #11168) Reported by: IgorG Patches: unistimjb-88863-1.patch uploaded by IgorG (license 20) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88935 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Merged revisions 88805 via svnmerge from russell4-47/+62
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88805 | russell | 2007-11-05 16:07:54 -0600 (Mon, 05 Nov 2007) | 12 lines After seeing crashes related to channel variables, I went looking around at the ways that channel variables are handled. In general, they were not handled in a thread-safe way. The channel _must_ be locked when reading or writing from/to the channel variable list. What I have done to improve this situation is to make pbx_builtin_setvar_helper() and friends lock the channel when doing their thing. Asterisk API calls almost all lock the channel for you as necessary, but this family of functions did not. (closes issue #10923, reported by atis) (closes issue #11159, reported by 850t) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88934 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Merged revisions 88931 via svnmerge from russell1-67/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88931 | russell | 2007-11-06 07:50:15 -0600 (Tue, 06 Nov 2007) | 8 lines Remove some checks to see if locks are initialized from the non-DEBUG_THREADS versions of the lock routines. These are incorrect for a number of reasons: - It breaks the build on mac. - If there is a problem with locks not getting initialized, then the proper fix is to find that place and fix the code so that it does get initialized. - If additional debug code is needed to help find the problem areas, then this type of things should _only_ be put in the DEBUG_THREADS wrappers. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06explain that the host environment must be used to build gentone;rizzo1-5/+5
Remove unset variables, they would be misleading. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88913 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06don't export variables that can be retrieved from makeopts in child subdirsrizzo1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88898 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06Merged revisions 88862 via svnmerge from kpfleming1-4/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88862 | kpfleming | 2007-11-05 20:52:05 -0600 (Mon, 05 Nov 2007) | 2 lines update comment to match the state of the code ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88863 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88826 via svnmerge from mmichelson1-20/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88826 | mmichelson | 2007-11-05 17:29:29 -0600 (Mon, 05 Nov 2007) | 6 lines Reworked deadlock avoidance in __ast_read. Restored audio to callback agents. (closes issue #11071, reported by callguy, patched by me, tested by callguy and Ted Brown) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88827 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Move AUDIO_LIBS outside the top level Makefile. This too is used onlyrizzo2-2/+5
in one place. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88770 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88768 via svnmerge from russell1-2/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88768 | russell | 2007-11-05 15:33:56 -0600 (Mon, 05 Nov 2007) | 8 lines When traversing the list of channel variables here in transmit_invite(), the asterisk channel must be locked, as this data may change at any time. (I have seen numerous reports of crashes related to the handling of channel variables. There are a couple of issues on the bug tracker related to it, but it has also been noted on IRC and mailing lists. So, I am finding and fixing some places where channel variables are handled improperly.) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88769 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Move the last instance of AST_LIBS to the only place it is used,rizzo2-3/+4
namely main/Makefile . I am unclear where decisions on the build environment (CFLAGS, LDFLAGS, LIBS and so on) should be made - right now they are split here and there. As a first step in cleaning up this situation, i am trying to at least collect all instances of each variable in one place. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88767 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88765 via svnmerge from russell1-26/+26
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88765 | russell | 2007-11-05 15:21:39 -0600 (Mon, 05 Nov 2007) | 2 lines Fix up some indentation. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88766 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05comment out an unused variable. Remove it in a few daysrizzo1-1/+1
if no problems arise. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88764 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88719 via svnmerge from russell2-43/+150
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88719 | russell | 2007-11-05 14:40:01 -0600 (Mon, 05 Nov 2007) | 7 lines Merge changes from asterisk/team/kpfleming/SRV-priority-handling Previously, the SRV record support in Asterisk was broken. There was no guarantee on what record Asterisk would choose to actually use. This set of changes improves the situation by ensuring that Asterisk will choose the highest priority record. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88740 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88709 via svnmerge from russell1-24/+27
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88709 | russell | 2007-11-05 14:11:04 -0600 (Mon, 05 Nov 2007) | 20 lines Merge the last bit of changes from asterisk/team/russell/readq-1.4 The issue here is that the channel frame readq handling got broken when the code was converted to use the linked list macros. It caused corruption of the list head and tail pointers. So, I fixed up the usage of the linked list macros and in passing, simplified the code. I also documented what the code is doing, as it was a bit difficult to figure out at first. This bug showed itself with crashes showing messed up head/tail pointers for the readq. However, there are a couple of crashes that aren't quite as obvious, but I think may be related. So, if your bug gets closed by this commit, but you still have a problem, please reopen or create a new bug report. (closes issue #10936) (closes issue #10595) (closes issue #10368) (closes issue #11084) (closes issue #10040) (closes issue #10840) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88710 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Cleanup the installation of samples, avoiding repetitions.rizzo1-11/+21
I am preserving the behaviour on *.adsi files, i.e. overwrite anything there without making a backup. However I am not sure that this is the intended behaviour. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88675 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88671 via svnmerge from file1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88671 | file | 2007-11-05 14:47:13 -0400 (Mon, 05 Nov 2007) | 7 lines If a SIP channel is put on hold multiple times do not keep incrementing the onHold value. (closes issue #11085) Reported by: francesco_r Tested by: blitzrage (closes issue #10474) Reported by: acennami ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88673 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Change wording to that suggested by MasterYodatilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88653 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05simplify (hopefully) the printing of $(MAKE) in aligned output.rizzo1-20/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88652 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88624 via svnmerge from russell1-2/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88624 | russell | 2007-11-05 11:46:02 -0600 (Mon, 05 Nov 2007) | 5 lines Fix up datastore handling in ast_do_masquerade(). The code is intended to move any channel datastores from the old channel to the new one. However, it did not use the linked list macros properly to accomplish the task. The existing code would only work if there was only a single datastore on the old channel. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88651 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05print messages when entering/leaving a directory so we know where we arerizzo1-0/+4
(sometimes it is obvious, sometimes it is not). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88615 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05merge two rules with the same right hand;rizzo1-2/+14
document a bit what is done here. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88587 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88585 via svnmerge from qwell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #11163) ........ r88585 | qwell | 2007-11-05 11:19:41 -0600 (Mon, 05 Nov 2007) | 4 lines Make sure we destroy the config structure on configuration failure. Issue 11163, patch by eliel. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88586 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05use a variable name that actually indicates what it is forkpfleming1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88584 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Put extra compiler flags into a variable so they are not repeatedrizzo1-27/+24
too many times. On passing, add some comments and fix indentation a bit. On passing, i suspect that the following pattern is wrong %.eoo: %.o but in case it will be fixed in a later commit. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88553 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Merged revisions 88539 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88539 | tilghman | 2007-11-05 10:20:13 -0600 (Mon, 05 Nov 2007) | 4 lines Don't check used pooled connections for connection status, as it will cause issues for prepared queries. Reported by: Nick Gorham (via -dev list) Patch by: tilghman ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88540 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05remove a cygwin-specific function remap that does not work.rizzo1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88525 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05Fix memory leaks and deadlocks in chan_unistim.file1-37/+53
(closes issue #11158) Reported by: eliel Patches: chan_unistim.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88510 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-04block merging of not-applicable patchrizzo0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88490 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-04Simplify the implementation and the API for stringfields;rizzo8-264/+228
details and examples are in include/asterisk/stringfields.h. Not applicable to older branches except for 1.4 which will receive a fix for the routines that free memory pools. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88454 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-03Revert commit #86119. Some users intentionally do not want colorized ↵tilghman1-9/+1
terminals, so this was a misfeature. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88437 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-03Set CLI command to the correct name. Rev 85460 introduced two 'database ↵jamesgolovich1-1/+1
show' commands when this one should have been 'database showkey' git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88422 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02fix some issues with crashing on unload, when it didn't completely load cleanlyrussell1-3/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88409 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Convert the CLI commands to the new formatrussell1-78/+116
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88408 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02propagate the DECLINE return value back to the loaderrussell1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Don't kill asterisk if extensions.lua is not present.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88371 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Show the channel unique ID in the "show channel concise" outputrussell1-2/+3
(closes issue #11148, requested by falves11, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88370 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Merge the code from asterisk/team/group/chan_unistim:russell5-0/+5805
This introduces a new channel driver, chan_unistim, that supports the Unistim VoIP protocol for Nortel phones. The following models have been confirmed to work: i2002, i2004 and i2050. (closes issue #8864) Reported by: c_hans Patches: chan_unistim.patch uploaded by c (license 304) ustm_no_conf.diff uploaded by junky (license 177) Tested by: c_hans, dbowerman, math, junky, loloski git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88368 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Merged revisions 88366 via svnmerge from file1-18/+18
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88366 | file | 2007-11-02 17:49:45 -0300 (Fri, 02 Nov 2007) | 4 lines Make subscribecontext behave as advertised. It will now look for the presence of a hint in the given context (be it subscribecontext or context). (closes issue #10702) Reported by: slavon ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88367 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Merged revisions 88328 via svnmerge from file1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r88328 | file | 2007-11-02 17:20:21 -0300 (Fri, 02 Nov 2007) | 6 lines If an INFO request within a dialog is received with a content length of 0 simply send back a 200 OK. It is valid to do this and the remote side is probably using it to make sure the signalling is still alive. (closes issue #5747) Reported by: chandi Patches: infofix-81430-1.patch uploaded by IgorG (license 20) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Fix replacing the version number when it has a '/' in it, likerussell1-1/+1
SVN-group-chan_unistim-r88326M-/trunk git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88327 f38db490-d61c-443f-a65b-d21fe96a405b