dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

10606 Commits

Author SHA1 Message Date
rizzo ac91407f47 add a new http.conf option, sslbindaddr.
Because https is more secure than http, it usually
makes sense to keep this service more open than the
one on the unencrypted port.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48071 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 20:21:40 +00:00
rizzo 3a0d25f9f8 in the helper thread, separate the FILE * creation from the actual
function doing work on the socket. This is another generalization
to provide a generic mechanism to open TCP/TLS socket with a thread
managing the accpet and children threads managing the individual
sessions.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48067 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 19:19:48 +00:00
rizzo b728b58d5a staticize a global variable and remove an unused field structure.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48062 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 18:51:10 +00:00
file d86306cb87 Merged revisions 48054 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48054 | file | 2006-11-27 13:06:50 -0500 (Mon, 27 Nov 2006) | 10 lines

Merged revisions 48053 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2 lines

Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 18:10:59 +00:00
tilghman b9db5d6838 Merged revisions 48049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48049 | tilghman | 2006-11-27 11:20:37 -0600 (Mon, 27 Nov 2006) | 10 lines

Merged revisions 48045 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48045 | tilghman | 2006-11-27 11:15:54 -0600 (Mon, 27 Nov 2006) | 2 lines

Random MOH wasn't really random (bug 8381)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48050 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 17:31:56 +00:00
russell 0fe2754e18 Blocked revisions 48046 via svnmerge
........
r48046 | russell | 2006-11-27 12:17:40 -0500 (Mon, 27 Nov 2006) | 2 lines

