summaryrefslogtreecommitdiff
path: root/channels
AgeCommit message (Collapse)Author
2006-12-29Convert various comments to doxygen format.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29Removing extra outputOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Only include include files once (imported from 1.4)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Only set "rfc2833compensate" option onceOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Only handle T38 options onceOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27-Remove "localmask" setting (deprecated in earlier version)Olle Johansson
- Remove "musiconhold" and "musicclass" settings (also deprecated earlier) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Merged revisions 48988 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48988 | kpfleming | 2006-12-27 12:33:22 -0600 (Wed, 27 Dec 2006) | 2 lines make the option actually match the documentation ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Merged revisions 48987 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48987 | kpfleming | 2006-12-27 12:29:13 -0600 (Wed, 27 Dec 2006) | 2 lines allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Be politically correctOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Add support for buggy Cisco MWI firmware > 8.0.3 (issue 8575 - flewid)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Cleanup of handle_common_optionsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Reset invitestate when sending new inviteOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Issue #8600 - bogus SDP Content Length in T.38 re-inviteOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26Merged revisions 48964 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48964 | file | 2006-12-25 23:31:58 -0500 (Mon, 25 Dec 2006) | 2 lines Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25rename the structs struct tone_zone_sound and struct tone_zoneLuigi Rizzo
defined in indications.h to ind_tone_zone_sound and ind_tone_zone, to avoid conflicts with the structs with the same names defined in tonezone.h Hope i haven't missed any instance. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24Merged revisions 48948 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48948 | russell | 2006-12-24 16:19:37 -0500 (Sun, 24 Dec 2006) | 3 lines Fix a typo in an error message that indicated that the MGCP channel type could not be registered, instead of the correct type, OSS. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24Merged revisions 48944 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r48944 | russell | 2006-12-24 02:25:38 -0500 (Sun, 24 Dec 2006) | 11 lines Merged revisions 48943 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48943 | russell | 2006-12-24 02:23:07 -0500 (Sun, 24 Dec 2006) | 3 lines Check for the proper return value on an error in a call to mmap(). This was reported by Andy Wang on the asterisk-dev list. Thanks! ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24Merged revisions 48940 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r48940 | russell | 2006-12-24 01:49:31 -0500 (Sun, 24 Dec 2006) | 11 lines Merged revisions 48939 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) | 3 lines Remove a couple of misplaced dots in log messages. This was reported by Andrea Spadaccini on the asterisk-dev mailing list. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22Merged revisions 48888 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48888 | qwell | 2006-12-22 15:40:20 -0600 (Fri, 22 Dec 2006) | 2 lines Note to self: Run make before committing... ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22Merged revisions 48870 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48870 | qwell | 2006-12-22 14:43:05 -0600 (Fri, 22 Dec 2006) | 2 lines Fix for issue 7774 - patch by alamantia ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21a quick fix to app_sms.c to get rid of cursed compiler warnings so I can ↵Steve Murphy
compile under --enable-dev-mode git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21As per bug 7978, this version introduces the jittertargetextra option in ↵Steve Murphy
config files git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19Merged revisions 48586 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48586 | kpfleming | 2006-12-19 15:28:04 -0600 (Tue, 19 Dec 2006) | 2 lines suppress compiler warnings in this module until it can be improved ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18Clean up find_idle_thread function and use atomic operations for dynamic ↵Joshua Colp
thread count. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18Merged revisions 48564 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48564 | file | 2006-12-18 12:15:49 -0500 (Mon, 18 Dec 2006) | 2 lines Put thread into proper list if we abort handling due to an error, and also hold the lock while putting it back into the proper idle list so we don't prematurely get a signal. (issue #8604 reported by arkadia) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-17define a mask SIP_INSECURE sam as for other sets of flags.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15Merged revisions 48504 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48504 | file | 2006-12-15 14:38:51 -0500 (Fri, 15 Dec 2006) | 2 lines Hold call structure lock in places where a qualify or peer action can destroy it. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15Merged revisions 48502 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48502 | file | 2006-12-15 14:24:15 -0500 (Fri, 15 Dec 2006) | 2 lines Lock network retransmission queue in all places that it is used. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15replace ast_safe_string_alloc() with asprintf()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15replace ast_safe_string_alloc() with asprintf()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15Issue #8592 - treat 504 as congestion (imported from 1.2/1.4)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15Update to latest IANA specsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15Merged revisions 48478 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48478 | file | 2006-12-15 01:28:05 -0500 (Fri, 15 Dec 2006) | 2 lines Use a wakeup variable so that we don't wait on IO indefinitely if packets need to be retransmitted. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-13revert check for a zaptel transcoder related definition that was done in theRussell Bryant
wrong module. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12Fix various spelling mistakes in comments.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12Make chan_zap inform you that your version of zaptel is too old instead ofRussell Bryant
just failing to compile. It seems like the proper way to do this would be in the configure script. However, that wouldn't help existing checkouts unless we forced the configure script to be executed after any code was changed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-10Merged revisions 48372 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r48372 | murf | 2006-12-09 20:04:18 -0700 (Sat, 09 Dec 2006) | 9 lines Merged revisions 48371 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1 line This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels). ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-09convert the thread IO state and type to use enums.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-09Merged revisions 48363 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48363 | russell | 2006-12-09 10:59:42 -0500 (Sat, 09 Dec 2006) | 8 lines Use locking when accessing the registrations list. This list is not actually used very often, so the likelihood of there being a problem is pretty small, but still possible. For example, if the CLI command to list the registrations was called at the same time that a reload was occurring and the registrations list was getting destroyed and rebuilt, a crash could occur. In passing, go ahead and convert this list to use the linked list macros. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-09chan_iax2 has an extremely large function, socket_process(), to handle incomingRussell Bryant
frames. The function, before this commit, was roughly 1400 lines long. So, I am working on breaking this up into functions so that the code is easier to follow and debug. Also, I will be committing these changes in chunks as I do them to ease tracking down any potentially introduced problems. Break out roughly 150 lines from socket_process() and introduce a new function, socket_process_meta() which handles the parsing of an incoming meta frame. Also, restructure some of this code a bit to reduce the deep nesting that was in this code. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-09- Fix a few spelling mistakesRussell Bryant
- Use sizeof() to pass an array size to a function - Use a single bit for a variable in the chan_iax2_pvt stuct since that is all it needs. - Add some comments about the iaxs, iaxl, and lastused arrays. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06Handle multiple 487's correctlyOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06Don't send Contact in SIP Messages (imported from 1.2/1.4).Olle Johansson
Reported by Gunnar at Omnitor. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06Constify a bunch of usage strings for CLI commands.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06Constify a bunch of the usage strings for CLI commands.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06Instead of creating an unused instance of an unnamed enum, give it a name.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02Cleaning up handle_response a bit. (Imported from 1.4)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02Send CANCEL to call with early media (PROGRESS INBAND).Olle Johansson
This is imported from branch "invitestate" and "invitestate-1.4" *** *** *** IF YOU HAVE ISSUES WITH BYEs/CANCELs - PLEASE UPDATE AND TEST AGAIN! *** Thank you! *** *** /Olle git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02Invitestate updatesOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02- Disable RTP timeouts during T.38 transmissionOlle Johansson
- Encapsulate RTP timers to the RTP structure, so we have one set for video and one for audio - Document RTP keepalive configuration option - Cleanup and document the monitor support function to hangup on RTP timeouts - Add RTP keepalive to SIP show settings Imported from 1.4 with modifications for trunk. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48200 65c4cc65-6c06-0410-ace0-fbb531ad65f3