summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-26- Add some comments on thread storage with a brief explanation of what it isRussell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@48019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-26Merged revisions 48017 via svnmerge from Steve Murphy
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: https://origsvn.digium.com/svn/asterisk/trunk@48018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-26Merged revisions 48015 via svnmerge from Steve Murphy
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: https://origsvn.digium.com/svn/asterisk/trunk@48016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25Little fix so we use the right messageMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25Make compiler happierMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25bug fixMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25Make sure we don't send a group reset on a group larger than 32 CICsMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25Add ss7 show linkset commandMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25Updates to show linkset commandMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25generalize a bit the functions used to create an tcp socketLuigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@48008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25Changing ERROR to lesser level. Imported from 1.2/1.4Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25- Adding comment on suspicious memory allocation. Seems like it's never ↵Olle Johansson
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: https://origsvn.digium.com/svn/asterisk/trunk@48003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25set pointers to NULL after freeing memory to avoid multiple free()Luigi Rizzo
probably 1.4/1.2 issue as well if someone can look into that. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-24removed the svnmerge-integrated property from trunk; it's confusing svnmerge ↵Steve Murphy
in newly created branches git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-24This fix inspired by a patch supplied in bug 8189, which points out problems ↵Steve Murphy
with the PLC code git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-24Doxygen updateOlle Johansson
- 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: https://origsvn.digium.com/svn/asterisk/trunk@47986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-23Remove unused memory allocationOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-23Document new configuration option.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22Merged revisions 47944 via svnmerge from Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@47945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22Clarify a bit more.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22Need to update the CHANGES file as well for the maxfiles option.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22Add support to set the maximum number of files open when Asterisk loads ↵Joshua Colp
using the 'maxfiles' configuration option. (issue #7499 reported by rkarlsba) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22Don't over-deprecate... :-)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-22Restore some sense of security to managerMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-21Merged revisions 47897 via svnmerge from Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@47898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-21Treat 101 as 100, not 183 session progressOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-21better fix for the previous bug.Luigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@47881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-21do not ast_hangup() on a NULL channel.Luigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@47880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Merged revisions 47864-47865 via svnmerge from Tilghman Lesher
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: https://origsvn.digium.com/svn/asterisk/trunk@47866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Merged revisions 47860 via svnmerge from Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@47861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Blocked revisions 47856 via svnmergeJoshua Colp
................ 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: https://origsvn.digium.com/svn/asterisk/trunk@47857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Use RTP/RTCP fds on the RTP structure, don't bother storing them.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Merged revisions 47852 via svnmerge from Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@47853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Merged revisions 47850 via svnmerge from Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@47851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Erased the svnmerge-integrated prop from trunk. Please, in your ↵Steve Murphy
svnmerge-ings, don't let these props leak into the trunk or branches. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Update docs for videosupportOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Properly reset schedule items (rizzo)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-19Added a few words to explain the change to AEL concerning Gosub()Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-19Added a few words of explanation about macrosSteve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-18comments-only change:Luigi Rizzo
document a bit more when manager events are delivered to the clients. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-18ESS-ification.Luigi Rizzo
no need to bring this in 1.4, it is just code cleanup git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-18Move this macro from cli.c to cli.h so apps can use itLuigi Rizzo
without duplicating the macro or the code: /*! * In many cases we need to print singular or plural * words depending on a count. This macro helps us e.g. * printf("we have %d object%s", n, ESS(n)); */ #define ESS(x) ((x) == 1 ? "" : "s") git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-18Merged revisions 47823 via svnmerge from Luigi Rizzo
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47823 | rizzo | 2006-11-18 18:59:35 +0100 (Sat, 18 Nov 2006) | 5 lines fix bug 7450 - Parsing fails if From header contains angle brackets (the bug was only in a corner case where the < was right after the opening quote, and the fix is trivial). ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-18prevent the sound thread from consuming all the available CPULuigi Rizzo
doing busy-wait on the output audio device. As it is set now, it tries to push a frame every 10ms, which is still too frequent but avoids deep restructuring of the code (which i should do, though). Note, this is only for ring tones, regular audio coming from the network is still delivered as soon as it is available. Eventually this could well end up in the 1.4 branch, but since i am probably the only user of chan_oss there isn't much urgency to do that. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17This update fulfils the request of bug 7109, which claimed the language arg ↵Steve Murphy
to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17remove a debugging messageLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17convert "help" to new style,Luigi Rizzo
fix completion of arguments past the first one that i broke earlier today. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17standardize "module show [like]"Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17Add ability to notify an external application/script that the voicemail ↵Jason Parker
password was, while also still changing the password "internally". Issue 7371, initial patch by pdunkel, with rewrite/config comments by me. Additional modifications (yay bitmask) by pdunkel. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17describe a bit the patterns that you can have in the commands,Luigi Rizzo
and add support for wildcard (spelled as '%'). On passing fix a bug in the expansion code which was hidden and appeared when implementing the wildcard The fix is just the line 'src != argindex', in case someone wants to test this on 1.4 - but i would just keep this in trunk. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47813 65c4cc65-6c06-0410-ace0-fbb531ad65f3