Commit Graph

8958 Commits

Author SHA1 Message Date
Olle Johansson 6d86697867 issue #7033 - Don't burst pokes to peers at load or reload.
Open for a cool algorithm to space them out...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-27 18:00:09 +00:00
Olle Johansson 6895f108bd Inspired by issue 6742, but solved in a different way.
(Yes, I like the system name setting)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-27 17:30:14 +00:00
Tilghman Lesher b43f5638ef Missing parenthesis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-27 15:53:27 +00:00
Matt O'Gorman ccc7f662d8 dont copy an id or a message if they dont exist.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-27 14:07:24 +00:00
Christian Richter 5d18356b24 fixes segfault on incoming call which is disconnected in Alerting state
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-27 11:28:48 +00:00
Olle Johansson 6ca399c459 Don't change direction of the dialogue when we send a re-invite
(will confuse to/from headers and to/from tags)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-27 10:54:57 +00:00
Olle Johansson 0dbb924cb5 Found a missing "l" on the left side of the sofa, close to the TV.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 20:43:49 +00:00
Olle Johansson 66786a7d53 Issue #7421 - Stop generator on both call legs (patch by tgrman)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 20:41:54 +00:00
Olle Johansson 1cbd4effca Issue #7429 - accessing a not allocated structure causes segfault... (tgrman, fix by myself
inspired by suggested fix).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 19:07:32 +00:00
Olle Johansson cc43f0bdc7 Speling error. Avoid swenglish :-) (thanks, jtodd!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 18:34:29 +00:00
Christian Richter baad1c266c * fixed the busy state
* fixed tone handling after ast_hangup was called
* optimized the tone_indication function
* removed warnings in favour of log debugs
* improved the round_robin method
* added logs for channel setting/emptying
* fixed channel forgot to set bug





git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 17:37:11 +00:00
Olle Johansson 6399ac438d Add explanation and warning about the "s" extension. (Hi Mike :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 17:31:51 +00:00
Kevin P. Fleming 93385c0fab fix for issue #7245
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 17:24:14 +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
Olle Johansson e2b0c5b558 Add example of permit/deny to sip.conf.sample
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 16:24:43 +00:00
Olle Johansson 693785cd8b Block patch that does not apply to trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 16:15:58 +00:00
Russell Bryant 4b64399cc6 don't let the Makefile blow up in menuselect.makeopts is present but
menuselect.makedeps is not.  This would probably only be the case in existing
checkouts ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 14:38:55 +00:00
Olle Johansson 71411c6bae - Formatting
- Don't name internal static functions ast_
- Expand the buffer for variables, since I almost always hit the limit on my channels


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 08:40:30 +00:00
Olle Johansson 9863bb982c Separate private options so we don't request bug report on those...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 08:25:33 +00:00
Olle Johansson 8ee441b649 Update the SIP options list from IANA repository
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 07:45:03 +00:00
Kevin P. Fleming 67ea3b2d22 simplify special rule for channel.o
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 06:27:25 +00:00
Tilghman Lesher b3c6e18a5e Merged revisions 35915 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35915 | tilghman | 2006-06-25 10:10:06 -0500 (Sun, 25 Jun 2006) | 2 lines

Bug 7425 - Size of buffer is passed in by len

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 15:12:02 +00:00
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 08:50:14 +00:00
Russell Bryant 2f80e9db74 fix pbx_dundi build (issue #7424, jstrom)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 01:25:52 +00:00
Kevin P. Fleming 9d6c30422b commit missing file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 23:26:19 +00:00
Kevin P. Fleming 51453628a0 clean up some damage from today's commit
convert codecs Makefile to new style


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 23:12:22 +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
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 08:45:49 +00:00
Russell Bryant 2e9099934b fix dist-clean and add menuselect to the clean target, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 04:42:35 +00:00
Russell Bryant b38f45a458 add dependency on menuselect's version of linkedlists.h, list menuselect as
a PHONY target


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 04:34:55 +00:00
Russell Bryant 39913c58b7 set the menu name when building makeopts.xml
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 04:10:41 +00:00
Russell Bryant c7024d8a02 ast_calloc, instead of malloc and memset
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 04:03:52 +00:00
Russell Bryant 1c17258f4e fix some little issues on big endian platforms to resolve compiler warnings
- don't call the byte swapping macros on single byte numbers
 - don't do a ++ increment in the argument in the argument to the byte swapping
   macros. This gets expanded to incrementing the variable 4 times in a single
   operation, which results in undefined (and obviously undesired) behavior. :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 23:22:57 +00:00
Russell Bryant c8ceb92a4f revert my changes that converted the jb on the channel to be dynamically
allocated. These changes caused crashes when using a channel type that did
not support the jitterbuffer. Instead of fixing why it's crashing, I'm going
to implement this in a better way next week. The way I did it caused a
jitterbuffer to be allocated on every channel where the channel type supported
jitterbuffers, even if they were disabled.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 16:49:12 +00:00
Kevin P. Fleming b8518110da add support for Zaptel transcoders
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 16:33:17 +00:00
Kevin P. Fleming 886350c637 ignore doxygen output directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 15:15:58 +00:00
Russell Bryant cdbb0e2bf7 merge changes to get menuselect using svn:externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 14:19:35 +00:00
BJ Weschke 0d0fadc781 Merged revisions 35669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35669 | bweschke | 2006-06-23 06:30:17 -0500 (Fri, 23 Jun 2006) | 3 lines

 We should lock the queue before we go making changes to member interface statuses.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 11:33:02 +00:00
Kevin P. Fleming 2f238654de remove any generated doxygen docs during distclean
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 08:32:19 +00:00
Kevin P. Fleming eaf0524c40 very minor improvement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 08:15:48 +00:00
Russell Bryant 93c833e5d0 remove the autom4te.cache dir on a "make distclean" and add distclean to the
.PHONY list


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 02:15:35 +00:00
Russell Bryant 84c37e0c58 reduce indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 02:08:10 +00:00
Russell Bryant 5e282fef07 reduce indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 02:03:21 +00:00
Russell Bryant 8ab51d1fb1 delete snmp/agent.o on make clean
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 01:54:07 +00:00
Russell Bryant 268609aa68 add basic autoconf support for res_snmp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 01:50:55 +00:00
Russell Bryant 53a56fcfe7 remove various commands that remove old modules since they have been there a
sufficient amount of time.  Even if they happen to be still present, the main
Makefile will spit out a huge warning telling the user that modules not
installed by that run of "make install" are present in the modules directory.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 01:29:41 +00:00
Russell Bryant 463a3eb45b delete the local copy of mxml and use svn:externals to get it from its own
repo since it is going to be used it more than one place now


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 00:24:12 +00:00
Russell Bryant 7421acaa7e don't blow up if a jitterbuffer is not in use
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 17:49:28 +00:00
Russell Bryant 5941d4d819 - move the increase of the use count to be after the possible failures
- if the pbx fails to start, set the owner channel of the pvt strucutre
  to be NULL
- return immediately if the pbx fails to start so the loop to set all of
  the variables from the "setvar" options aren't set as a bunch of global
  variables instead


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 17:10:16 +00:00
Russell Bryant 46018d5032 - dynamically allocate the ast_jb structure that is on the channel structure
so that channels not using a jitterbuffer don't waste as much memory
- ensure that the channel drivers that use jitterbuffers can handle a failure
  from configuring a jitterbuffer on a new channel because of a memory
  allocation error
- On passing through these channel drivers, configure the jitterbuffer before
  starting the PBX thread instead of afterwards. If the pbx fails to start for
  whatever reason, this would have caused a crash.
- Also on passing, move the increase of the usecount to after all of the
  possible failure conditions in the function
- fix a place where ast_update_use_count() was not called
- ensure that the owner channel pointer of the channel pvt strcutures is set to
  NULL in failure conditions


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