Joshua Colp
cb11263607
We need to ensure timelimit stuff is included as well so warnings get played. (issue #8050 reported by KNK)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3302cbea3e
don't try to call fclose() if fopen() failed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7a5771161e
Merged revisions 47686,47688-47689 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47686 | kpfleming | 2006-11-15 13:42:05 -0600 (Wed, 15 Nov 2006) | 2 lines
clear the category's variable tail pointer as well when variables are detached from it
........
r47688 | kpfleming | 2006-11-15 13:47:43 -0600 (Wed, 15 Nov 2006) | 2 lines
when appending a list of variable to a category, ensure the tail pointer points to the last variable in the list
........
r47689 | kpfleming | 2006-11-15 13:58:46 -0600 (Wed, 15 Nov 2006) | 2 lines
when re-writing the config file, don't repeat the path if it hasn't changed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cb4ed839c3
Merged revisions 47682 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47682 | kpfleming | 2006-11-15 12:39:47 -0600 (Wed, 15 Nov 2006) | 2 lines
ouch... don't use printf, use ast_log/ast_verbose
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
a9057b2c65
fix longest match search in find_cli.
...
Trunk already fixed.
1.2 not affected (well, i have no idea, the code is totally
different there).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
bc6cff37bc
If NAT detection is turned on or already detected then say NAT is active when setting the remote RTP peer when doing early bridging. (issue #8365 reported by marcelbarbulescu)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
8dc804fafe
more formatting cleanup, and avoid running off the end of the string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
708b84da2f
Turn notice about unknown RTCP packet type into a debug message instead.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
2a0ac6ad9a
This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
6e4d0e50c8
Re-enable old deprecated commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6351e6bb2c
Free full command string upon unregistering of CLI command. Backported from revision 47536 from rizzo.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
7ac2161b50
Tweak the formatting of this new function to better conform to coding guidelines.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
5b02ba2bf1
woohoo safe out put!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f11ea0549d
Discussion of these CLI changes resulted in more consistency (Bug 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5654be2803
fix tab completion for "core debug channel" and "core no debug channel"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
795ba043e2
Fix "core show channel". Also, fix tab completion for both "core show channel"
...
and "core show channels".
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6609cebaf2
Fix "core debug channel <whatever>". I guess someone needs to go through and
...
audit every CLI command that changed number of arguments ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9009cfcf79
revert the previous change, which actually modified the deprecated command,
...
"show profile". Now, actually apply the change to "core show profile".
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
38be3e38e2
Fix argument parsing for the "core show profile" CLI command
...
(fixed by rizzo in his branch, team/rizzo/astobj2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0b927d2208
Fix another CLI command, "core show uptime" ...
...
(issue #8323 , reported by johnlange, fixed by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
15ba13f1ec
fix "core show version" to reflect the new number of arguments for this
...
CLI command (issue #8316 , kshumard)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
729ce4d791
This update fixes 7531
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ea53cfcea3
the battle over CLI command formats has broken stuff...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
517978fd5f
These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c8ee894823
Fix another bug in "core set debug" ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
789234df2d
Really fix the "core set debug" and "core set verbose" CLI commands.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
da6cf383d4
fix the "atleast" option to the "core set verbose" and "core set debug"
...
CLI commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
56a1e60c54
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e05a2752e8
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
105fa492b4
Add the missing call to free described in issue #8268 . Also, add a bunch of
...
missing calls to free in callerid_feed_jp().
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
e626d78269
fix saying one hundred and two hundred in hebrew (issue #7810 , eldadran)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
673e9f53a8
Force poll() emulation for Darwin to always be on. It's too broken to 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@46780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
a0078bbbc0
Cleanups suggested by Russell.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
b12229c1ff
Fix "core show translation" output. Issue #8243 , patch by Damin.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f532d2f198
add an API so that translators can activate/deactivate themselves when needed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
160a0448c2
revert changes that were the wrong way to address this... proper fix coming
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f725940328
let's set the seen flag early enough to actually make a difference...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
59186bb2d2
don't re-do setup operations for translators that can dynamically register themselves
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d318976f4d
Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
e998b2b609
Merged revisions 46560 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@46561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
68720145e3
Add a small tweak to the code that checks to see whether destination formats
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@46554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d8817c0d3c
when unregistering a translator, don't rebuild the translation matrix unless needed
...
when filtering formats out of an offer, ensure we check for translation ability in both directions
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
86c973f71f
Issue #8246 - Doxygen fixes from kshumard.
...
An extra big thankyou is given to everyone that contributes to doxygen!
THANK YOU!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e93e64a005
Bind RTCP to the same IP as RTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d7f9b5f912
We should always be using _exit() after a fork() or vfork() instead of exit().
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@46363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
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
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