aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2007-02-22give embedded modules a helping hand by backing up and restoring their ↵kpfleming1-0/+8
global variables when they are loaded and unloaded git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56092 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22Merged revisions 56008 via svnmerge from file1-1/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r56008 | file | 2007-02-21 19:35:55 -0500 (Wed, 21 Feb 2007) | 2 lines Print out deprecation notice on usage output of CLI commands. (issue #8925 reported by blitzrage) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56009 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Return trunk to a state where it compiles under Darwin. The byte order stuff ↵file1-6/+18
is ugly, if anyone wants to clean it up... by all means do so. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55763 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-20Flush out the file pointer. (issue #9115 reported by guthrie)file1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55716 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-20Merged revisions 55634 via svnmerge from russell1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r55634 | russell | 2007-02-20 14:26:06 -0600 (Tue, 20 Feb 2007) | 3 lines Add the Asterisk version information to the Server header in HTTP responses. (requested by Pari) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55635 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-18add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in ↵kpfleming4-2/+6
#if expressions will be caught convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important) Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Merged revisions 54886 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r54886 | qwell | 2007-02-16 11:25:21 -0600 (Fri, 16 Feb 2007) | 4 lines Clarify a restart message. It's silly, but the reporter had a very valid point. Issue 9079 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54887 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Adding Realtime Text support (T.140) to Asteriskoej2-35/+95
T.140/RFC 2793 is a live communication channel, originally created for IP based text phones for hearing impaired. Feels very much like the old Unix talk application. This code is developed and disclaimed by John Martin of Aupix, UK. Tested for interoperability by myself and Omnitor in Sweden, the company that wrote most of the specifications. A big thank you to everyone involved in this. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54838 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Rely on ast_gethostbyname to handle IP addresses, not inet_aton. (issue ↵file1-2/+0
#9056 reported by pj) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54749 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Properly handle an error result from a manager action. This could have left ↵file1-5/+3
the action list permanently locked for reading. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54711 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-15Make file's new comment doxygenifiedoej1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54654 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-15Clean up the I/O context handler.file1-51/+71
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54552 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-14Show version in "core show settings"oej1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54466 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-14New CLI command "Core show settings" to list some core settingsoej4-8/+93
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54464 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-14Merged revisions 54290 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r54290 | file | 2007-02-13 20:09:40 -0500 (Tue, 13 Feb 2007) | 2 lines Add G722 to ast_best_codec. If anyone disagrees with it's placement, feel free to change it. (issue #9045 reported by gork) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-13This introduces a new dialplan function, DEVSTATE, which allows you to do somerussell2-12/+78
pretty cool things. First, you can get the device state of anything in the dialplan: NoOp(SIP/mypeer has state ${DEVSTATE(SIP/mypeer)}) NoOp(The conference room 1234 has state ${DEVSTATE(MeetMe:1234)}) Most importantly, this allows you to create custom device states so you can control phone lamps directly from the dialplan. Set(DEVSTATE(Custom:mycustomlamp)=BUSY) ... exten => mycustomlamp,hint,Custom:mycustomlamp git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54261 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-13Use spaces instead of tabs in the help text for a CLI commandrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54149 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-13Simplify WELCOME_MESSAGE to be a single function call instead of one for eachrussell1-9/+9
line. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54148 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-13- Constify the format string passed to ast_cli()russell2-49/+43
- Simplify printing out the warranty and license git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54147 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-12Merged revisions 54103 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r54103 | russell | 2007-02-12 13:17:08 -0600 (Mon, 12 Feb 2007) | 2 lines Change ast_set_state_callback() to ast_dial_set_state_callback() ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54104 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-12Merged revisions 54066 via svnmerge from russell1-26/+39
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r54066 | russell | 2007-02-12 11:58:43 -0600 (Mon, 12 Feb 2007) | 4 lines - Add the ability to register a callback to monitor state changes in an asynchronous dial operation. - Rename the various references to "status" to "state" in the dial API ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-12Simplify a small bit of logic.russell1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54003 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-11Fix debug handling in acl.coej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53914 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-10Merged revisions 53879 via svnmerge from pcadach1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53879 | pcadach | 2007-02-10 01:07:11 -0800 (Сбт, 10 Фев 2007) | 1 line Provide correct DTMF duration ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53883 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-10Merged revisions 53810 via svnmerge from russell1-22/+31
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines Merge team/russell/sla_rewrite This is a completely new implementation of the SLA functionality introduced in Asterisk 1.4. It is now functional and ready for testing. However, I will be adding some additional features over the next week, as well. For information on how to set this up, see configs/sla.conf.sample and doc/sla.txt. In addition to the changes in app_meetme.c for the SLA implementation itself, this merge brings in various other changes: chan_sip: - Add the ability to indicate HOLD state in NOTIFY messages. - Queue HOLD and UNHOLD control frames even if the channel is not bridged to another channel. linkedlists.h: - Add support for rwlock based linked lists. dial.c: - Add the ability to run ast_dial_start() without a reference channel to inherit information from. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53817 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-08It is with pleasure that I announce the return of rawman support through the ↵file1-8/+9
HTTP server. (issue #9013 reported by Jynger) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53635 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-08Merged revisions 53532 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53532 | tilghman | 2007-02-08 07:47:54 -0600 (Thu, 08 Feb 2007) | 2 lines Issue 9007 - Mutex not released on early return ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53533 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Merged revisions 53497 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53497 | russell | 2007-02-07 17:52:45 -0600 (Wed, 07 Feb 2007) | 6 lines When building libdb1.a, put the additional flags needed at the beginning of ASTCFLAGS, instead of at the end. This way, we ensure that we find the local headers first before accidentally trying to use headers that exist in locations specified in the ASTCFLAGS passed from the main Makefile. (issue #8637, ovi) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53498 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Merged revisions 53464 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53464 | russell | 2007-02-07 14:07:39 -0600 (Wed, 07 Feb 2007) | 4 lines The clean target actually needs to run "distclean" on editline. This is because we need to make sure that its configure script gets executed again, because the CFLAGS we want to pass to editline may have changed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53465 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Merged revisions 53434 via svnmerge from file1-0/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53434 | file | 2007-02-07 12:53:03 -0500 (Wed, 07 Feb 2007) | 2 lines We can not reliably do P2P bridging with DTMF passing back with compensation if we need to listen for DTMF frames. (issue #8962 reported by caio1982) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53435 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Merged revisions 53429 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53429 | russell | 2007-02-07 11:39:31 -0600 (Wed, 07 Feb 2007) | 7 lines When parsing the NTP timestamp in a sender report message, you are supposed to take the low 16 bits of the integer part, and the high 16 bits of the fractional part. However, the code here was erroneously taking the low 16 bits of the fractional part. It then shifted the result 16 bits down, so the result was always zero. This fix makes it grab the appropriate high 16 bits, instead. (issue #8991, pointed out by andre_abrantes) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53431 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-06Merged revisions 53246 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r53246 | tilghman | 2007-02-06 01:00:52 -0600 (Tue, 06 Feb 2007) | 10 lines Merged revisions 53245 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53245 | tilghman | 2007-02-06 00:58:28 -0600 (Tue, 06 Feb 2007) | 2 lines Issue 8987 - Status could return two responses (mnicholson) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53247 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-05Doxygen formatting changesoej1-31/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53200 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02Merged revisions 53120 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53120 | file | 2007-02-02 11:15:22 -0600 (Fri, 02 Feb 2007) | 2 lines Correct a copy/pasted error message line for RTCP. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53122 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02Merged revisions 53118 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r53118 | file | 2007-02-02 10:59:53 -0600 (Fri, 02 Feb 2007) | 10 lines Merged revisions 53117 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53117 | file | 2007-02-02 10:58:09 -0600 (Fri, 02 Feb 2007) | 2 lines Pass the glob expanded filename to process_text_line so that error messages contain the actual filename, not the original include one. (issue #8959 reported by tzafrir) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53119 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02Clean up ast_device_state. It's pretty now!file1-24/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53113 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02Switch the devicestate thread to operate the same way as the logging thread. ↵file1-16/+14
Pops all entries off the list to be processed, resets the list back to a clean state, and processes each entry. The thread won't have to acquire the list lock again until it checks to see if there are more to process. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53112 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02Read/write lockify the devicestate stuff a bit.file1-27/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53111 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Merged revisions 53072 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53072 | file | 2007-02-01 13:33:33 -0600 (Thu, 01 Feb 2007) | 2 lines Add missing 'F' letter to getopt so it magically becomes a valid option. (issue #8960 reported by tzafrir) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53073 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Merged revisions 53070 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r53070 | tilghman | 2007-02-01 13:21:20 -0600 (Thu, 01 Feb 2007) | 10 lines Merged revisions 53069 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53069 | tilghman | 2007-02-01 13:13:53 -0600 (Thu, 01 Feb 2007) | 2 lines No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Make trunk compile under dev mode.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53065 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Merged revisions 53052 via svnmerge from file1-1/+14
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53052 | file | 2007-01-31 18:24:20 -0600 (Wed, 31 Jan 2007) | 2 lines When going on hold have the side that was put on hold reinvite back to Asterisk. When going off hold have the side that was taken off hold reinvited back to the other party. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53053 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Merged revisions 53050 via svnmerge from file1-5/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53050 | file | 2007-01-31 18:19:48 -0600 (Wed, 31 Jan 2007) | 2 lines Add more frame types to forward in the RTP bridge loops. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53051 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Merged revisions 53046 via svnmerge from russell4-0/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines Merged revisions 53045 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines Fix a bunch of places where pthread_attr_init() was called, but pthread_attr_destroy() was not. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Merged revisions 53040 via svnmerge from russell1-9/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r53040 | russell | 2007-01-31 11:45:05 -0600 (Wed, 31 Jan 2007) | 11 lines Merged revisions 53039 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53039 | russell | 2007-01-31 11:41:51 -0600 (Wed, 31 Jan 2007) | 3 lines Use the proper format string to print unsigned values in the rtp debug output. (issue #8954, wmis) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53041 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30Merged revisions 52904 via svnmerge from russell1-4/+17
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r52904 | russell | 2007-01-30 11:19:39 -0600 (Tue, 30 Jan 2007) | 17 lines Merged revisions 52903 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r52903 | russell | 2007-01-30 11:12:04 -0600 (Tue, 30 Jan 2007) | 9 lines The SIGHUP handler was implemented to allow admins to send SIGHUP to a running Asterisk process to reload the configuration. However, doing the actual reload in the signal handler itself is a very bad thing to do, because the reload process includes calling non-reentrant functions such as malloc/calloc/etc. If Asterisk is running in the background, then the reload will happen immediately. However, if running in console mode, the reload doesn't work until something is typed at the console. That sort of defeats the purpose, but I don't see an easy way to get around it at this point. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52905 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Merged revisions 52695 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r52695 | russell | 2007-01-29 16:58:09 -0600 (Mon, 29 Jan 2007) | 2 lines Add a missing quotation mark. This was pointed out by jcmoore on #asterisk-dev. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52696 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Merged revisions 52688 via svnmerge from russell1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r52688 | russell | 2007-01-29 16:55:41 -0600 (Mon, 29 Jan 2007) | 3 lines Remove a recursive lock of the manager session. This was pointed out by zandbelt in issue #8711. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52692 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Merged revisions 52647 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r52647 | russell | 2007-01-29 15:36:56 -0600 (Mon, 29 Jan 2007) | 3 lines ASTLDFLAGS needs to be passed to the editline configure script as LDFLAGS. (issue #8928, zandbelt) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Merged revisions 52645 via svnmerge from russell1-1/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r52645 | russell | 2007-01-29 15:26:27 -0600 (Mon, 29 Jan 2007) | 6 lines Fix a problem with packet-to-packet bridging and DTMF mode translation. P2P bridging can only be used when the DTMF modes don't match if the core is monitoring DTMF in both directions. Then, the core will handle the translation. Otherwise, this bridging method can not be used. (issue #8936) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52646 f38db490-d61c-443f-a65b-d21fe96a405b