[Home]

Summary:ASTERISK-06276: SNMP [Sub]Agent for Asterisk
Reporter:Thorsten Lockert (tholo)Labels:
Date Opened:2006-02-07 18:54:20.000-0600Date Closed:2008-01-15 17:02:56.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) res_snmp.tar.gz
( 1) res_snmp-v2.tar.gz
( 2) snmp.diff
( 3) snmp-v4.diff
( 4) snmp-v5.diff
( 5) snmp-v6.diff
Description:We had a need for doing better monitoring of Asterisk, and wanted to use SNMP to do this.  That way we can easily make pretty graphs with MRTG or what have you.

****** ADDITIONAL INFORMATION ******

Some time ago someone had implemented an SNMP agent for Asterisk, but it seems it did not get maintained.  I wrote a new implementation from the bottom up, including a (temporary?) MIB to go with it.  I did take the liberty of using Digium's enterprise number for this MIB.

For what is implemented so far, there are basically *no* changes made to the Asterisk core.  Some more additions can (and will) be made to this without having to make any changes to the rest of Asterisk.

Long term some changes should (will?) be made to Asterisk, to expose more data to the agent.

The agent is capable of running either as a full agent on port 161 (Asterisk must run as root in order to do this), or as a Subagent using the AgentX protocol.  It requires Net-SNMP to build (and to run, if running as a Subagent).
Comments:By: Thorsten Lockert (tholo) 2006-02-08 10:06:29.000-0600

Made some changes to not return values held directly in channel structs, for stability.  Also some style changes requested by markster.

By: Enrique Martinez (enmaca) 2006-02-08 10:48:36.000-0600

Hi tholo, i have recently compiled against asterisk 1.2.4 but give me this error.

[res_snmp.so]Feb  8 11:47:19 WARNING[783]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/res_snmp.so: undefined symbol: agent_thread
Feb  8 11:47:19 WARNING[783]: loader.c:554 load_modules: Loading module res_snmp.so failed!

i have in the /etc/asterisk/res_snmp.conf
[general]
subagent=yes

Any tought???

By: Thorsten Lockert (tholo) 2006-02-08 11:07:11.000-0600

Fixed Makefile problem where the bulk of the agent code was not linked into res_snmp.so -- thanks enmaca!

By: Enrique Martinez (enmaca) 2006-02-08 12:08:41.000-0600

The asterisk mib file has some formated issues there are a fixed mib file, by the way asterisk 1.2.4 with res_snmp.so loaded seems to deadlock a sip call i need to review the scenario

Regards

By: Thorsten Lockert (tholo) 2006-02-08 12:25:30.000-0600

Some of the changes made to the MIB are wrong -- specifically things like changing "astChanEntry" to "AstChanEntry" in "astChanTable SEQUENCE OF astChanEntry" -- "AstChanEntry" is a syntax description, while "astChanEntry" is an actual entry.

The one valid change I can see is adding a reference to the index for astChanTypeTable, which is incorporated now in my version.

By: Enrique Martinez (enmaca) 2006-02-09 11:17:59.000-0600

Im a newbie in the mibs description but i cant load the mib in adventNET SNMP Utilities unless i make the changes "astChanEntry" -- "AstChanEntry"

By: Thorsten Lockert (tholo) 2006-02-09 11:25:31.000-0600

I looked at things again, and yes, you are right.  Fixing this now...  Will put up a new version in a few minutes with this and some other stability fixes, as well as a version that can be built outside of the Asterisk tree (both against 1.2.* and against HEAD)...

By: Thorsten Lockert (tholo) 2006-02-09 11:28:58.000-0600

The files "snmp.diff", "snmp-v2.diff", "snmp-v3.diff" and "asterisk-mib.txt" should be removed.

By: Olle Johansson (oej) 2006-02-09 12:30:34.000-0600

tholo, this is very cool. I will take a look at this. We will have to have some internal APIs so that other modules, like chan_sip, can provide data to the snmp agent.

Architecture-wise, I've been thinking along two different ways of doing this, either as a res_ module like you did, or as a separate piece of software, hooking up over the manager interface.

By: Thorsten Lockert (tholo) 2006-02-09 12:35:29.000-0600

The manager interface is, in effect, unusable.  Because if you do a query over that which has a fair bit of data (e.g. active channels on a busy instance), you only get the first bit of the return value.

This is also very much a work in progress, and much more information need to be available.  However, the initial goal was to:

