aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-07-26use new canonical name for download serverkpfleming2-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77424 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26AST_DEVMODE was defined in trunk, but not in 1.4. When Asterisk is compiledrussell2-1/+5
under dev mode, AST_DEVMODE will get defined in buildopts.h. Change 1.4 to define it in the same way that trunk does. Also, revert the change that added this define in the Makefile The advantage to doing it this way is that buildopts.h gets installed when you install Asterisk. Then, when building any out of tree modules, or building asterisk-addons, these modules know which options the rest of Asterisk was built with. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77410 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Fixes to get ast_backtrace working properly. The AST_DEVMODE macro was never ↵mmichelson2-1/+5
defined so the majority of ast_backtrace never attempted compilation. The makefile now defines AST_DEVMODE if configure was run with --enable-dev-mode. Also, changes were made to acccomodate 64 bit systems in ast_backtrace. Thanks to qwell, kpfleming, and Corydon76 for their roles in allowing me to get this committed git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77380 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Missed onetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77350 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Oops, that builtin define should be all-lowercase.tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77348 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Two consecutive calls to PQfinish could occur, meaning free gets called on ↵mmichelson1-2/+3
the same variable twice. This patch sets the connection to NULL after calls to PQfinish so that the problem does not occur. Also in this patch, prashant_jois informed me that it is safe to pass a null pointer to PQfinish, so I have removed the check for conn's existence from my_unload_module. (closes issue 10295, reported by junky, patched by me with input from prashant_jois) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77318 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25This fix solves problem with intense squelch noise when someone joins conf ↵murf1-21/+27
in bug 9430; We repro'd the problem with meetme opts of 'CciMo'; Josh Colp supplied this patch, and I'm applying it. It looks like playing the recorded username will louse up the next thing played into the channel. Josh rearranged the code so as to start things over before playing data directly into the conference. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77191 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25(closes issue #10303)file1-2/+10
Reported by: jtodd Add SPEECH_DTMF_TERMINATOR variable so the user can specify the digit to terminate a DTMF string with. If none is specified then no terminator will be used. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25chan->emulate_dtmf_duration is an unsigned int, not a signed int, so use %u ↵mmichelson1-1/+1
instead of %d in the format string git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77154 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25so are my fingers...qwell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77136 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25autotagexternals script is still obviously misbehaving...qwell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77135 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25use autotagged externalsqwell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77116 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Fix autoconf logic for finding OpenH323 when it is not in the first place ↵file2-182/+47
searched (/usr/share/openh323). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25set the sequence number in a frame for all frame typesrizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77022 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25Merged revisions 76978 via svnmerge from murf1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76978 | murf | 2007-07-24 18:07:24 -0600 (Tue, 24 Jul 2007) | 1 line this fixes bug 10293, where the error message because defaultzone or loadzone was not defined was confusing ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76983 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Merged revisions 76934 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76934 | tilghman | 2007-07-24 17:11:33 -0500 (Tue, 24 Jul 2007) | 2 lines Oops, res contains the error code, not errno. I was wondering why a mutex was reporting "No such file or directory"... ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76937 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Found another place where we should be using the umask (thanks jcmoore)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76891 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Blocked revisions 76802 via svnmergeqwell0-0/+0
........ r76802 | qwell | 2007-07-24 11:32:04 -0500 (Tue, 24 Jul 2007) | 3 lines Don't create the Asterisk channel until we are starting the PBX on it. (ASA-2007-018) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76805 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Don't create the Asterisk channel until we are starting the PBX on it.qwell1-16/+13
(ASA-2007-018) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76803 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Added a membercount variable to call_queue struct which keeps track of the ↵mmichelson1-11/+19
number of logged in members in a particular queue. This makes it so that the 'n' option for Queue() can act properly depending on which strategy is used. If the strategy is roundrobin, rrmemory, or ringall, we want to ring each phone once before moving on in the dialplan. However, if any other strategy is used, we will only ring one phone since it cannot be guaranteed that a different phone will ring on subsequent attempts to ring a phone. As a side effect of this, the QUEUE_MEMBER_COUNT dialplan function now just reads the membercount variable instead of traversing through the member list to figure out how many members there are. Special thanks to blitzrage for helping to test this out. (closes issue #10127, reported by bcnit, patched by me, tested by blitzrage) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76801 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23It was our stated intention for 1.4 that files created in app_voicemail shouldtilghman1-0/+7
depend upon the umask. Unfortunately, mkstemp() creates files with mode 0600, regardless of the umask. This corrects that deficiency. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76708 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Fix some incorrect softkey labels in messages.qwell1-8/+3
Don't try to play dialtone in some unimplemented features. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76656 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76653 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76653 | file | 2007-07-23 15:28:13 -0300 (Mon, 23 Jul 2007) | 4 lines (closes issue #5866) Reported by: tyler Do not force channel format changes when a generator is present. The generator may have changed the formats itself and changing them back would cause issues. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76654 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Don't try to queue up hold/unhold frames on a non-existent channel.qwell1-0/+8
Issue 10276. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76620 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Allow app_morsecode to build on PPC Linux by putting the value of the digit ↵file1-2/+3
char in an int. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76618 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Merged revisions 76560 via svnmerge from file1-1/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76560 | file | 2007-07-23 11:32:07 -0300 (Mon, 23 Jul 2007) | 6 lines (closes issue #10236) Reported by: homesick Patches: rpid_1.4_75840.patch uploaded by homesick (license 91) Accept Remote Party ID on guest calls. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76561 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23(closes issue #10268)file1-1/+1
Reported by: mvanbaak Patches: chan_skinny_openbsd.diff uploaded by mvanbaak (license 7) Add another OS that has to use the Macros for byte ordering. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76519 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23Use a signed integer for storing the number of bytes in the packet read fromrussell1-1/+1
the network. Using an unsigned value here made it impossible to handle an error returned from recvfrom(). Furthermore, in the case that recvfrom() did return an error, this would cause a crash due to a heap overflow. (closes issue #10265, reported by and fix suggested by timrobbins) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76485 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-22Blocked revisions 76409 via svnmergetilghman0-0/+0
........ r76409 | tilghman | 2007-07-22 16:39:55 -0500 (Sun, 22 Jul 2007) | 2 lines We should not use C++ reserved words in API headers (closes issue #10266) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76410 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-21Merged revisions 76226 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76226 | russell | 2007-07-20 21:01:46 -0500 (Fri, 20 Jul 2007) | 4 lines Backport a fix for a memory leak that was fixed in trunk in reivision 76221 by rizzo. The memory used for the localaddr list was not freed during a configuration reload. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76227 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20This patch from 10249 is worth applying! It prevents downloading sound files ↵murf1-3/+3
if they are already downloaded. Darn Practical, if you ask me git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20Allow getting a call from an existing "sub" channel.qwell1-26/+25
Cancel ringing if endpoint hangs up before answering. Fixes were backported from trunk (there was apparently a bit of confusion during merge of a previous patch). (closes issue #10241) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76178 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20Eliminate a compiler warning with gcc 4.2 by constifying a char *qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20It's possible for sub->owner to be NULL here if you cancel the call ↵qwell1-1/+1
immediately after/during sending a digit. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76174 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20When using users.conf for the entries in the directory, if multiple users ↵mmichelson1-2/+9
had the same last name, only the first user listed would be available in the directory. (closes issue #10200, reported by mrskippy, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76139 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20Use the define that specifies the default length of an artificially createdrussell1-2/+2
DTMF digit in the ast_senddigit() function. The define is set to 100ms by default, which is the same thing that this function was using. But, using the define lets changes take effect in this case, as well as the others where it was already used. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76132 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20Merged revisions 76080 via svnmerge from file1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76080 | file | 2007-07-20 14:16:48 -0300 (Fri, 20 Jul 2007) | 6 lines (closes issue #10247) Reported by: fkasumovic Patches: chan_sip.patch uploaded by fkasumovic (license #101) Drop any peer realm authentication entries when reloading so multiple entries do not get added to the peer. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76087 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20(closes issue #10246)file1-1/+4
Reported by: fkasumovic Patches: res_conver.patch uploaded by fkasumovic (license #101) Use the last occurance of . to find the extension, not the first occurance. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20Move makeannouncement variable declaration to proper place.file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76054 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-19Remove some duplicate code.qwell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75980 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-19The diff on this looks pretty big but all I did was remove a pointless if ↵mmichelson1-81/+78
statement (always evaluates true). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75978 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-19Changes in handling return values of several functions in app_queue. This ↵mmichelson1-96/+70
all started as a fix for issue #10008 but now includes all of the following changes: 1. Simplifying the code to handle positive return values from ast API calls. 2. Removing the background_file function. 3. The fix for issue #10008 (closes issue #10008, reported and patched by dimas) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75969 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-19Merged revisions 75927 via svnmerge from russell1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75927 | russell | 2007-07-19 10:49:42 -0500 (Thu, 19 Jul 2007) | 6 lines When processing full frames, take sequence number wraparound into account when deciding whether or not we need to request retransmissions by sending a VNAK. This code could cause VNAKs to be sent erroneously in some cases, and to not be sent in other cases when it should have been. (closes issue #10237, reported and patched by mihai) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75928 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Need to make sure we set milliseconds and timestamp - pointed out by the ↵qwell1-0/+2
recent ast_ time stuff from Tilghman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75807 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Merged revisions 75757 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75757 | russell | 2007-07-18 16:09:13 -0500 (Wed, 18 Jul 2007) | 5 lines When traversing the queue of frames for possible retransmission after receiving a VNAK, handle sequence number wraparound so that all frames that should be retransmitted actually do get retransmitted. (issue #10227, reported and patched by mihai) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75759 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Merged revisions 75748 via svnmerge from tilghman1-1/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75748 | tilghman | 2007-07-18 15:31:36 -0500 (Wed, 18 Jul 2007) | 2 lines Store prior to copy (closes issue #10193) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75749 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Umm, why are we transmitting dialtone on cfwdall?qwell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75732 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode ↵file4-10/+7
using GCC 4.2. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75712 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Fixes for 7935/7936 conference phones.qwell1-19/+96
Issue 9245, patch by slimey. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75711 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18Fix issues with new 79x1 phones.qwell1-11/+20
Issue 9887, patches by DEA git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75707 f38db490-d61c-443f-a65b-d21fe96a405b