Joshua Colp
66d3792f11
Merged revisions 47284 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47284 | file | 2006-11-07 15:08:52 -0500 (Tue, 07 Nov 2006) | 2 lines
Make MOH work as it did before in chan_local, without this then it can go funky when transfers and MOH are involved. (issue #7671 reported by jmls)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 20:12:30 +00:00
Kevin P. Fleming
8b8d8d0b24
Merged revisions 47279 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47279 | kpfleming | 2006-11-07 12:56:21 -0600 (Tue, 07 Nov 2006) | 2 lines
clean up sample config, and make native file playback the more obvious default choice
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 18:56:56 +00:00
Matt O'Gorman
f9517eb385
rge overhaul to voicemail imap support. Allows support for more imap servers,
...
also a better implementation of several parts of the original work.
patch provided by 8033 with major upgrades. minor differences from 1.4 patch do to
changes in app_voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 18:50:58 +00:00
Olle Johansson
b557aeda38
Break -> continue to make stuff work... Thanks, Luigi!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 17:33:24 +00:00
Kevin P. Fleming
15678d4c86
remove another broken property merge
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 14:25:00 +00:00
Kevin P. Fleming
b3d2d4c494
remove properties that shouldn't be merged to this branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 14:24:19 +00:00
Kevin P. Fleming
c8421ba92a
use editable URL for menuselect, and switch to trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 14:17:53 +00:00
Olle Johansson
20af2870d9
issue #8265 - don't reply to ACK. Imported from 1.2, 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 13:26:31 +00:00
Olle Johansson
8e73644bb8
Stealing Tilghman's explanation from the -dev list and producing documentation...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 13:16:05 +00:00
Luigi Rizzo
403135f646
explain why ast_carefulwrite is written the way it is,
...
and also that it doesn't really work as claimed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 08:34:26 +00:00
Russell Bryant
89d48b53a2
Merged revisions 47239 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47239 | russell | 2006-11-06 20:25:10 -0500 (Mon, 06 Nov 2006) | 13 lines
Merged revisions 47238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47238 | russell | 2006-11-06 20:22:58 -0500 (Mon, 06 Nov 2006) | 5 lines
If random order is enabled for files mode music on hold, set a random initial
position, instead of always starting at the first file, and doing the random
operation only when switching to the next file.
(bug reported by John Lange on the asterisk-dev mailing list)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 01:28:08 +00:00
Russell Bryant
0f621aa13e
check for failure after call to calloc() (issue #8295 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-06 18:05:11 +00:00
Kevin P. Fleming
ce40dc579c
minor change to test live syncing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-06 17:27:28 +00:00
Joshua Colp
980ce017ec
Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-06 17:05:04 +00:00
Russell Bryant
908b6ed6bc
Make pbx_dundi compile again. Sorry. :(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-05 01:04:29 +00:00
Russell Bryant
729620dd3f
List ss7 with the rest of the valid signalling types. Group SS7 options
...
together and comment them out by default.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 22:41:12 +00:00
Olle Johansson
7d368caa98
Don't lock dialoglist if monitor runs __sip_destroy.
...
Hmmm. I did not change pbx_dundi and yet it doesn't compile ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 22:16:57 +00:00
Russell Bryant
b1e7dd843a
use the AST_MODULE_LOAD_* return codes from load_module()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 22:08:35 +00:00
Russell Bryant
121bd75fcc
simplify a couple of loops
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 21:54:37 +00:00
Olle Johansson
80293c2ed8
Move IP address selection for media out of add_sdp
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 21:48:02 +00:00
Russell Bryant
4b5ad8fb98
Do some minor cleanup to the section of code that sets the EID by getting the
...
mac address for an ethernet interface
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 21:44:48 +00:00
Olle Johansson
18b694d318
Make srvlookup global_srvlookup to follow the rest of the code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 21:17:40 +00:00
Olle Johansson
fe5440b7c8
Simplify previous patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 19:20:30 +00:00
Olle Johansson
d900b47ccf
Adding new config option "limitpeersonly" to only apply call limits
...
to the peer side of a type=friend.
This is for trying to support BJ in his quest to solve some issues
with the queue system and type=friend objects.
BJ: Please test!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 19:13:30 +00:00
Olle Johansson
338c18486c
Importing patch for Invite/replaces from 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 18:40:51 +00:00
Russell Bryant
18693a45dc
Merged revisions 47196 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47196 | russell | 2006-11-04 13:10:22 -0500 (Sat, 04 Nov 2006) | 2 lines
Fix another bug in "core set debug" ...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 18:12:31 +00:00
Russell Bryant
9297a1a8f9
Merged revisions 47195 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47195 | russell | 2006-11-04 12:59:39 -0500 (Sat, 04 Nov 2006) | 2 lines
Really fix the "core set debug" and "core set verbose" CLI commands.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 18:11:18 +00:00
Olle Johansson
37e39111c5
Reverting rev 47093 until we have an agreement on how to
...
implement this, if at all.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 17:45:47 +00:00
Russell Bryant
7ee7429cf7
Merged revisions 47192 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47192 | russell | 2006-11-04 12:38:24 -0500 (Sat, 04 Nov 2006) | 3 lines
fix the "atleast" option to the "core set verbose" and "core set debug"
CLI commands
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 17:40:42 +00:00
Luigi Rizzo
8b3fe4556c
move out another large block to a large function, and document
...
some possibly missing parts in the privacy screening code.
Now that it is more streamlined it is easier to see differences
in handling the various cases.
Have not tested the code in depth.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 11:00:49 +00:00
Luigi Rizzo
ad2589bc01
useless cast removal...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 01:40:49 +00:00
Luigi Rizzo
ce68e30a07
remove many unnecessary casts
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 01:34:59 +00:00
Luigi Rizzo
84c8e348ba
remove a useless cast
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 01:32:31 +00:00
Luigi Rizzo
0b8669b87e
document the "debug" parameter, and the change
...
manager list -> manager show
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 01:20:38 +00:00
Luigi Rizzo
a55ca0d6ec
fix indentation of a block, and do minor simplifications at the end of
...
another one.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 01:16:20 +00:00
Luigi Rizzo
0f58d97707
complete previous commit.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 00:56:02 +00:00
Luigi Rizzo
01ec7d63d9
move another block into a function.
...
On passing, avoid two null-pointer string dereference
while printing messages (which are
sometimes not fatal in some platforms, but still wrong).
These two lines at least should be merged to 1.4 once i am
done with all the changes here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 00:50:18 +00:00
Luigi Rizzo
1385b6f047
move a large block into a separate function.
...
Mark with XXX a possible bug in previous code which used
the wrong source in case of a forwarded call.
the function do_forward() needs to be split further, as the initial
part is replicated in another places (with some minor differences, most likely
forgotten when updating after the copy).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 00:01:40 +00:00
Steve Murphy
65beb9dc10
This fix introduced via bug 8233
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 23:27:58 +00:00
Luigi Rizzo
ab4f699065
another small set of simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 23:24:21 +00:00
Luigi Rizzo
acf5e87b0f
change HANDLE_CAUSE into a function.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 22:36:17 +00:00
Luigi Rizzo
c3a6bbddb8
remove redundant checks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 22:01:34 +00:00
Luigi Rizzo
534da0ecfd
start integrating the simplifications proposed in bug 0005860,
...
as usual a bit at a time to ease locating new bugs or fixes
worth merging into other branches.
In this commit, introduce a macro, S_REPLACE, that replaces
a string possibly freeing the previous value.
In one of these places (see the comment marked XXX) the previous
code might leak memory - if so, this ought to be merged in 1.4
The macro might be worth putting in one of the global headers
(e.g. include/asterisk/strings.h) as the construct is used
in a million places in the asterisk code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 21:51:16 +00:00
Joshua Colp
e0ff47fe21
One has to create the path and filename in order to copy a file there. (issue #8278 reported by davebath)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 19:15:07 +00:00
Luigi Rizzo
0bf4235ff1
add a new cli/manager.conf option "debug" to enable/disable
...
debugging code in the manager.
At the moment the debugging code is very lightweight, if the option
is enabled manager messages also carry a sequence number and
the info where they have been generated e.g.
SequenceNumber: 10
File: chan_sip.c
Line: 11927
Func: handle_response_register
It is not worthwhile having this as a compile time option
right now, because the extra work involved at runtime is
just checking one variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 18:53:26 +00:00
Luigi Rizzo
4a545a7662
remove old/useless usecnt stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 18:17:08 +00:00
Luigi Rizzo
ec1525ac88
remove old/useless usecnt stuff.
...
I think this module doesn't compile, anyways, because
it has not been updated to the new module interface.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 18:16:20 +00:00
Luigi Rizzo
55f22da63f
Fix "core show channels" and "core show modules".
...
Not sure it applies like this to 1.4 because of
deprecate versions of the same command(s).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 18:13:26 +00:00
Luigi Rizzo
a0cc033b18
move variable declarations to the beginning of a block.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 18:10:44 +00:00
Luigi Rizzo
6e45cba6e5
block other changes of mine already applied to trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 18:09:24 +00:00