Remove a couple of unused variables (issue #8380, casper)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48048 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 17:19:47 +00:00
file dbb0e8dee9 More fixes for referencing a structure after it has been freed. (issue #8425 reported by arkadia)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48040 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 15:48:57 +00:00
file 094a874ee9 Merged revisions 48038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48038 | file | 2006-11-27 10:32:19 -0500 (Mon, 27 Nov 2006) | 10 lines

Merged revisions 48037 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48037 | file | 2006-11-27 10:30:37 -0500 (Mon, 27 Nov 2006) | 2 lines

Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48039 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 15:33:56 +00:00
rizzo c2fb9a8f0a remove an extra comma in an initializer
Detected by: AST_DEVMODE=yes



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48034 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 14:47:15 +00:00
oej 9b8c7948b0 Doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48033 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 06:59:20 +00:00
oej 2b57e7d361 Change error message (imported from 1.4)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48032 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27 06:44:40 +00:00
russell 481ef16004 - Add some comments on thread storage with a brief explanation of what it is
as well as what the motivation is for using it.
- Add a comment by the declaration of ast_inet_ntoa() noting that this function
  is not reentrant, and the result of a previous call to the function is no
  longer valid after calling it again.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48019 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-26 06:55:33 +00:00
murf d6bbc3a58c Merged revisions 48017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48017 | murf | 2006-11-25 17:26:16 -0700 (Sat, 25 Nov 2006) | 1 line

might as well also document the raw values of the flag vars
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48018 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-26 00:31:13 +00:00
murf 9481a291a2 Merged revisions 48015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48015 | murf | 2006-11-25 17:01:34 -0700 (Sat, 25 Nov 2006) | 1 line

A little bit of func_cdr documentation upgrade-- no bug# involved, although 8221 may have inspired it.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48016 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-26 00:15:42 +00:00
mattf 656a9292e5 Little fix so we use the right message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48014 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 21:50:42 +00:00
mattf e78c600a30 Make compiler happier
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 21:46:58 +00:00
mattf 64b9ee61b1 bug fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48012 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 21:35:23 +00:00
mattf 9826f0e3a1 Make sure we don't send a group reset on a group larger than 32 CICs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48011 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 21:32:33 +00:00
mattf e9cbd422c7 Add ss7 show linkset command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48010 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 20:54:38 +00:00
mattf c10dfef9d5 Updates to show linkset command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 20:30:04 +00:00
rizzo 461f2afa7c generalize a bit the functions used to create an tcp socket
and then run a service on it.
The code in manager.c does essentially the same things,
so we will be able to reuse the code in here (probably
moving it to netsock.c or another appropriate library file).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48008 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 17:37:04 +00:00
oej efcfb48d09 Changing ERROR to lesser level. Imported from 1.2/1.4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48004 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 09:48:30 +00:00
oej 7e46c70622 - Adding comment on suspicious memory allocation. Seems like it's never freed, but I don't
have a clear understanding of the frame allocation/deallocation, so I just mark this
  for investigation. (Reported by Ed Guy). We're trying to see if a free() hurts...

- Doxygen comments on p2p rtp bridge stuff.  I am a bit worried about shortcutting
  rtcp this way, but will need feedback from rtcp gurus. This should work for 
  video calls too, and possibly UDPTL.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 09:45:57 +00:00
rizzo 61fb066b4c set pointers to NULL after freeing memory to avoid multiple free()
probably 1.4/1.2 issue as well if someone can look into that.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-25 09:02:42 +00:00
murf b30237cd27 removed the svnmerge-integrated property from trunk; it's confusing svnmerge in newly created branches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47997 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24 18:17:25 +00:00
murf ca7e77d4ef This fix inspired by a patch supplied in bug 8189, which points out problems with the PLC code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47995 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24 17:40:49 +00:00
oej 5a2011b9d7 Doxygen update
- Document cause codes
- Document a bit more on channel variables - global, predefined and local
- Fix some doxygen in channel.h. Adding one comment for two definitions does not
  work. They won't be copied to each.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47986 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24 14:00:19 +00:00
oej 25a76c637d Remove unused memory allocation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-23 11:04:25 +00:00
oej 3296183846 Document new configuration option.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47957 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-23 10:46:09 +00:00
file 3a1622bdf6 Merged revisions 47944 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47944 | file | 2006-11-22 16:47:43 -0500 (Wed, 22 Nov 2006) | 2 lines

Video will never reach Packet2Packet bridging and can do more harm then good.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47945 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22 21:49:11 +00:00
file f6da245d1f Clarify a bit more.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47935 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22 17:47:14 +00:00
file 28c8127adf Need to update the CHANGES file as well for the maxfiles option.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22 17:43:36 +00:00
file ef39327764 Add support to set the maximum number of files open when Asterisk loads using the 'maxfiles' configuration option. (issue #7499 reported by rkarlsba)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22 17:41:07 +00:00
oej 24a6192c23 Don't over-deprecate... :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47923 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22 11:28:12 +00:00
markster 47f912f6e6 Restore some sense of security to manager
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47912 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-22 05:49:06 +00:00
file f6bcd15af8 Merged revisions 47897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47897 | file | 2006-11-21 12:32:27 -0500 (Tue, 21 Nov 2006) | 2 lines

If we have the non standard G726-32 setting turned on we want to return G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47898 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21 17:34:22 +00:00
oej 217a902c1c Treat 101 as 100, not 183 session progress
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47893 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21 15:25:38 +00:00
rizzo ff1233d501 better fix for the previous bug.
In general this code needs a deep revision, because the body of
do_forward() deletes/overwrites the output channel without freeing
the resouce in some cases, and without notifying the caller.

Also, on FreeBSD with MALLOC_OPTIONS set i am seeing various panics
(duplicate freee etc.)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47881 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21 11:53:06 +00:00
rizzo eb492ff812 do not ast_hangup() on a NULL channel.
In the original code this would happen in the case of
	o->forwards >=  AST_MAX_FORWARDS

Likely an 1.2/1.4 isse as well - please someone have a look,
while I am hunting a few more similar panics now.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47880 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-21 11:07:30 +00:00
tilghman 5199407168 Merged revisions 47864-47865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47864 | tilghman | 2006-11-20 14:01:58 -0600 (Mon, 20 Nov 2006) | 2 lines

Oops, merge missed release of odbc object

........
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47866 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 20:04:11 +00:00
file 334a20e194 Merged revisions 47860 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r47860 | file | 2006-11-20 14:51:36 -0500 (Mon, 20 Nov 2006) | 10 lines

Merged revisions 47859 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47859 | file | 2006-11-20 14:50:21 -0500 (Mon, 20 Nov 2006) | 2 lines

Don't forget to byte swap if we are exiting the smoother feed early. (issue #8287 reported by arturs)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47861 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 19:52:38 +00:00
file dc11f92dcb Blocked revisions 47856 via svnmerge
................
r47856 | file | 2006-11-20 11:17:47 -0500 (Mon, 20 Nov 2006) | 9 lines

Blocked revisions 47855 via svnmerge

........
r47855 | file | 2006-11-20 11:16:22 -0500 (Mon, 20 Nov 2006) | 2 lines

Free history items at the end of use of the temporary SIP pvt structure. (issue #8383 reported by benh)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47857 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 16:19:13 +00:00
file 184bdb13e0 Use RTP/RTCP fds on the RTP structure, don't bother storing them.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47854 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 16:06:10 +00:00
file 6b706ba403 Merged revisions 47852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47852 | file | 2006-11-20 10:58:50 -0500 (Mon, 20 Nov 2006) | 2 lines

Only remove/destroy the RTCP I/O item if it exists.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47853 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 16:04:14 +00:00
file 373fef766e Merged revisions 47850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47850 | file | 2006-11-20 10:51:37 -0500 (Mon, 20 Nov 2006) | 2 lines

Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47851 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 15:55:58 +00:00
murf 0a683b4443 Erased the svnmerge-integrated prop from trunk. Please, in your svnmerge-ings, don't let these props leak into the trunk or branches.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 14:08:04 +00:00
oej f9f4ea8922 Update docs for videosupport
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 11:46:45 +00:00
oej 8b48dbf718 Properly reset schedule items (rizzo)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47844 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 11:36:45 +00:00
murf f60aa2074b Added a few words to explain the change to AEL concerning Gosub()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47836 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-19 04:22:33 +00:00
murf 4dc2b93fef Added a few words of explanation about macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47835 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-19 04:12:39 +00:00