Commit Graph

228 Commits

Author SHA1 Message Date
Russell Bryant d26bb9ccb6 Merged revisions 51343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51343 | russell | 2007-01-19 18:13:06 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove an unused instance of an unnamed enum.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 00:13:52 +00:00
Russell Bryant c39e1b8246 Merged revisions 51341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51341 | russell | 2007-01-19 16:19:10 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove another duplicated definition

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 22:34:13 +00:00
Russell Bryant cde480e400 Merged revisions 51339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51339 | russell | 2007-01-19 15:20:20 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove a variable that was declared twice.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 21:21:03 +00:00
Luigi Rizzo 1b35a441d9 include "asterisk/zapata.h" instead of testing for
the location of the header files.

On passing, add a cast to insure -Werror clean compilation
on FreeBSD 6.x, where time_t does not match %ld



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:21:24 +00:00
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines

reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:43:18 +00:00
Joshua Colp b3ca8342fd Merged revisions 48966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48966 | file | 2006-12-26 00:20:08 -0500 (Tue, 26 Dec 2006) | 2 lines

Get rid of a needless memory allocation and only create a conference structure in find_conf_realtime if data was read from realtime. (issue #8669 reported by robl)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26 05:23:25 +00:00
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:44:20 +00:00
Joshua Colp c0c1c35e9a Merged revisions 48379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48379 | file | 2006-12-11 00:30:01 -0500 (Mon, 11 Dec 2006) | 2 lines

Use the correct API call to say a device state changed. (Yes, I'm a nub.)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-11 05:34:53 +00:00
Joshua Colp f5c2b80787 Merged revisions 48377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48377 | file | 2006-12-10 23:57:38 -0500 (Sun, 10 Dec 2006) | 2 lines

Don't access the conference structure after it has been freed.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-11 05:01:37 +00:00
Russell Bryant 5824af9cbc Resolve some pointer signedness compiler warnings in app_osplookup, and
constify a bunch of usage strings for CLI commands.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 07:39:39 +00:00
Joshua Colp 9a40c9c4f2 Merged revisions 47748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47748 | file | 2006-11-16 12:52:48 -0500 (Thu, 16 Nov 2006) | 2 lines

Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 17:53:58 +00:00
Joshua Colp 4546bd26fc Don't play the "entering conference number <insert number here>" prompts if the 'q' option is used. If others believe this should be in 1.2/1.4 then we can put it in, but I'm uncomfortable doing so right now as it is a change of behavior. (issue #8138 reported by tmancill)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 17:55:24 +00:00
Russell Bryant 0ca6a42d7e fix various spelling mistakes in comments (issue #8237, jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 17:52:15 +00:00
Russell Bryant 18b7e4b699 Merged revisions 46065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46065 | russell | 2006-10-23 21:04:14 -0400 (Mon, 23 Oct 2006) | 2 lines

Fix the descriptions of some of the MeetMeAdmin options (issue #8098, mflorell)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-24 01:05:11 +00:00
Joshua Colp 2ee00d58c7 Just for Nicholson - here's an option, C, to Meetme that will allow it to continue in the dialplan if the person is kicked out. (issue #7994 reported by mnicholson with mods by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-18 22:19:57 +00:00
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines

update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 19:51:38 +00:00
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
patch provided in bugnote, with minor changes.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:53:07 +00:00
Joshua Colp 3e4a081e1c Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 20:35:16 +00:00
Joshua Colp b201ce0ae0 Merged revisions 43893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r43893 | file | 2006-09-28 12:17:36 -0400 (Thu, 28 Sep 2006) | 10 lines

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

........
r43891 | file | 2006-09-28 12:13:55 -0400 (Thu, 28 Sep 2006) | 2 lines

Stop the stream after waitstream returns so that our formats get restored. (issue #7370 reported by kryptolus)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 16:19:22 +00:00
Jason Parker ee13556e30 Fire a manager event when a meetme is started/stopped.
Issue #7891, patch by suhler.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26 22:18:04 +00:00
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 20:40:39 +00:00
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:54:18 +00:00
Tilghman Lesher e16104185a Merged revisions 43003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43003 | tilghman | 2006-09-15 23:44:02 -0500 (Fri, 15 Sep 2006) | 2 lines

When the marked user enters the conference, we should no longer timeout

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-16 05:43:54 +00:00
Tilghman Lesher 979ef8d2ed Merged revisions 42783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42783 | tilghman | 2006-09-11 16:47:23 -0500 (Mon, 11 Sep 2006) | 4 lines

When paging, only wait 5 seconds for the marked user to enter the conference.
After that, assume the paging already completed by the time the channel entered
the conference and drop back out.  (Issue 7275)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 22:17:46 +00:00
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Russell Bryant 87ac16847e - unregister SLA apps on module unload and add sample config (issue #7701, junky)
- rename SLAS to SLAStation, and SLAT to SLATrunk


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-14 01:32:46 +00:00
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19 20:44:39 +00:00
Mark Spencer f6d03e822a Make app_meetme's do_invite more generic.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-17 02:17:38 +00:00
Mark Spencer 4c90cf59b7 Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
and implement holding in the SLA.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-08 02:24:07 +00:00
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 16:44:41 +00:00
Olle Johansson fea7dd0b31 Add some comments to the SLA code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 07:40:08 +00:00
Russell Bryant a4c7a1c97c reduce indentation a couple of levels
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 05:32:08 +00:00
Russell Bryant 03a277c5cc - remove an unused variable
- use ast_calloc instead of malloc + memset
- return immediately on ast_calloc failure instead of indenting the whole func
- remove a duplicate ast_strdupa


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 03:39:37 +00:00
Mark Spencer 79221df76c First pass at SLA support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 23:54:43 +00:00
Olle Johansson f8311adcda METERMAIDS:
-----------
- Adding devicestate providers, a new architecture to add non-channel related
  device state information, like parking lots, queues, meetmes, vending machines
  and Windows 98 reboots (lots of blinking on those lights)
- Adding provider for parking lots, so you can subscribe to the status of a
  parking lot
- Adding provider for meetme, so you can have a blinking lamp for a meetme
  ( Example: exten => edvina,hint,meetme:1234 )
- Adding support for directed parking - set the PARKINGEXTEN before you manually
  call Park() and you will be parked on that space. If it's occupied, dialplan
  execution will continue.

This work was sponsored by Voop A/S - www.voop.com


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 16:43:21 +00:00
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Russell Bryant 4cef7b714e fix up some places where frames are not free'd and remove an unnecessary
unlock of the confs list where it is not possible for it to be locked


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:12:56 +00:00
Joshua Colp dcab298cfc Don't double check existence of a variable (issue #7300 reported by foamdino)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 19:05:30 +00:00
Joshua Colp e3fe7e1c08 Add more missing newlines (issue #7323 reported by darkskiez)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:36:54 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Joshua Colp e5753b49ad Documentation changes for Qwell
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 23:10:56 +00:00
Joshua Colp a69e488812 Fix up meetme some more (thanks TonyM!!!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 22:54:58 +00:00
Joshua Colp a74ebe5933 Make the user menu unmute/mute work again, including in combination with the 'l' option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 17:21:12 +00:00
Joshua Colp f35b95e516 Remove ourselves from the userlist a little bit earlier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 17:33:37 +00:00
Joshua Colp 8ecf6a7bb1 Merge in branch that adds new features to MeetMeAdmin. See application documentation for more details on the new options. (issue #7131 reported by dmikusa branch by jcollie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 21:30:40 +00:00
Joshua Colp 0cdb878abb Remove possibility of sending duplicate MeetmeJoin manager events, and only send a MeetmeLeave event if a MeetmeJoin event occured in the first place. (issue #6599 reported by imran - provided patch with few tiny mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 21:06:08 +00:00
Joshua Colp 16d0f580f9 Merged revisions 30373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30373 | file | 2006-05-25 17:03:11 -0300 (Thu, 25 May 2006) | 2 lines

Don't play the enter sound twice when a person joins a conference after the leader has joined it. (issue #6138 reported by shanermn)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 20:05:52 +00:00
Matt O'Gorman 5a005e8ac8 Merged revisions 30037 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r30037 | mogorman | 2006-05-24 14:55:21 -0500 (Wed, 24 May 2006) | 3 lines

app_meemte used the ast_max_exten instead of path_max
solves bug 6822

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 20:07:02 +00:00
BJ Weschke 6535df3680 app_meetme Muting and Manager API enhancements #6731 (softins w/some minor mods to accomodate recent enum work)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 16:35:46 +00:00
Matt O'Gorman 9d15337fa0 patch from bug 0007204 to make bug 5750 follow standard
manager naming convention.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 22:51:56 +00:00