- Provide the information *we* needed
- Be as un-intrusive to the rest of Asterisk as possible

As such, this requires no changes to Asterisk whatsoever.  That does, as you can imagine, somewhat limit what information is available.  But fixing that is to be the next step -- but *something* is much better than *nothing*, and this at least allow us to easily graph how busy our Asterisk instances are...

By: Olle Johansson (oej) 2006-02-09 12:39:47.000-0600

Just a small comment from looking at the source:

We are trying to use enum-like constructs instead of those long lists of #define's nowadays...

Maybe agent.c should be named snmpagent.c to be a bit more clear.

By: Olle Johansson (oej) 2006-02-09 12:40:45.000-0600

"There is no interface to get the list of currently supported
* technologies from Asterisk.  But there is a way of retrieving
"

Hmm. We can do that in "show channeltypes" so it should be possible if we just publish the channel list as a global variable.

By: Olle Johansson (oej) 2006-02-09 12:44:25.000-0600

Can't find the sample config mentioned in the makefile...

By: Thorsten Lockert (tholo) 2006-02-09 12:44:33.000-0600

Yes, and Mark has committed to adding an interface to walk the list of channel types much like we have for walking channels.

But look again at the *initial* goals of being non-intrusive... ;-)

As for using enums instead of defines...  I don't really see that it makes that much of a difference, and this was coded to be somewhat more like how any and all other SNMP agents are done.

As far as naming "agent.c" with an "snmp" prefix in the name, that is pretty much done already by putting it in res/snmp/agent.c in the source tree...  I mean, we don't have to be redundant either...?

By: Mark Spencer (markster) 2006-02-11 10:46:44.000-0600

I added the channeltypes list, it returns an ast_variable list which can be free with ast_variables_destroy...  Awaiting updated patch!

By: Thorsten Lockert (tholo) 2006-02-12 18:24:53.000-0600

Integrated diff updated and uploaded as "snmp.diff", which is now the current version.

By: John Todd (jtodd) 2006-02-12 23:05:08.000-0600

For giggles, this is the command to walk the "Asterisk" portion of the tree, assuming that "public" is the snmp community:

snmpwalk -v 1 127.0.0.1 public  .1.3.6.1.4.1.22736

or

snmpwalk -v 1 127.0.0.1 -c public  .1.3.6.1.4.1.22736

or

snmpwalk -m /usr/share/snmp/mibs/asterisk-mib.txt -v 1 127.0.0.1 -c public  .1.3.6.1.4.1.22736

Now, I ran this as an "agent" (not a sub-agent) and I'm somewhat confused on how to change the community string.  I figured it would be in the "normal" place that snmpd installed it - /etc/snmp/snmpd.conf in my case.  I changed my community name to something other than "public" to make a negative test... but "public" still walked the tree.  Is this picking up the community from the global config file or is there somewhere else that it's stored?

On RH9 (redhat 9), I had to jump through a lot of dependency hoops.  Obvious ones like "net-snmp-devel"  and "net-snmp" but less obvoius ones line elfutils-libelf-devel, bzip2-devel.  

Plus, Tholo sez: 'Comment out the "LDFLAGS+=$(shell net-snmp-config --ldflags)" line  [in res/Makefile]-- your net-snmp is too old to understand it.'

By: Donny Kavanagh (donnyk) 2006-02-13 09:16:04.000-0600

eagerly watching this developement, let me know where i can send the redbull.

By: John Todd (jtodd) 2006-02-13 09:41:23.000-0600

If I perform a the SNMPwalk command (as describe above) during an active call, Asterisk locks up and requires a "kill -9".  The values come back appropriately from the SNMPwalk, though...

By: damin (damin) 2006-02-13 10:25:45.000-0600

Hmmm... It seems to me that it would be totally awesome for debugging purposes if we could have the MALLOC_DEBUG routines actually dump data to SNMP. Imagine being able to plot the memory usage of various modules as well as core PBX functions over time? Many advanced developers can sort of do this in their head (I've seen Mark do it, in Chicago when we tracked down a memory leak in app_dial), but for mere mortals, visual representations are often far more effective. This might be a way to get more people engaged in the developer process.

By: Thorsten Lockert (tholo) 2006-02-13 10:27:30.000-0600

Missed a couple of error returns, which could (did!) cause deadlocks.  snmp-v5.diff corrects this.

By: Thorsten Lockert (tholo) 2006-02-24 11:55:13.000-0600

I have uploaded new versions that have slightly more documentation.  All files except "snmp-v6.diff" and "res_snmp-v2.tar.gz" can be removed.

Note that the standalone version in "res_snmp-v2.tar.gz" can build against the 1.2 branch, whereas the patch in "snmp-v6.diff" can only build against trunk.

The standalone version can build against either, but does not use the same interface to get at the channel types as the integrated version -- this is the main difference between the two.

It also no longer attempts to pick up LDFLAGS from net-snmp -- this was empty where supported, but not supported on all distributions of net-snmp...

By: Mark Spencer (markster) 2006-02-26 13:46:56.000-0600

Added to SVN trunk ASTERISK-10716

By: Digium Subversion (svnbot) 2008-01-15 16:24:30.000-0600

Repository: asterisk
Revision: 8632

U   branches/1.2/channel.c

------------------------------------------------------------------------
r8632 | oej | 2008-01-15 16:24:30 -0600 (Tue, 15 Jan 2008) | 2 lines

Issue ASTERISK-6276 - the "timebomb" bug. Patch by Markster over GPRS

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8632

By: Digium Subversion (svnbot) 2008-01-15 16:24:33.000-0600

Repository: asterisk
Revision: 8635

_U  team/crichter/0.3.0/
U   team/crichter/0.3.0/channel.c

------------------------------------------------------------------------
r8635 | crichter | 2008-01-15 16:24:32 -0600 (Tue, 15 Jan 2008) | 10 lines

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

........
r8632 | oej | 2006-01-25 10:46:43 +0100 (Mi, 25 Jan 2006) | 2 lines

Issue ASTERISK-6276 - the "timebomb" bug. Patch by Markster over GPRS

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8635

By: Digium Subversion (svnbot) 2008-01-15 16:28:25.000-0600

Repository: asterisk
Revision: 8891

_U  team/oej/managerstuff/
D   team/oej/managerstuff/ChangeLog
U   team/oej/managerstuff/apps/app_dial.c
U   team/oej/managerstuff/apps/app_festival.c
U   team/oej/managerstuff/apps/app_meetme.c
U   team/oej/managerstuff/apps/app_milliwatt.c
U   team/oej/managerstuff/apps/app_queue.c
U   team/oej/managerstuff/ast_expr2.c
U   team/oej/managerstuff/ast_expr2.fl
U   team/oej/managerstuff/ast_expr2.h
U   team/oej/managerstuff/ast_expr2.y
U   team/oej/managerstuff/ast_expr2f.c
U   team/oej/managerstuff/asterisk.c
U   team/oej/managerstuff/channel.c
U   team/oej/managerstuff/channels/chan_features.c
U   team/oej/managerstuff/channels/chan_iax2.c
U   team/oej/managerstuff/channels/chan_sip.c
U   team/oej/managerstuff/channels/chan_zap.c
U   team/oej/managerstuff/loader.c
U   team/oej/managerstuff/logger.c
U   team/oej/managerstuff/pbx.c
U   team/oej/managerstuff/res/res_features.c
U   team/oej/managerstuff/utils/astman.c

------------------------------------------------------------------------
r8891 | oej | 2008-01-15 16:28:24 -0600 (Tue, 15 Jan 2008) | 202 lines

Merged revisions 8112,8122,8124,8134,8140,8162,8173,8194,8232,8242,8276,8281,8320,8347,8394,8412,8414,8418,8429,8433,8437,8445,8537,8562,8573,8588,8600,8608,8619,8632,8666,8677,8710,8729,8758,8785,8808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8112 | kpfleming | 2006-01-17 00:51:37 +0100 (Tue, 17 Jan 2006) | 2 lines

do rlimit check _after_ reading config file, in case 'dumpcore' is specified there

........
r8122 | kpfleming | 2006-01-17 14:11:55 +0100 (Tue, 17 Jan 2006) | 2 lines

update CLI copyright notice

........
r8124 | mogorman | 2006-01-17 17:55:30 +0100 (Tue, 17 Jan 2006) | 3 lines

Fixed code ordering of logger_init and queue_log_init
bug 6263

........
r8134 | mattf | 2006-01-17 19:29:57 +0100 (Tue, 17 Jan 2006) | 2 lines

Backport of fix for ASTERISK-5936

........
r8140 | mogorman | 2006-01-17 21:10:29 +0100 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........
r8162 | mogorman | 2006-01-18 01:47:04 +0100 (Wed, 18 Jan 2006) | 4 lines

Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue

........
r8173 | russell | 2006-01-18 03:49:21 +0100 (Wed, 18 Jan 2006) | 2 lines

remove ChangeLog from the 1.2 branch.  It will only be present in the tags.

........
r8194 | mogorman | 2006-01-18 22:02:06 +0100 (Wed, 18 Jan 2006) | 3 lines

Solves issue with the login proccess in meetme
patch from 6136

........
r8232 | russell | 2006-01-19 05:17:45 +0100 (Thu, 19 Jan 2006) | 3 lines

fix a seg fault due to assuming that space gets allocatted on the stack in the
same order that we declare the variables (issue ASTERISK-6130)

........
r8242 | russell | 2006-01-19 05:56:48 +0100 (Thu, 19 Jan 2006) | 3 lines

fix Message-Account header to use the ip address if the fromdomain
isn't set (issue ASTERISK-6118)

........
r8276 | tilghman | 2006-01-19 20:14:37 +0100 (Thu, 19 Jan 2006) | 2 lines

Bug 6072 - Memory leaks in the expression parser

........
r8281 | oej | 2006-01-19 20:40:28 +0100 (Thu, 19 Jan 2006) | 2 lines

Enable "musicclass" setting for sip peers as per the config sample.

........
r8320 | mogorman | 2006-01-20 02:00:46 +0100 (Fri, 20 Jan 2006) | 3 lines

solved problem with delayreject and iax trunking
bug 4291

........
r8347 | russell | 2006-01-20 19:34:42 +0100 (Fri, 20 Jan 2006) | 2 lines

fix invalid value of prev_q (issue ASTERISK-6142)

........
r8394 | tilghman | 2006-01-21 19:29:39 +0100 (Sat, 21 Jan 2006) | 2 lines

Bug 5936 - AddQueueMember fails on realtime queue, if queue not yet loaded

........
r8412 | russell | 2006-01-22 00:17:06 +0100 (Sun, 22 Jan 2006) | 2 lines

prevent the possibility of writing outside of the available workspace (issue ASTERISK-6111)

........
r8414 | russell | 2006-01-22 00:43:14 +0100 (Sun, 22 Jan 2006) | 2 lines

temporarily revert substring fix pending the result of the discussion in issue ASTERISK-6111

........
r8418 | russell | 2006-01-22 03:05:41 +0100 (Sun, 22 Jan 2006) | 3 lines

add a modified fix to prevent writing outside of the provided workspace when
calculating a substring (issue ASTERISK-6111)

........
r8429 | tilghman | 2006-01-22 09:52:49 +0100 (Sun, 22 Jan 2006) | 2 lines

Bug 6281 - Cannot set more than a single header with SIPAddHeader

........
r8433 | bweschke | 2006-01-22 16:13:41 +0100 (Sun, 22 Jan 2006) | 3 lines

Bug fix: Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allowing chan_sip to send calls when it really shouldn't. Bug ASTERISK-5953


........
r8437 | russell | 2006-01-22 18:47:13 +0100 (Sun, 22 Jan 2006) | 2 lines

fix MixMonitor crash (issue ASTERISK-6161, probably others)

........
r8445 | russell | 2006-01-22 20:03:53 +0100 (Sun, 22 Jan 2006) | 2 lines

fix memory leak from not freeing the queue member list when freeing an old queue

........
r8537 | oej | 2006-01-24 14:15:13 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue ASTERISK-6148 - never send response to ACK. (Reported by whiskerp)

........
r8562 | oej | 2006-01-24 20:21:15 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue 6114: Don't hangup on BYE/ALSO with no channel.

........
r8573 | mattf | 2006-01-24 21:37:30 +0100 (Tue, 24 Jan 2006) | 2 lines

Backport fix for ASTERISK-6071, hangup on polarity reversal

........
r8588 | kpfleming | 2006-01-24 23:32:09 +0100 (Tue, 24 Jan 2006) | 2 lines

ensure that channel cannot become zombie after we check but before we try to start indications

........
r8600 | russell | 2006-01-24 23:55:32 +0100 (Tue, 24 Jan 2006) | 2 lines

completely arbitrary whitespace change for testing something with svnmerge ...

........
r8608 | kpfleming | 2006-01-25 02:50:52 +0100 (Wed, 25 Jan 2006) | 2 lines

ensure hangup cause code is handled properly when channel does not return a frame (issue ASTERISK-6186)

........
r8619 | russell | 2006-01-25 06:38:36 +0100 (Wed, 25 Jan 2006) | 2 lines

don't leak almost 200 bytes for each new channel (issue ASTERISK-6170)

........
r8632 | oej | 2006-01-25 10:46:43 +0100 (Wed, 25 Jan 2006) | 2 lines

Issue ASTERISK-6276 - the "timebomb" bug. Patch by Markster over GPRS

........
r8666 | russell | 2006-01-25 19:39:44 +0100 (Wed, 25 Jan 2006) | 2 lines

fix memory leak (inspired by issue ASTERISK-6190)

........
r8677 | russell | 2006-01-25 20:14:43 +0100 (Wed, 25 Jan 2006) | 3 lines

don't call ast_update_realtime with uninitialized variables if we get a
registration with an expirey of 0 seconds (issue ASTERISK-6016)

........
r8710 | oej | 2006-01-26 15:39:36 +0100 (Thu, 26 Jan 2006) | 2 lines

Issue 5898: Registrations does not get deleted if there's an active SIP dialog

........
r8729 | russell | 2006-01-26 20:42:35 +0100 (Thu, 26 Jan 2006) | 2 lines

fix problem with dtmf on e&m (issue ASTERISK-6203)

........
r8758 | tilghman | 2006-01-27 01:52:12 +0100 (Fri, 27 Jan 2006) | 2 lines

Bug 6072 - Revisions to the source bison and flex files don't auto-regenerate these files

........
r8785 | oej | 2006-01-27 09:02:16 +0100 (Fri, 27 Jan 2006) | 2 lines

Issue 6362 - Register without Contact: and Expires: fails (reporter: op)

........
r8808 | oej | 2006-01-28 14:52:15 +0100 (Sat, 28 Jan 2006) | 3 lines

Issue 6182 - Don't remove scheduled event until it's really done.
(reported by malverian)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8891

By: Digium Subversion (svnbot) 2008-01-15 16:28:31.000-0600

Repository: asterisk
Revision: 8894

_U  team/oej/moduletest/
U   team/oej/moduletest/apps/app_dial.c
U   team/oej/moduletest/apps/app_queue.c
U   team/oej/moduletest/ast_expr2.c
U   team/oej/moduletest/ast_expr2.h
U   team/oej/moduletest/ast_expr2f.c
U   team/oej/moduletest/asterisk.c
U   team/oej/moduletest/channel.c
U   team/oej/moduletest/channels/chan_features.c
U   team/oej/moduletest/channels/chan_iax2.c
U   team/oej/moduletest/channels/chan_sip.c
U   team/oej/moduletest/channels/chan_zap.c
U   team/oej/moduletest/pbx.c
U   team/oej/moduletest/utils/astman.c

------------------------------------------------------------------------
r8894 | oej | 2008-01-15 16:28:30 -0600 (Tue, 15 Jan 2008) | 135 lines

Merged revisions 8320,8347,8394,8412,8414,8418,8429,8433,8437,8445,8537,8562,8573,8588,8600,8608,8619,8632,8666,8677,8710,8729,8758,8785,8808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8320 | mogorman | 2006-01-20 02:00:46 +0100 (Fri, 20 Jan 2006) | 3 lines

solved problem with delayreject and iax trunking
bug 4291

........
r8347 | russell | 2006-01-20 19:34:42 +0100 (Fri, 20 Jan 2006) | 2 lines

fix invalid value of prev_q (issue ASTERISK-6142)

........
r8394 | tilghman | 2006-01-21 19:29:39 +0100 (Sat, 21 Jan 2006) | 2 lines

Bug 5936 - AddQueueMember fails on realtime queue, if queue not yet loaded

........
r8412 | russell | 2006-01-22 00:17:06 +0100 (Sun, 22 Jan 2006) | 2 lines

prevent the possibility of writing outside of the available workspace (issue ASTERISK-6111)

........
r8414 | russell | 2006-01-22 00:43:14 +0100 (Sun, 22 Jan 2006) | 2 lines

temporarily revert substring fix pending the result of the discussion in issue ASTERISK-6111

........
r8418 | russell | 2006-01-22 03:05:41 +0100 (Sun, 22 Jan 2006) | 3 lines

add a modified fix to prevent writing outside of the provided workspace when
calculating a substring (issue ASTERISK-6111)

........
r8429 | tilghman | 2006-01-22 09:52:49 +0100 (Sun, 22 Jan 2006) | 2 lines

Bug 6281 - Cannot set more than a single header with SIPAddHeader

........
r8433 | bweschke | 2006-01-22 16:13:41 +0100 (Sun, 22 Jan 2006) | 3 lines

Bug fix: Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allowing chan_sip to send calls when it really shouldn't. Bug ASTERISK-5953


........
r8437 | russell | 2006-01-22 18:47:13 +0100 (Sun, 22 Jan 2006) | 2 lines

fix MixMonitor crash (issue ASTERISK-6161, probably others)

........
r8445 | russell | 2006-01-22 20:03:53 +0100 (Sun, 22 Jan 2006) | 2 lines

fix memory leak from not freeing the queue member list when freeing an old queue

........
r8537 | oej | 2006-01-24 14:15:13 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue ASTERISK-6148 - never send response to ACK. (Reported by whiskerp)

........
r8562 | oej | 2006-01-24 20:21:15 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue 6114: Don't hangup on BYE/ALSO with no channel.

........
r8573 | mattf | 2006-01-24 21:37:30 +0100 (Tue, 24 Jan 2006) | 2 lines

Backport fix for ASTERISK-6071, hangup on polarity reversal

........
r8588 | kpfleming | 2006-01-24 23:32:09 +0100 (Tue, 24 Jan 2006) | 2 lines

ensure that channel cannot become zombie after we check but before we try to start indications

........
r8600 | russell | 2006-01-24 23:55:32 +0100 (Tue, 24 Jan 2006) | 2 lines

completely arbitrary whitespace change for testing something with svnmerge ...

........
r8608 | kpfleming | 2006-01-25 02:50:52 +0100 (Wed, 25 Jan 2006) | 2 lines

ensure hangup cause code is handled properly when channel does not return a frame (issue ASTERISK-6186)

........
r8619 | russell | 2006-01-25 06:38:36 +0100 (Wed, 25 Jan 2006) | 2 lines

don't leak almost 200 bytes for each new channel (issue ASTERISK-6170)

........
r8632 | oej | 2006-01-25 10:46:43 +0100 (Wed, 25 Jan 2006) | 2 lines

Issue ASTERISK-6276 - the "timebomb" bug. Patch by Markster over GPRS

........
r8666 | russell | 2006-01-25 19:39:44 +0100 (Wed, 25 Jan 2006) | 2 lines

fix memory leak (inspired by issue ASTERISK-6190)

........
r8677 | russell | 2006-01-25 20:14:43 +0100 (Wed, 25 Jan 2006) | 3 lines

don't call ast_update_realtime with uninitialized variables if we get a
registration with an expirey of 0 seconds (issue ASTERISK-6016)

........
r8710 | oej | 2006-01-26 15:39:36 +0100 (Thu, 26 Jan 2006) | 2 lines

Issue 5898: Registrations does not get deleted if there's an active SIP dialog

........
r8729 | russell | 2006-01-26 20:42:35 +0100 (Thu, 26 Jan 2006) | 2 lines

fix problem with dtmf on e&m (issue ASTERISK-6203)

........
r8758 | tilghman | 2006-01-27 01:52:12 +0100 (Fri, 27 Jan 2006) | 2 lines

Bug 6072 - Revisions to the source bison and flex files don't auto-regenerate these files

........
r8785 | oej | 2006-01-27 09:02:16 +0100 (Fri, 27 Jan 2006) | 2 lines

Issue 6362 - Register without Contact: and Expires: fails (reporter: op)

........
r8808 | oej | 2006-01-28 14:52:15 +0100 (Sat, 28 Jan 2006) | 3 lines

Issue 6182 - Don't remove scheduled event until it's really done.
(reported by malverian)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8894

By: Digium Subversion (svnbot) 2008-01-15 17:02:56.000-0600

Repository: asterisk
Revision: 11193

A   trunk/configs/res_snmp.conf.sample
A   trunk/doc/asterisk-mib.txt
A   trunk/doc/digium-mib.txt
A   trunk/doc/snmp.txt
U   trunk/res/Makefile
A   trunk/res/res_snmp.c
A   trunk/res/snmp/
A   trunk/res/snmp/agent.c
A   trunk/res/snmp/agent.h

------------------------------------------------------------------------
r11193 | markster | 2008-01-15 17:02:56 -0600 (Tue, 15 Jan 2008) | 2 lines

Add SNMP support (bug ASTERISK-6276)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=11193