Commit Graph

373 Commits (34cbefe62fc9851a03aaa3ace803b6c21b68fc25)

Author SHA1 Message Date
Russell Bryant ded76a8988 convert various places that access the channel lock directly to use the channel lock wrappers
18 years ago
Mark Michelson 8b0c744786 Merged revisions 81120 via svnmerge from
18 years ago
Mark Michelson ff7c41753f Merged revisions 79748 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Joshua Colp 22114b509d Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
18 years ago
Jason Parker bc8b1d3baa Add a TalkingToChan to the response of the "agents" manager action.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Joshua Colp 34e92f29f6 Merged revisions 76654 via svnmerge from
18 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
18 years ago
Joshua Colp 4003b31fc5 Minor code tweaks. Variables were being checked wrong in some situations and didn't need to be checked in others.
18 years ago
Mark Michelson 4d915d13c7 Merged revisions 74997 via svnmerge from
18 years ago
Mark Michelson 66449656d3 Merged revisions 74722 via svnmerge from
18 years ago
Jason Parker d459994f7c Merged revisions 74379 via svnmerge from
18 years ago
Jason Parker 76e2e39f77 Fix building that was broken by recent monitor.h changes. Thanks Russell for pointing this out (and pointing out what I probably did to prevent gcc from fixing it - don't ctrl-C builds)
18 years ago
Russell Bryant e4f28bc1a5 remove an unused variable
18 years ago
Mark Michelson 1745732a37 Merged revisions 73675 via svnmerge from
18 years ago
Joshua Colp b8d64002b2 Merged revisions 71522 via svnmerge from
18 years ago
Joshua Colp 8bab6c1f69 Merged revisions 71412 via svnmerge from
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Jason Parker 0c4a3e24b6 Completely remove callback mode and all references to it from chan_agent.
18 years ago
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
18 years ago
Joshua Colp f519db04e4 Remove old stuff from the AgentCallbackLogin days and only autocomplete agents in the agent logoff CLI command that are logged in. (issue #9952 reported by eliel)
18 years ago
Russell Bryant e911f41166 Merged revisions 68280 via svnmerge from
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Joshua Colp a3e603cd0f Use ast_strlen_zero where possible. (issue #9774 reported by eliel)
18 years ago
Russell Bryant c2468b4c32 Merged revisions 62218 via svnmerge from
18 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
18 years ago
Joshua Colp fd2db34f15 Merged revisions 57093 via svnmerge from
19 years ago
Joshua Colp ab96ee237b Merged revisions 55670 via svnmerge from
19 years ago
Joshua Colp 4331761b5e Merged revisions 55002 via svnmerge from
19 years ago
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
19 years ago
Kevin P. Fleming cd73a483f1 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Russell Bryant ec8591d04c Constify a bunch of usage strings for CLI commands.
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Luigi Rizzo 4b70ae927c remove useless usecnt stuff
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Tilghman Lesher 6ae8741518 Lots more removal of deprecated things
19 years ago
Mark Spencer c58ae729cd Fix agent parsing of users.conf
19 years ago
Tilghman Lesher d70fe791c2 A few misses from constification
19 years ago
BJ Weschke e8606d9c57 Merged revisions 42133 via svnmerge from
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Joshua Colp 57ad1de60b Reference will be kept in the application component only right now. In the future this should be expanded to the channel driver (just like all the other channel drivers) (issue #7975 reported by andrewt)
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Kevin P. Fleming fd0ac387a9 deprecate chan_agent callback mode
19 years ago
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)
19 years ago
BJ Weschke 4149f37efa Merged revisions 37212 via svnmerge from
19 years ago
Russell Bryant 73e8e2ab1f Blocked revisions 36725 via svnmerge
19 years ago
Olle Johansson f48a573439 Code cleanup while trying to understand this channel...
19 years ago
Olle Johansson d29e2a58da Add video support to chan_agent.
19 years ago
BJ Weschke ecabadf2cd Fixed per kpfleming's suggestion to asterisk-dev.
19 years ago
BJ Weschke 9cbcf110e1 Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was lost at some point in /trunk. #7374 (jstorm)
19 years ago
Olle Johansson fb8483c430 - Use our standard of doxygen comments, not javadoc style
19 years ago
Kevin P. Fleming fca19e7635 use a compiler builtin (which uses processor instructions) for this operation
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant f9c578a8a0 - The recent change to linklists.h broke the build on linux for some reason.
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Kevin P. Fleming fdcfd6469b ensure that control frames with payload can be sent to channel drivers via ->indicate()
19 years ago
BJ Weschke ff82a8046d Merged revisions 25563 via svnmerge from
19 years ago
Matt O'Gorman 05ea5482d0 woohoo asterdevcon first commit, adds feature to
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Russell Bryant 717445c1d8 add the ability to turn off the feature that allows agents to end calls
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
19 years ago
Luigi Rizzo 45edaa4c3a optimize a bit name completion by avoiding repeated calls to
19 years ago
Matt O'Gorman a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
19 years ago
Russell Bryant d0b003a427 conversions to S_OR (issue #6803)
19 years ago
Mark Spencer 9164eac21a Add micro-http server and abstract manager interface, make snmp not die
19 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
20 years ago
Kevin P. Fleming 0aaad7b8b9 Merged revisions 10137 via svnmerge from
20 years ago
Kevin P. Fleming 124b00c4a4 add 'systemname' option to prefix channel unique IDs with (issue #5825)
20 years ago
Kevin P. Fleming 96bf384e7d major dialplan functions update
20 years ago
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
20 years ago
Russell Bryant e01861fafd define a global null_frame object so when queueing a null frame, you don't
20 years ago
Mark Spencer 37815b2cce Merge Rizzo's waitfor update (bug #4584)
20 years ago
Russell Bryant 19f99bee0f use arg parsing macros in the AGENT dialplan function (issue #6236, with small mods)
20 years ago
Russell Bryant b7ab0d1840 store agent_pvt list using linked list macros (issue #6342)
20 years ago
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
20 years ago
Russell Bryant 9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
20 years ago
Russell Bryant 847260bb77 remove some useless checks of the result of ast_strdupa
20 years ago
Olle Johansson ad5eaa9aca More doxygen updates
20 years ago
Russell Bryant 6f71e1178e constify arguments in more places where strings should not be modified (issue #6286)
20 years ago
BJ Weschke ec0c939e6f Code cleanup spawned from an earlier commit today r8063. Standardize manager event responses and queue_log behavior on callbacklogoff.
20 years ago
Matt O'Gorman 3928ebd74f Made chan_agent code parsing more robust and
20 years ago
BJ Weschke 1874f21ff8 Implement the autologoffunavail option in chan_agent (#6038 with some minor mods)
20 years ago
Matt O'Gorman ea06844b19 added some minor changes from bug 6046 thanks ppyy
20 years ago
Russell Bryant cd28843c19 fix spelling errors (issue #6227)
20 years ago
Matt O'Gorman 1dc0312d01 Added option for limiting a user from logging in
20 years ago
Matt O'Gorman 57fe2e8ea2 removed unused variable and config parsing for it
20 years ago
Russell Bryant 0318a4b180 Merged revisions 7986 via svnmerge from
20 years ago
Russell Bryant 466a062b09 convert some channels to use the memory allocation wrappers.
20 years ago
Kevin P. Fleming 95b4988cf5 Merged revisions 7829 via svnmerge from
20 years ago
Kevin P. Fleming 2d4c002a2c Merged revisions 7809 via svnmerge from
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Russell Bryant ef1ce7aec9 Merged revisions 7634 via svnmerge from
20 years ago
BJ Weschke a3bd5d11d3 Bug #6040 - Documentation correction
20 years ago
Russell Bryant 9398c57e6f add AGENT function, similar to SIPPEER or IAXPEER (issue #5531)
20 years ago
Kevin P. Fleming b7b2317d81 Merged revisions 7448-7449,7451,7453 via svnmerge from
20 years ago
Tilghman Lesher 870f98f02d Bug 5858 - Make the chanvars.c functions return a 'const char *'
20 years ago
Kevin P. Fleming 0242a69b3f Merged revisions 7265-7266,7268-7275 via svnmerge from
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming ebf04fc570 more header include simplification
20 years ago
Russell Bryant bb3e125ed4 don't loop forever on an invalid options string (issue #5629)
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Kevin P. Fleming 426360e389 major update to arg/option parsing APIs and documentation
20 years ago
Kevin P. Fleming c24ba6ac5e fix remaining breakage from yesterday's changes
20 years ago
Kevin P. Fleming fff6a2c159 use new app-argument macros, and try to fix yesterday's breakage
20 years ago
Russell Bryant 9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
20 years ago
Russell Bryant 052db5af42 fix up arguments to AgentCallbackLogin so that the options string and the
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Kevin P. Fleming 2fe49e7a5f support sending text through agent channels (issue #5295)
20 years ago
Kevin P. Fleming 7734cca1c2 properly display connected channel name in 'agents' manager action for non-callback agents (issue #5235)
20 years ago
Mark Spencer bb49ec837f Fix seg in chan_agent (bug #5402)
20 years ago
Kevin P. Fleming 2aa0434048 don't check 'acknowledged' for setting lastdisc, since it's guaranteed to be zero at this point (issue #5254)
20 years ago
Mark Spencer ea215f5b7d Remove possibility of manager deadlocks from manager actions
20 years ago
Kevin P. Fleming f0b4072039 fix some buglets in 'agents' Manager action (issue #5235)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 811ec06cfd more documentation (issue #5174)
20 years ago
Kevin P. Fleming 67584e21c8 ensure that agent channels don't get seized during login (issue #5020)
20 years ago
Kevin P. Fleming f16f81db05 ensure that the AGENTBYCALLERID_* variable is cleared when an agent logs in to a different device (issue #5213)
20 years ago
Kevin P. Fleming 6f49ab2dfa partial formatting cleanup
20 years ago
Kevin P. Fleming 836916dab4 add doxygen documentation (issue #5133)
20 years ago
Kevin P. Fleming ffe23eb007 add AgentCallbackLogin and AgentLogoff manager actions (issue #4766)
20 years ago
Russell Bryant cd17218e59 add line break after show agents output (bug #4768)
20 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
20 years ago
Kevin P. Fleming 38598f57b4 make 'Agents' manager action conform to protocol (bug #4723)
20 years ago
Kevin P. Fleming c13d601fb4 queue device state changes and handle them serially in a background thread
20 years ago
Kevin P. Fleming 6b72557890 ensure that AGENTBYCALLERID is set for agents being reloaded from persistent storage
20 years ago
Kevin P. Fleming 9403a6e027 remember CallerID in AgentCallbackLogin, so it can be used at logoff time
20 years ago
Kevin P. Fleming 4803ab0bb2 don't use locks when reading usecounts (reading only, not writing)
20 years ago
Mark Spencer e74c288783 Fix agent recording issue (bug #4551)
20 years ago
Kevin P. Fleming e5e64bfd41 header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484)
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago
Kevin P. Fleming 005e436b57 another round of version tag updates, along with 'show version files' pattern filtering
20 years ago
Mark Spencer 2f1e6379b3 Fix agent deadlock and remove braindead tags dependency
20 years ago
Kevin P. Fleming c382394360 add counters to 'show agents' CLI command (bug #4232)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Russell Bryant a3168fdc23 fix potential seg fault in my patch that just went in, oops
20 years ago
Mark Spencer b49f1a7dfa Fix "show agents" when name is not present (bug #4030)
20 years ago
Matthew Fredrickson ea60d42f67 If an agent still has "wrapuptime" left after he finishes a call and the
20 years ago
Kevin P. Fleming 2650a7f2ae optimize frame handling in agent_read()
20 years ago
Mark Spencer dc9faa21e4 Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
20 years ago
Mark Spencer 32b3083ba8 Make status update on agents properly
20 years ago
Mark Spencer ea5228686c Fix chan_agent segfault (bug #3590)
20 years ago
Mark Spencer a397a88192 Propagate device state properly when agentlogoff command is issued
21 years ago
Mark Spencer 6f2ed85340 Don't consider wrapuptime when call was not answered
21 years ago