Kevin P. Fleming
05eb71c699
code zone experiment: don't offer formats in the outbound INVITE that aren't either passthrough or translatable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c5f096e220
if multiple translators are registered for the same source/dest combination, ensure that the lowest-cost one is always inserted earlier in the list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e6451274d2
merge 45152 don't leak descriptors in http.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
471c0eebdc
ensure that the translation matrix is properly lock-protected every place it is used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d2b10d5f4f
add an API call to allow channel drivers to determine which media formats are compatible (passthrough or transcode) with the format an existing channel is already using
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
de9c3aaa8d
Pass through a frame if we don't know what it is, rather than trying to pass a
...
NULL, which will segfault a channel driver (Bug 8149)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
bd40b393ec
Don't use promotion on Darwin because it doesn't seem to work quite right in all cases, this should solve the unresolved symbol issue people have been seeing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
54790d5ceb
Don't modify things if we are using vfork as this is very bad and may cause unexpected behavior (issue #7970 reported by Nick Gavrikov)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
4280d28549
merge from trunk: move ast_variables_destroy() to a better
...
place in handle_uri() to avoid leaking memory on non existing files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
64a875951a
Don't segfault if you're using a channel driver that doesn't turn RTCP on
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0a78fea2ac
Don't attempt to access private data members of the pthread_mutex_t object,
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@45441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
227d415709
optimize the 'quick response' code a bit more... no more malloc() or 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@45408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
60a11a7568
------------------------------------------------------------------------
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@45125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a825206313
Merged revisions 45030 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@45031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
1944a9a07c
use a configure script test for PMTU discovery control instead of just assuming it's available on Linux
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
09f6a6a167
Merged revisions 44955 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@44956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
def01ced3d
fix a silly typo in a comment that I saw while reading the commit list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Nadi Sarrar
8adb217804
append_event must be called while holding the session lock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
3c72ad9cb1
These are already set by the parent Makefile..
...
There is no need to have this here (it doesn't actually work anyways).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
53024e3508
CHANNEL() function sometime mix parameter and value
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
faf38b71ef
Remove the seqno check for RFC2833, the handler is smart enough to not need it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2d3da5b500
When the sequence number rolls over then reset the recorded sequence number for DTMF (issue #8106 reported by bungalow)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1a5c679e51
Merged revisions 44580 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@44581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
f24ec459b2
make sure sockets are blocking when they should be blocking.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
dba3dae7f8
Merged revisions 44501 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@44502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6a70807a36
don't segfault when an argument without a close parenthesis is found
...
stop parsing as soon as that situation occurs
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
5c4434d0e7
make LOW_MEMORY builds actually work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ff05bf15c8
update thread creation code a bit
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@44378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fc72291807
ensure that local include files are always used
...
avoid a duplicate function name (term_init())
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e7a2e3cb07
Merged revisions 44168 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@44169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
b0bb62a7e5
Allow one-way RTP streams (device->Asterisk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
719ba6b535
fix two recent build problems:
...
- with AST_DEVMODE, building codecs/lpc10 fails because of lots
of warnings, and the configure step in editline fails as well.
Fix this by removing the -Werror in these steps.
- on FreeBSD (but probably on other platforms as well), the final
link of asterisk fails because AST_LIBS was not exported to the
subdirs Makefiles. Add a proper fix in the top-level Makefile
(a possible alternative way is to add "export AST_LIBS" near
the beginning of the file).
With this fix, i believe that some of the platform-specific
conditionals in main/Makefile are redundant (because they should
be already dealt with in the top level Makefile) but i don't
have a platform to check.
Merging to head will happen in a moment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ec2e4f2216
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
2a5feb5485
Fix a bug with the removal of 'atleast' argument to 'core verbose' and 'core debug'.
...
Add that argument back in.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
26524583fc
yet another place where we were not using the correct CFLAGS by default
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
37f61d385a
missed one conversion to ASTCFLAGS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
704397dc3c
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c2475110cc
proper fix for ast_group_t change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d2d4833b79
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
cdf62550ed
Warning be gone!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
81c8f6b539
Merged revisions 43895 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43895 | kpfleming | 2006-09-28 11:32:44 -0500 (Thu, 28 Sep 2006) | 2 lines
eliminate compiler warning introduced by recent changes
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
13663f59cf
Don't warn on HOLD/UNHOLD control frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
8d881f8be0
Don't treat unknown control frames as voice
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
482c18499e
Fix an issue with PLAYBACKSTATUS not being set under certain circumstances.
...
Fix a minor issue, to make it use the filenames that were parsed, instead of the entire argument string.
Fix Background() to return -1 like Playback(), if no args are specified.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f149686e8b
Compensate for out of order packets better if RFC2833 compensation is turned on.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
439f15bdb9
Merged revisions 43778 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43778 | russell | 2006-09-27 12:54:30 -0400 (Wed, 27 Sep 2006) | 42 lines
Fix a problem that occurred if a user entered a digit that matched a bridge
feature that was configured using multiple digits, and the digit that was
pressed timed out in the feature digit timeout period. For example, if blind
transfer is configured as '##', and a user presses just '#'. In this situation,
the call would lock up and no longer pass any frames.
(issue #7977 reported by festr, and issue #7982 reported by michaels and
valuable input provided by mneuhauser and kuj. Fixed by me, with testing help
and peer review from Joshua Colp).
There are a couple of issues involved in this fix:
1) When ast_generic_bridge determines that there has been a timeout, it returned
AST_BRIDGE_RETRY. Then, when ast_channel_bridge gets this result, it calls
ast_generic_bridge over again with the same timestamp for the next event.
This results in an endless loop of nothing until the call is terminated.
This is resolved by simply changing ast_generic_bridge to return
AST_BRIDGE_COMPLETE when it sees a timeout.
2) I also changed ast_channel_bridge such that if in the process of calculating
the time until the next event, it knows a timeout has already occured, to
immediately return AST_BRIDGE_COMPLETE instead of attempting to bridge the
channels anyway.
3) In the process of testing the previous two changes, I ran into a problem in
res_features where ast_channel_bridge would return because it determined
that there was a timeout. However, ast_bridge_call in res_features would
then determine by its own calculation that there was still 1 ms before the
timeout really occurs. It would then proceed, and since the bridge broke
out and did *not* return a frame, it interpreted this as the call was over
and hung up the channels.
The reason for this was because ast_bridge_call in res_features and
ast_channel_bridge in channel.c were using different times for their
calculations. channel.c uses the start_time on the bridge config, which
is the time that the feature digit was recieved. However, res_features
had another time, 'start', which was set right before calling
ast_channel_bridge. 'start' will always be slightly after start_time in the
bridge config, and sometimes enough to round up to one ms.
This is fixed by making ast_bridge_call use the same time as
ast_channel_bridge for the timeout calculation.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
8857675a88
(This was actually BE-65)
...
Merged revisions 43708 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43708 | russell | 2006-09-26 16:49:21 -0400 (Tue, 26 Sep 2006) | 7 lines
Back in revision 4798, this message was changed from using ast_cli() to directly
calling write(). During this change, checking if this was a remote console was
removed. This caused this message about using "exit" or "quit" to exit an
Asterisk console to come up in times where it did not make sense. This change
restores the check to see if this is a remote console before printing the
message. (fixes BE-4)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2862b777fe
Merged revisions 43705 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43705 | file | 2006-09-26 16:38:06 -0400 (Tue, 26 Sep 2006) | 2 lines
Use proper type to represent the group variable (issue #8025 reported by makoto)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d95288fdf8
Slight overhaul of the whisper support. 1. We need to duplicate the frame from ast_translate 2. We need to ensure we always have signed linear coming in for signed linear combining. 3. We need to ensure we are always feeding signed linear out. 4. Properly store and restore write format when beeping on the channel we are whispering on. 5. Properly discontinue the stream on the channel for the beep. (issue #8019 reported by timkelly1980)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
49e903f56d
Issue #8015 , patch by Dan Austin.
...
Maximum values were incorrect, which is why this is being put in 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
408d4b978f
Make sure we explicitly set the CLI command to not be deprecated, if it isn't.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
53ff7ae7cd
all the Linux systems I have don't use '__m_count' for this field, so I don't know where this came from...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
33acd61f53
Suppress a compiler warning about the use of a potentially uninitialized
...
variable. It couldn't actually happen, though.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
16a2f6e64f
add another attempt to strip non-API symbols from the final binary... script will need to be extended to work on non-Linux systems
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
44983fae40
remove this change... it requires binutils 2.17
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
97502fdec0
Fix the total allocation count and total byte count in the memory summary
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
28ffdcc783
Fix the memory summary so that it doesn't print the first file in the list over
...
and over again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6f442c4a3c
fix some breakage from the CLI command changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
70af28270d
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
9ae105df1d
don't let symbols from included static libraries (like codec/ilbc) pollute the global namespace when those modules are embedded
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3c6d5053ba
Totally break a P2P bridge upon going on hold, and re-establish it upon going off hold.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
659d467720
Expand codec check so that raw formats must be equal for a Packet2Packet bridge to occur
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
4c2874b994
Commit the changes from issue #5240 .
...
Original patch by junky, modified by anthonyl, modified again by jcolp (with minor modifications by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
1485fa4c24
move this header to include where it belongs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
fc60c151d3
After discussing this with other people, we decided we'd like to try to do this a little differently.
...
Stay tuned.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Anthony LaMantia
3f3402d69e
5240 update
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
2cc96500bd
Mergeing in Paul Cadach's chan_h323 changes *holds breath*
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
d0a1a0033d
similar patch for verbose vs debug with minor changes
...
bug 2617
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d544223d02
Warning be gone!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
465adf2bf1
allow for packetization on rtp channel drivers, need to add
...
option for setting our own packetization as apposed to just doing
what is asked.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
998ac5cab1
Only use alloca.h on OSes that have it.
...
Reported by jontow on IRC in #asterisk-dev
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c97841dbf7
always use fork() when available
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fcb999c01c
merge qwell's CLI verbification work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
5cf1c12796
it appears that current Mac OS/X does not need the poll compatibility module at all, and platforms that do need it also need -DPOLLCOMPAT (or they wouldn't have compiled at all)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c2c4f86c72
merge markster's usersconf branch with some slight changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
f18cbf77df
Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
...
Every OS uses strcompat now - this was done on purpose.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Anthony LaMantia
e421b69ce6
reveting modifaction to __ast_module_user_remove
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
10e6fbc3bc
Tweak changes that went in on revision 42891
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Anthony LaMantia
09d8972be6
small fix for 7944
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0f3eaaf703
Merged revisions 42600 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42600 | file | 2006-09-09 16:24:19 -0400 (Sat, 09 Sep 2006) | 2 lines
Only truly consider the channel in the same format if the format matches the raw format OR if a translation path already exists to translate between them. (issue #7887 reported by softins & issue #7803 reported by alvaro_palma_aste). Thanks goes to stubert for giving me access to a box and showing me a scenario where this occured.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d2a359e57f
Optimize a bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
10e361763c
It's another round of RTP updates!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
160cea6139
Merged revisions 42452 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42452 | file | 2006-09-08 14:50:43 -0400 (Fri, 08 Sep 2006) | 2 lines
Swap spies during masquerading
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d597b76c36
whentohangup is already in seconds, just need to convert to milliseconds
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8a2dd45283
Merged revisions 42260 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42260 | file | 2006-09-07 12:30:44 -0400 (Thu, 07 Sep 2006) | 2 lines
Let's use the same thing we use in other places to calculate our time for ast_cond_timedwait (issue #7697 reported by bn999)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
11a7e38930
Made changes corresponding to those in 1.2 here in main/logger.c for bug 7544.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d5f812e0b1
don't try to get the length of the string in the ast_dynamic_str object unless we know there is actually one there
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
bc5924120d
Remove old unused functions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
55d594e9da
Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4de3c0e447
Add the ability to specify that a frame should not be considered for caching
...
for uses in cases where you *know* that it will do no good. This patch was
inspired by file for use in some work of his on mixmonitor/chanspy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3057660a79
when calling this function to append to a dynamic string and the buffer was not
...
large enough and had to be reallocated, cut off the partially appended data.
Otherwise, the function will get called over and over again appending to the
end every time and never thinking it has enough room.
Thanks to jmls for access to his machine for debugging!
(issue #7691 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
ffd9281db9
Provide a little more protection to make sure that a MOH class is specified when using the 'm' option with WaitExten, and prevent a segfault in the process.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
bbc9c049ab
Fix enum indexing problem with m() in WaitExten. Reported by Pavel J, in asterisk-dev.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6fdd2ef790
Tweak the if statement a bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
e576ac0930
Don't use ast_frdup() in the AST_LIST_INSERT_TAIL macro directly. That was a
...
very stupid thing to do. It ends up duplicating the frame twice, linking in
one of them and setting the tail pointer to the other one. Sorry ...
Thanks to file for pointing out the breakage!!! file rocks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f912c9e69f
Unbridge the RTP streams at the correct place
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0be2884d80
If we are doing video and we can't reinvite, then resort to generic bridging instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b4d0f26d2b
You see nothing...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
a845587805
Another formatting update for PCadach.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
043a01e6bd
0 is indeed considered a valid file descriptor (issue #7861 reported by PCadach)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago