aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2006-11-01fix saying one hundred and two hundred in hebrew (issue #7810, eldadran)russell1-4/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46857 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Force poll() emulation for Darwin to always be on. It's too broken to ↵file1-1/+6
consider being used. This resolves the console issue OSX users have been seeing. I would have liked to autoconf this but I haven't been able to come up with a test case that works. Que sera. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46780 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Cleanups suggested by Russell.murf1-31/+32
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46760 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Fix "core show translation" output. Issue #8243, patch by Damin.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46716 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31add an API so that translators can activate/deactivate themselves when neededkpfleming1-6/+37
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46714 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31revert changes that were the wrong way to address this... proper fix comingkpfleming1-48/+39
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46713 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31let's set the seen flag early enough to actually make a difference...kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46712 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31don't re-do setup operations for translators that can dynamically register ↵kpfleming1-39/+48
themselves git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46711 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!oej1-23/+31
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46631 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Merged revisions 46560 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r46560 | russell | 2006-10-31 01:18:36 -0500 (Tue, 31 Oct 2006) | 3 lines When handling the case where the hostname is just an IPV4 numeric address, be sure to set the address type. (issue #8247, alexr) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Add a small tweak to the code that checks to see whether destination formatsrussell1-3/+6
are translatable based on the source format. If we have already determined that there is no translation path in one direction, don't bother checking the other direction. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46554 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30when unregistering a translator, don't rebuild the translation matrix unless ↵kpfleming1-1/+17
needed when filtering formats out of an offer, ensure we check for translation ability in both directions git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46526 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30Issue #8246 - Doxygen fixes from kshumard. oej3-6/+10
An extra big thankyou is given to everyone that contributes to doxygen! THANK YOU! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46433 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30Bind RTCP to the same IP as RTPoej1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46431 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27We should always be using _exit() after a fork() or vfork() instead of exit().russell1-1/+1
This is because exit() does some extra cleanup which in some implementations of vfork(), for example, can actually modify the state of the parent process, causing very weird bugs or crashes. (issue #7971, Nick Gavrikov) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46363 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26- If the source has no audio or no video portion, do not call powerof() torussell1-5/+20
get the format index. - Don't run through the audio and video loops if there is no audio or video portion of the source If 0 is passed to powerof, it will return -1. This value of -1 was then being used as an array index in these loops, which caused a crash on some systems. Other than this issue, this code works as we expected it to. If a format is not in the source, and we have to translation path to it, it is not offered in the list of acceptable destination formats. (fixes issue #8231) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46329 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26Fix config comment code preservation code (thanks murf!)markster2-12/+167
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46287 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25apparently developers are still not aware that they should be use ↵kpfleming5-7/+5
ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46200 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25WaitExten truncates decimals of times to wait, instead of accepting them ↵tilghman1-2/+3
(Bug 8208) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25add passthrough and file format support for G.722 16KHz audio (issue #5084, ↵kpfleming3-6/+9
original patch by andrew, updated by mithraen) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25code zone experiment: don't offer formats in the outbound INVITE that aren't ↵kpfleming1-0/+5
either passthrough or translatable git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24if multiple translators are registered for the same source/dest combination, ↵kpfleming1-2/+20
ensure that the lowest-cost one is always inserted earlier in the list git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46152 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24merge 45152 don't leak descriptors in http.crizzo1-17/+22
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46117 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24ensure that the translation matrix is properly lock-protected every place it ↵kpfleming1-4/+24
is used git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46083 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24add an API call to allow channel drivers to determine which media formats ↵kpfleming1-0/+42
are compatible (passthrough or transcode) with the format an existing channel is already using git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46082 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24Pass through a frame if we don't know what it is, rather than trying to pass atilghman1-1/+4
NULL, which will segfault a channel driver (Bug 8149) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-21Don't use promotion on Darwin because it doesn't seem to work quite right in ↵file1-2/+2
all cases, this should solve the unresolved symbol issue people have been seeing. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45817 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-18Don't modify things if we are using vfork as this is very bad and may cause ↵file1-0/+4
unexpected behavior (issue #7970 reported by Nick Gavrikov) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-18merge from trunk: move ast_variables_destroy() to a betterrizzo1-1/+1
place in handle_uri() to avoid leaking memory on non existing files. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45464 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-18Don't segfault if you're using a channel driver that doesn't turn RTCP onfile1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-18Don't attempt to access private data members of the pthread_mutex_t object,russell1-22/+6
because this does not work on all linux systems. Instead, just access the reentrancy field in the ast_mutex_info struct when DEBUG_THREADS is enabled. If DEBUG_CHANNEL_LOCKS is enabled, the developer probably has DEBUG_THREADS on as well. (issue #8139, me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45441 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17optimize the 'quick response' code a bit more... no more malloc() or ↵kpfleming2-3/+3
memset() for each response expand stringfields API a bit to allow reusing the stringfield pool on a structure when needed, and remove some unnecessary code when the structure was being freed git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45408 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13------------------------------------------------------------------------kpfleming1-2/+2
r45119 | kpfleming | 2006-10-13 17:57:42 -0500 (Fri, 13 Oct 2006) | 2 lines don't drop the entire permit/deny list when an attempt is made to add an invalid entry (BE-92) ------------------------------------------------------------------------ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45125 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Merged revisions 45030 via svnmerge from file1-9/+9
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r45030 | file | 2006-10-13 11:49:53 -0400 (Fri, 13 Oct 2006) | 2 lines Pass the right value to usleep for sleeping, and always add the background refresh item back into the scheduler if enabled since it is deleted during reload. (issue #8142 reported by p_lindheimer) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45031 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13use a configure script test for PMTU discovery control instead of just ↵kpfleming1-2/+2
assuming it's available on Linux git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45027 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-12Merged revisions 44955 via svnmerge from kpfleming2-0/+12
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44955 | kpfleming | 2006-10-12 13:31:26 -0500 (Thu, 12 Oct 2006) | 2 lines ensure that IAX2 and SIP sockets allow UDP fragmentation when running on Linux (thanks to Brian Candler on the asterisk-dev list for the tip) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44956 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-12fix a silly typo in a comment that I saw while reading the commit listrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44945 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-12append_event must be called while holding the session locknadi1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44921 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-11These are already set by the parent Makefile..qwell1-5/+0
There is no need to have this here (it doesn't actually work anyways). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44888 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-10CHANNEL() function sometime mix parameter and valuepcadach1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44809 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06Remove the seqno check for RFC2833, the handler is smart enough to not need it.file1-8/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44628 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06When the sequence number rolls over then reset the recorded sequence number ↵file1-0/+4
for DTMF (issue #8106 reported by bungalow) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44605 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06Merged revisions 44580 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44580 | file | 2006-10-06 12:52:14 -0400 (Fri, 06 Oct 2006) | 2 lines Even more frames to treat as though the remote side disappeared (issue #8097 reported by eldadran) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44581 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06make sure sockets are blocking when they should be blocking.rizzo2-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44567 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05Merged revisions 44501 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44501 | file | 2006-10-05 15:55:41 -0400 (Thu, 05 Oct 2006) | 2 lines Treat busy control frames as hangup in the file streaming core (issue #8097 reported by eldadran) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44502 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05don't segfault when an argument without a close parenthesis is foundkpfleming1-2/+2
stop parsing as soon as that situation occurs git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44476 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04make LOW_MEMORY builds actually workkpfleming1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44390 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04update thread creation code a bitkpfleming8-32/+37
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04ensure that local include files are always usedkpfleming3-5/+6
avoid a duplicate function name (term_init()) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44322 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02Merged revisions 44168 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44168 | file | 2006-10-02 13:22:27 -0400 (Mon, 02 Oct 2006) | 2 lines Shrink when current_ioc is unused. It is set to -1 when unused, not 0. (issue #7941 reported by eclubb) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44169 f38db490-d61c-443f-a65b-d21fe96a405b