Commit Graph

444 Commits (982c8e146504378d2e988d8f9a4ea4ef591c5470)

Author SHA1 Message Date
Olle Johansson 8f3abf5f30 Small update
19 years ago
Olle Johansson 7e4d482071 Doxygen updates
19 years ago
Olle Johansson fddd385eb1 Adding some generic docs on extension and device states - watchers and providers
19 years ago
Olle Johansson 2bee4aba4d Change logging for p2p rtp bridge mode
19 years ago
Russell Bryant eaf98f31e8 Go ahead and make this write unconditional. Making it conditional is more work
19 years ago
Joshua Colp d44b349211 Merged revisions 48107 via svnmerge from
19 years ago
Russell Bryant 8ca3d51634 Remove an XXX command suggesting that this truncation should not be conditional,
19 years ago
Luigi Rizzo 0b798e298d don't use outputstr in the struct mansession, it's just
19 years ago
Luigi Rizzo 3dbc33ed4f initialize the dynamic string in a sane way.
19 years ago
Luigi Rizzo 5e7aebf9ac some simplifications to
19 years ago
Luigi Rizzo 29985ff8c3 do not return 500 Internal error if the AMI command provides
19 years ago
Luigi Rizzo 77ae04d7c1 mosty comment and documentation cleanup on waitevent.
19 years ago
Luigi Rizzo 0153bdd72c Move the code to purge stale sessions to a function,
19 years ago
Luigi Rizzo 5ce08d37ca Various simplifications of the code:
19 years ago
Luigi Rizzo 1c570d9ba0 More informative message on invalid commands.
19 years ago
Luigi Rizzo a8e9428317 another normalization of AMI vs HTTP identification.
19 years ago
Luigi Rizzo d1dcb0de2a always use managerid to determine whether this is an AMI or HTTP session,
19 years ago
Luigi Rizzo da80478d94 In the previous commit i forgot to set the poll_timeout to -1,
19 years ago
Luigi Rizzo 7a6914a126 document the support for running a server on TCP/TLS and
19 years ago
Luigi Rizzo 2e7fd7cbdb add a new http.conf option, sslbindaddr.
19 years ago
Luigi Rizzo 3637b60b19 in the helper thread, separate the FILE * creation from the actual
19 years ago
Luigi Rizzo a381d3552e staticize a global variable and remove an unused field structure.
19 years ago
Luigi Rizzo 2657279cb5 generalize a bit the functions used to create an tcp socket
19 years ago
Olle Johansson 7991366506 - Adding comment on suspicious memory allocation. Seems like it's never freed, but I don't
19 years ago
Luigi Rizzo d7b26b6bf8 set pointers to NULL after freeing memory to avoid multiple free()
19 years ago
Steve Murphy 6d270eacf4 This fix inspired by a patch supplied in bug 8189, which points out problems with the PLC code
19 years ago
Olle Johansson 3fd07f51f2 Doxygen update
19 years ago
Joshua Colp b50fc7a502 Merged revisions 47944 via svnmerge from
19 years ago
Joshua Colp 7b4a5105b2 Add support to set the maximum number of files open when Asterisk loads using the 'maxfiles' configuration option. (issue #7499 reported by rkarlsba)
19 years ago
Mark Spencer cc0c154f0e Restore some sense of security to manager
19 years ago
Joshua Colp a69ac09748 Merged revisions 47897 via svnmerge from
19 years ago
Joshua Colp dcba38ebaf Merged revisions 47860 via svnmerge from
19 years ago
Joshua Colp 03a7adf8ce Use RTP/RTCP fds on the RTP structure, don't bother storing them.
19 years ago
Joshua Colp b2b966eda8 Merged revisions 47852 via svnmerge from
19 years ago
Luigi Rizzo b3867180cf comments-only change:
19 years ago
Luigi Rizzo 49d03906b6 ESS-ification.
19 years ago
Luigi Rizzo f148916c23 Move this macro from cli.c to cli.h so apps can use it
19 years ago
Steve Murphy 6dcb17baaf This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
19 years ago
Luigi Rizzo 95a99a2469 remove a debugging message
19 years ago
Luigi Rizzo c32cae7e50 convert "help" to new style,
19 years ago
Luigi Rizzo 619c4ef0ec standardize "module show [like]"
19 years ago
Luigi Rizzo 4589662f7f describe a bit the patterns that you can have in the commands,
19 years ago
Luigi Rizzo 6f9b6ba0b1 merge the implemenmtation of "core set debug" and "core set verbose".
19 years ago
Luigi Rizzo 867e3d6e5d introduce a bit of regexp support in the internal CLI api.
19 years ago
Luigi Rizzo 0c8f2f1e4c remove an unused function
19 years ago
Luigi Rizzo 5fb52f8244 reduce indentation on a large function.
19 years ago
Luigi Rizzo e58079b067 use atomic instructions to update the inuse counters
19 years ago
Luigi Rizzo 84a5921ab5 make kevin (and 64 bit machines) happy and
19 years ago
Paul Cadach fc58bec502 Merged revisions 44809 via svnmerge from
19 years ago
Joshua Colp 0f15e43add Merged revisions 47707 via svnmerge from
19 years ago
Kevin P. Fleming c4ad5399c2 Merged revisions 47701 via svnmerge from
19 years ago
Kevin P. Fleming 1c86ec8222 Merged revisions 47690 via svnmerge from
19 years ago
Kevin P. Fleming 00c5f6d032 Merged revisions 47684 via svnmerge from
19 years ago
Luigi Rizzo 9ddef9890a small simplifications and localization of variables.
19 years ago
Luigi Rizzo b588fc320e new-style "core show channels"
19 years ago
Luigi Rizzo db923f638e more changes to new style of "module load" and "load".
19 years ago
Luigi Rizzo f28f07e1b2 move another deprecated command to the new style
19 years ago
Luigi Rizzo 0e9753f401 move "core set debug" to the new style, and remove duplicated
19 years ago
Luigi Rizzo 6edcca7b8d one more step cleaning the internal CLI interface:
19 years ago
Luigi Rizzo 1781f41b3b update the internal cli api following comments from kevin.
19 years ago
Joshua Colp 993c6823e6 Merged revisions 47645 via svnmerge from
19 years ago
Kevin P. Fleming f04ac0ad7e Merged revisions 47641 via svnmerge from
19 years ago
Joshua Colp 5861048fb6 Merged revisions 47639 via svnmerge from
19 years ago
Luigi Rizzo fbcc8f4de2 add missing casts and remove an unused function.
19 years ago
Luigi Rizzo 3d86c80c15 fix completion for "module reload mod_1 mod_2 ... "
19 years ago
Luigi Rizzo a9259cd8f4 partly convert to new style set-verbose, with completion fixes
19 years ago
Luigi Rizzo 6e4ed956bc replace two deprecated functions with calls to the standard ones,
19 years ago
Luigi Rizzo dfd4448412 remove duplicated implementation for a deprecated function, use the
19 years ago
Luigi Rizzo abdb8002df new-style for 'core show uptime', include 'complete' support and better error checking
19 years ago
Luigi Rizzo 7d38228d6e apply previous fix to old-style cli entries as well.
19 years ago
Luigi Rizzo ff5160e35c fix "core set debug atleast ",
19 years ago
Luigi Rizzo fbb143b829 Bring in the improved internal API for the CLI.
19 years ago
Matt O'Gorman 43aefe9116 fix bytesize to 5.3kb for g723 codec and add support for multimode of tc400p
19 years ago
Steve Murphy cd74836d3a This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero
19 years ago
Joshua Colp 209628c6e2 Return module show to a working state. (issue #8353 reported by jserve)
19 years ago
Luigi Rizzo 06c9ef6411 stop looking for new entries when we know we are done.
19 years ago
Luigi Rizzo b2e2f3f957 free memory when unregistering an entry.
19 years ago
Russell Bryant f575b7e25d Merged revisions 47492 via svnmerge from
19 years ago
Matt O'Gorman b025702287 safe terminal output is sweet.
19 years ago
Joshua Colp 0282cc1a4d A trunk that builds is a productive trunk.
19 years ago
Tilghman Lesher 691363656f Merged revisions 47436 via svnmerge from
19 years ago
Russell Bryant 2b2693499d Add the ability to specify multiple prompts to the Read() dialplan application,
19 years ago
Joshua Colp 0efd51e1d2 This should already be called while locked.
19 years ago
Russell Bryant 7209032ffe Merged revisions 47377 via svnmerge from
19 years ago
Russell Bryant adf6bb1d9a Merged revisions 47375 via svnmerge from
19 years ago
Russell Bryant 2ea9bb223f Merged revisions 47372 via svnmerge from
19 years ago
Russell Bryant f3c0a35b6e Merged revisions 47366 via svnmerge from
19 years ago
Russell Bryant 843a348841 Merged revisions 47352 via svnmerge from
19 years ago
Steve Murphy 2e375b388e This mod via bug 7531
19 years ago
Kevin P. Fleming cf1203c496 restore display of G.722 codec
19 years ago
Joshua Colp c5780b19c8 Display CID matching information when using dialplan show. (issue #8279 reported by caio1982)
19 years ago
Luigi Rizzo bdc0180292 fix "core show profile" parsing.
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Luigi Rizzo 403135f646 explain why ast_carefulwrite is written the way it is,
19 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
19 years ago
Russell Bryant 18693a45dc Merged revisions 47196 via svnmerge from
19 years ago
Russell Bryant 9297a1a8f9 Merged revisions 47195 via svnmerge from
19 years ago
Russell Bryant 7ee7429cf7 Merged revisions 47192 via svnmerge from
19 years ago
Luigi Rizzo ce68e30a07 remove many unnecessary casts
19 years ago
Luigi Rizzo 84c8e348ba remove a useless cast
19 years ago
Luigi Rizzo 0bf4235ff1 add a new cli/manager.conf option "debug" to enable/disable
19 years ago
Luigi Rizzo 55f22da63f Fix "core show channels" and "core show modules".
19 years ago
Tilghman Lesher 79f75ec09a Merged revisions 47053 via svnmerge from
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Joshua Colp 7f7f2fe821 Let's make application/function/hint lists read/write lists... just for kicks
19 years ago
Joshua Colp 8d1d9b0610 Convert translation core linked list over to read/write based one, since it spends most of it's time only reading.
19 years ago
Russell Bryant 881ad15f2b various whitespace changes to reduce indentation and to better conform to
19 years ago
Russell Bryant c227df91d9 Change the buffer used in callerid_feed() and callerid_feed_jp() to be
19 years ago
Russell Bryant d2117bf5a0 Merged revisions 46857 via svnmerge from
19 years ago
Joshua Colp 9335b4bc1c Merged revisions 46780 via svnmerge from
19 years ago
Steve Murphy a89a16eb41 This introduces Brazilian Portuguese via 7663
19 years ago
Steve Murphy 1bb9f6b362 Cleanups suggested by Russell.
19 years ago
Kevin P. Fleming 39a4700047 Merged revisions 46714 via svnmerge from
19 years ago
Jason Parker 8b9ef26a45 Fix "core show translation" output. Issue #8243, patch by Damin.
19 years ago
Russell Bryant 59dbf47c91 Fix the new send text manager command. There is no way this could have worked.
19 years ago
Olle Johansson f003df1315 Issue #80898 - Restoring func_enum (otmar)
19 years ago
Olle Johansson 1aa8c2cffc Add manager sendtext action. (Issue 6131, ZX81 - thanks!)
19 years ago
Olle Johansson 0487368645 Take two, using find_resource on Kevin's suggestion.
19 years ago
Russell Bryant 2e5e32c574 Merged revisions 46561 via svnmerge from
19 years ago
Russell Bryant 94c9db95b1 Merged revisions 46554 via svnmerge from
19 years ago
Kevin P. Fleming 7afa6a1d01 Merged revisions 46526 via svnmerge from
19 years ago
Olle Johansson 11d00cac15 Adding dialplan function IFMODULE, so you can create dialplans that handle
19 years ago
Olle Johansson 692dc8fd80 Issue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtracker since)
19 years ago
Olle Johansson 2cb07fbaa4 In debug mode, recognize that someone is sending zrtp, even though we
19 years ago
Olle Johansson 8a2e564df5 Issue 8246 Doxygen updates (kshumard)
19 years ago
Olle Johansson 829f2c895d Small formatting changes
19 years ago
Olle Johansson 52a5d63a2d Bind RTCP to the same IP as RTP.
19 years ago
Russell Bryant 4337a82563 Merged revisions 46363 via svnmerge from
19 years ago
Russell Bryant 0ca6a42d7e fix various spelling mistakes in comments (issue #8237, jmls)
19 years ago
Russell Bryant 192a93aa37 Merged revisions 46329 via svnmerge from
19 years ago
Luigi Rizzo 6b2b63a909 fix a problem that i recently introduced when
19 years ago
Mark Spencer b7517f1231 Fix comment preservation code (thanks murf!)
19 years ago
Kevin P. Fleming 5f5faa310a Merged revisions 46082-46083,46152-46153 via svnmerge from
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Kevin P. Fleming 88efcea05e Merged revisions 46154 via svnmerge from
19 years ago
Luigi Rizzo a7d5fcd8b8 i really think it is safe to commit this version, that
19 years ago
Tilghman Lesher a8d3ee89c6 Merged revisions 46078 via svnmerge from
19 years ago
Luigi Rizzo 9bbf557dfb use autodetected support for gethostbyname_r
19 years ago
Luigi Rizzo c15f7953c8 Fix a few issues in the previous (disabled) HTTPS code,
19 years ago
Luigi Rizzo e8a65b7155 Implement https support.
19 years ago
Luigi Rizzo 5aa25a8d33 it is useless and possibly wrong to use ast_cli() to send the
19 years ago
Joshua Colp e85da9be41 Let's have build.h created a bit earlier so that func_version can use it and not stop the build on a fresh machine that has never had Asterisk installed on it before...
19 years ago
Luigi Rizzo a0ae6ebd8e the default port number was erroneously stored in host order,
19 years ago
Joshua Colp 62d3a11eb9 Merged revisions 45817 via svnmerge from
19 years ago
Luigi Rizzo edd8e11889 minor comment changes, code rearrangement and field renaming
19 years ago
Olle Johansson e19576388d Doxygen corrections
19 years ago
Luigi Rizzo e7c2295b81 more fixes to comments and very minor code rearrangement.
19 years ago
Luigi Rizzo 32214ffc02 implement proper XML/HTML formatting of multiple messages
19 years ago
Luigi Rizzo 9934b7f4d2 more documentation of data structure and functions.
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago