Archived
14
0
Fork 0
Commit graph

10455 commits

Author SHA1 Message Date
russell
c6cc3e8d03 List ss7 with the rest of the valid signalling types. Group SS7 options
together and comment them out by default.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47210 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 22:41:12 +00:00
oej
e2f27d8368 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: http://svn.digium.com/svn/asterisk/trunk@47209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 22:16:57 +00:00
russell
202f63bdb5 use the AST_MODULE_LOAD_* return codes from load_module()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47207 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 22:08:35 +00:00
russell
bb3e3ea3a5 simplify a couple of loops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47206 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 21:54:37 +00:00
oej
892aaef06c Move IP address selection for media out of add_sdp
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47205 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 21:48:02 +00:00
russell
bb9195d20e 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: http://svn.digium.com/svn/asterisk/trunk@47204 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 21:44:48 +00:00
oej
d2c30aaaa8 Make srvlookup global_srvlookup to follow the rest of the code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 21:17:40 +00:00
oej
bfac7b0436 Simplify previous patch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47202 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 19:20:30 +00:00
oej
e3babcf0fc 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: http://svn.digium.com/svn/asterisk/trunk@47201 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 19:13:30 +00:00
oej
eb5358d980 Importing patch for Invite/replaces from 1.4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47200 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 18:40:51 +00:00
russell
8891d7151b 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: http://svn.digium.com/svn/asterisk/trunk@47198 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 18:12:31 +00:00
russell
c338f06d38 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: http://svn.digium.com/svn/asterisk/trunk@47197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 18:11:18 +00:00
oej
c10cb7570e Reverting rev 47093 until we have an agreement on how to
implement this, if at all.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47194 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 17:45:47 +00:00
russell
400f858937 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: http://svn.digium.com/svn/asterisk/trunk@47193 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 17:40:42 +00:00
rizzo
2aaf83d6db 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: http://svn.digium.com/svn/asterisk/trunk@47189 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 11:00:49 +00:00
rizzo
7f2bcee513 useless cast removal...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47187 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 01:40:49 +00:00
rizzo
3ecef4ec7a remove many unnecessary casts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47186 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 01:34:59 +00:00
rizzo
81c03c7684 remove a useless cast
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47185 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 01:32:31 +00:00
rizzo
5dabbe1ca3 document the "debug" parameter, and the change
manager list -> manager show



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47184 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 01:20:38 +00:00
rizzo
0cc11d4b2e fix indentation of a block, and do minor simplifications at the end of
another one.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47182 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 01:16:20 +00:00
rizzo
6336f21b68 complete previous commit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47181 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 00:56:02 +00:00
rizzo
c3b3bfc81b 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: http://svn.digium.com/svn/asterisk/trunk@47180 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 00:50:18 +00:00
rizzo
9e197c8931 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: http://svn.digium.com/svn/asterisk/trunk@47179 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 00:01:40 +00:00
murf
f12080415b This fix introduced via bug 8233
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 23:27:58 +00:00
rizzo
859fd8cdf9 another small set of simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47177 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 23:24:21 +00:00
rizzo
2bdbca420a change HANDLE_CAUSE into a function.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47175 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 22:36:17 +00:00
rizzo
c057e77d7a remove redundant checks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 22:01:34 +00:00
rizzo
8ee70dbd60 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: http://svn.digium.com/svn/asterisk/trunk@47160 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 21:51:16 +00:00
file
5e271d60c1 One has to create the path and filename in order to copy a file there. (issue #8278 reported by davebath)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47146 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 19:15:07 +00:00
rizzo
3094fdaa97 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: http://svn.digium.com/svn/asterisk/trunk@47132 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:53:26 +00:00
rizzo
8723b73845 remove old/useless usecnt stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47131 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:17:08 +00:00
rizzo
5f20fc0918 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: http://svn.digium.com/svn/asterisk/trunk@47130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:16:20 +00:00
rizzo
170b60b222 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: http://svn.digium.com/svn/asterisk/trunk@47129 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:13:26 +00:00
rizzo
ffd2ffe51c move variable declarations to the beginning of a block.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47128 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:10:44 +00:00
rizzo
c014a134df block other changes of mine already applied to trunk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47127 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:09:24 +00:00
rizzo
f7788071ab block more changes of mine already applied to trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47126 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:05:41 +00:00
rizzo
36a1f000ae blocking 47107
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47113 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:00:31 +00:00
rizzo
ed996e60d4 blocking 47108
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47110 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 17:59:42 +00:00
rizzo
a7b5faf004 Save the 'From' header received in a REGISTER message so we can show it
e.g. in the Manager interface. This information is available as
a callerid (or something like that) during a call, but not when a
device is registered but silent.
It may be useful to have it available e.g. when developing a user
interface/operator panel, to map numbers to names.

experimental, so not committed to 1.4



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47093 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 16:59:52 +00:00
rizzo
18f9b18529 remove useless usecnt stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47077 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 12:24:08 +00:00
rizzo
2108732b57 remove useless usecnt stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 12:22:24 +00:00
rizzo
d1ef2ad9b1 remove useless usecnt stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 12:21:40 +00:00
rizzo
9d1ddc7351 remove useless usecnt stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47074 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 12:19:22 +00:00
rizzo
4675352c5d remove useless usecnt handling
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47073 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 12:15:13 +00:00
rizzo
8241a81a86 remove useless usecnt handling code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47072 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 12:14:00 +00:00
tilghman
1a3d9c15e0 Merged revisions 47053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47053 | tilghman | 2006-11-02 17:49:13 -0600 (Thu, 02 Nov 2006) | 2 lines

More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47054 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 23:55:59 +00:00
tilghman
278341b071 Merged revisions 47051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines

Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 23:16:09 +00:00
file
59ae68a326 Let's make application/function/hint lists read/write lists... just for kicks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47037 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 21:40:53 +00:00
mattf
c8c7938a68 Updates to do unblock correctly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47035 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 21:34:03 +00:00
oej
b6ee7935b6 Move check for codec translators to an earlier place in the call, so we can fail gracefully (imported from 1.4)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47021 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 20:24:10 +00:00