Russell Bryant
3cb7bcd6d7
- If the source has no audio or no video portion, do not call powerof() to
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@46329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
58f292feae
update to reflect G.722 addition
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
10a3540c54
update backtrace documentation to reflect changes in 1.4 (issue #8230 , kshumard)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
72146fab32
Fix config comment code preservation code (thanks murf!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
77e12e971c
Old todo note - Don't add Contact header on BYE and Cancel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
020e4f9725
regenerate configure script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
456186af50
fix error output when checking for openh323 to refer to openh323 instead
...
of pwlib (issue #8222 , misaksen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b36a4fad1b
Somewhat ugly code to try to fix issue #7608 .
...
Since the problem was not very well defined, the fix is a bit fuzzy too...
Thanks to Luigi for accidentally spotting the possible problem!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
28d9579584
update warning message to include "agi" option (issue #8225 , jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
54fd44e6f8
use 1.4.3 extra sounds with corrected silence files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cb32f7d941
add support for prebuilt G.722 prompts and music on hold files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
03b4e17d23
show settings doesn't produce a list
...
of similar objects, it should stay a "show"
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5d635e969e
Block change to 1.2 that was already committed to 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ce4b0afb73
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ab677899a7
WaitExten truncates decimals of times to wait, instead of accepting them (Bug 8208)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6c17f1e07e
add passthrough and file format support for G.722 16KHz audio (issue #5084 , original patch by andrew, updated by mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
Mark Spencer
72a23ce184
Fix FastAGI when there is no pid (bug #7628 , #8147 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c6b9449955
We need to initialize our scheduler pthread condition... yes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46130 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
Luigi Rizzo
50fda8522d
merge 45966 refer_to_domain potentially containing options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
d7b0db6530
merge 46026 improper checks on get_header() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
fa4d6f23a6
merge 46045 prevent NULL args to ast_strdupa() in chan_sip.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5cc4200696
Restore the ability to remove the firmware directory without causing the
...
installation to fail (issue #8111 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46093 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
Kevin P. Fleming
eee62843d5
simplify and correct voicemail IMAP storage build instructions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46080 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
Russell Bryant
5a2f8ea4b7
In muted.c, check the return value of strdup. In ael_main.c, check the return
...
value of calloc. (issue #8157 )
In passing fix a few minor bugs in ael_main.c. The last argument to strncpy()
was a hard-coded 100, where it should have been 99. I changed this to use
sizeof() - 1.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6a74bc409c
Fix the descriptions of some of the MeetMeAdmin options (issue #8098 , mflorell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
edb73def8e
don't crash when an incoming message has no "from" (issue #8205 , jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7a0a5b1480
Merged revisions 45927 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45927 | file | 2006-10-22 20:25:28 -0400 (Sun, 22 Oct 2006) | 2 lines
Don't leak memory mmmk?
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
c01e86f14e
Merged revisions 45808 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45808 | crichter | 2006-10-21 14:35:13 +0200 (Sat, 21 Oct 2006) | 1 line
fixed issue, that if chan_misdn is loaded and couldn't be initialized it would cause a segfault after 'reload'. Reported by Drew/Matt thx.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4ebacc1d00
Add a couple missing unregistrations of manager actions and remove duplicate
...
unregistrations of applications. (issue #8194 , jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45818 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
8deedb83fa
Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2681aea6b2
Let's understand SIP:
...
- REFER can create dialog, Asterisk does not support it yet
- NOTIFY can create dialog in Asterisk's implementation (voicemail) even though
we don't support the server side of it. In this case, the standard is a side issue ;-)
- Added extened functionality for unsupported methods (PING, PUBLISH) so we don't
create PVT's for those either.
Russellb needs to judge what to do with this in 1.2, but I think the current implementation
n 1.2 is a bug since we're sending bad replies to NOTIFY and REFER outside of dialogs
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9ab793dcf8
Let's remember to unregister JabberStatus too (issue #8184 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d7329034ea
Merged revisions 45691 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45691 | file | 2006-10-19 13:16:37 -0400 (Thu, 19 Oct 2006) | 2 lines
Respect language selection when seeing if the file exists (issue #8178 reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
67c180956c
If the jitterbuffer is forced on then we can't partially bridge (reported by wangster on #asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a37a95c0d8
Cleaning up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
87cb020143
Don't leak the actual thread-specific sip_pvt struct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2f6a555fbd
don't leak memory when a chan_sip thread is destroyed that has a thread-local temp_pvt allocated
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45621 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
Olle Johansson
9bd68dd32c
remove duplicate declarations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45517 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
Russell Bryant
8273d95be3
update entry to reboot a snom phone (issue #7850 , pnlarsson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago