dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

19 Commits

Author SHA1 Message Date
mmichelson 5825c7d07d Make res/snmp/agent.c build
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115199 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02 14:51:59 +00:00
qwell a05d347c35 Merged revisions 105572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105572 | qwell | 2008-03-03 12:06:52 -0600 (Mon, 03 Mar 2008) | 7 lines

Fix types for astNumChannels and astConfigCallsProcessed.

(closes issue #12114)
Reported by: jeffg
Patches:
      12114.patch uploaded by jeffg (license 192)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105573 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-03 18:08:05 +00:00
murf c39c4bab13 small change to allow this file to compile. No problem if you don't install the libsnmp package.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104301 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 22:14:22 +00:00
russell 16a48590aa Convert this file over the new method of getting the Asterisk version.
(I don't have this building on this machine, so caio1982 on IRC is going to
 test it for me.  :) )


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96743 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 23:05:35 +00:00
rizzo 0a8518b7c8 modify http://svn.digium.com/view/asterisk?view=rev&rev=93603
so that paths and filename are writable by asterisk.c without
causing segfaults.

This involves defining the variables as const char *,
and having them point to as static, writable buffer
defined in asterisk.c

On passing, fix some errors in using these variables
in some files in utils/ , and in res/snmp/agent.c
which was redefining a variable without using paths.h

(not applicable to 1.4)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94168 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-20 09:55:05 +00:00
rizzo 7c309cc622 make netsmp build under AST_DEVMODE. Description, included in the source,
is below. I should note that the PACKAGE_* macros that asterisk
defines in autoconfig.h are not used anywhere in the tree so
they should just be removed.

 /*
  * There is some collision collision between netsmp and asterisk names,
  * causing build under AST_DEVMODE to fail.
  *
  * The following PACKAGE_* macros are one place.
  * Also netsnmp has an improper check for HAVE_DMALLOC_H, using
  *    #if HAVE_DMALLOC_H   instead of #ifdef HAVE_DMALLOC_H
  * As a countermeasure we define it to 0, however this will fail
  * when the proper check is implemented.
  */

No


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93875 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19 08:12:33 +00:00
tilghman 35d428bcca Convert ast_verbose to ast_verb.
Reported by: snuffy
Patch by: snuffy
(Closes issue #11547)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92913 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-14 14:48:38 +00:00
qwell 20476ae522 Add count of total number of calls processed by asterisk during it's lifetime.
Add number of total calls and current calls to SNMP.

Closes issue #10057, patch by jcmoore.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91779 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-07 16:11:05 +00:00
russell 027ab8b7a4 Fix a typo in the Asterisk MIB and fix astNumChanBridged so it acts as a counter again
(closes issue #10118, patch by jeffg)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80510 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-23 17:27:07 +00:00
tilghman 74c2948c22 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75706 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-18 19:47:20 +00:00
russell 400adf6bc6 Simplify some logic and convert spaces to tabs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69068 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13 16:19:37 +00:00
russell 806622cc37 The variable used for the return value must be declared as static. I broke
this when applying the patch, sorry!
(issue #9637, jeffg)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13 16:05:22 +00:00
russell 1370ceac79 Add support for retrieving the number of channels that are currently bridged
via SNMP.
(closes issue #9637, initial patch from jeffg, modified by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68507 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-08 21:31:33 +00:00
rizzo 1b4ffa5248 rename the structs struct tone_zone_sound and struct tone_zone
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: http://svn.digium.com/svn/asterisk/trunk@48958 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25 06:38:09 +00:00
file 447ef934b0 Update res_snmp to use new API declaration of pbx_builtin_serialize_variables (issue #8627 reported by johann8384)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19 22:55:26 +00:00
kpfleming d99c6f0cbc make latest header file changes for this file too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33482 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11 15:10:26 +00:00
russell 06fbbd1989 a bunch of conversion to ast_channel_*lock (issue #7058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 14:50:18 +00:00
rizzo 70020a2853 do not export the tzlock and the list head, and introduce a new method,
ast_walk_indications(), to walk through the list of indications.
The new method returns an unlocked record, which is no different from the
behaviour of other existing methods in indications.c
(i.e. they all need to be fixed, with refcounts or some similar
method).

Note that ast_walk_indications() uses the pointer argument only as a
search key, so its implementation is completely safe.

In turn, this change allows the removal of AST_MUTEX_DEFINE_EXPORTED.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16532 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 17:10:11 +00:00
markster 9dc4503175 Add SNMP support (bug #6439)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11193 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-26 20:46:11 +00:00