aboutsummaryrefslogtreecommitdiffstats
path: root/res
AgeCommit message (Collapse)AuthorFilesLines
2007-07-05Merged revisions 73512 via svnmerge from russell1-9/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r73512 | russell | 2007-07-05 15:50:08 -0500 (Thu, 05 Jul 2007) | 5 lines Pass HOLD and UNHOLD frames to the other channel when they are returned from a native bridge function. This fixes a problem where when two zap channels are natively bridged and one does a flash hook, the other channel did not receive music on hold. (Reported to me directly by Doug Bailey at Digium) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73513 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Correct an issue where the wrong type was being used to start sasl.qwell1-1/+1
Pointed out by and patch provided by mog. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72987 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02After some discussion on the asterisk-dev list, we determined that this approachrussell1-72/+0
for extracting application, function, manager, and agi documentation is the wrong one to take. The most severe problem is that the output depends on which modules are loaded as well as compile time options, which both determine which parts are available. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72986 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Fix up the AGI doc dump CLI command and update the AGI commands tex file to notrussell1-0/+3
include a bunch of empty entries. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72939 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Fix building under Solaris.file1-1/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72935 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Add a CLI command to export the AGI command docsrussell1-0/+69
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Add a note that the AGI commands array is not handled in a thread-safe wayrussell1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72930 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28Remove the ill-advised ast_restrdupa API call and related structurestilghman2-7/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72492 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28Fix building with -Wdeclaration-after-statementqwell1-3/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72490 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28move variable declarations to the beginning of a block.rizzo1-1/+2
Not applicable to previous branches. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72457 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Simplify some code in res_jabber relating to SASL support.qwell1-70/+92
Issue 9988, patch by phsultan. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71830 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71657 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71657 | tilghman | 2007-06-25 13:14:59 -0500 (Mon, 25 Jun 2007) | 10 lines Merged revisions 71656 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71656 | tilghman | 2007-06-25 13:12:37 -0500 (Mon, 25 Jun 2007) | 2 lines Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71658 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Minor header inclusion tweak for new usage of stat()file1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71521 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24Merged revisions 71291 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71291 | tilghman | 2007-06-24 12:50:24 -0500 (Sun, 24 Jun 2007) | 2 lines Issue 10044 - chan->cdr is NULL here, so peer->cdr is what we really wanted to use ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71292 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-23Merged revisions 71230 via svnmerge from murf1-4/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71230 | murf | 2007-06-22 21:29:48 -0600 (Fri, 22 Jun 2007) | 1 line This patch is meant to fix 8433; where clid and src are lost via bridging. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71231 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Use stat to determine whether the file exists or not. (issue #10038 reported ↵file1-2/+3
by Mike Anikienko) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71158 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 71068 via svnmerge from qwell1-15/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71068 | qwell | 2007-06-22 10:00:30 -0500 (Fri, 22 Jun 2007) | 12 lines Merged revisions 71065 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines Fix a few silly usages of ast_playstream() - it only ever returns 0... Issue 10035 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71069 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Issue 9990 - New API ast_mkdir, which creates parent directories as ↵tilghman1-16/+5
necessary (and is faster than an outcall to mkdir -p) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71040 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file ↵file1-2/+13
could not be found. (issue #9285 reported by srdjan) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70731 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19Merged revisions 69847 via svnmerge from file1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r69847 | file | 2007-06-19 09:00:57 -0400 (Tue, 19 Jun 2007) | 10 lines Merged revisions 69846 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r69846 | file | 2007-06-19 08:57:55 -0400 (Tue, 19 Jun 2007) | 2 lines Add parked call extension AFTER the parking slot has been announced, otherwise two threads will try to handle the same channel and it will go kaboom. (issue #9191 reported by japple) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69850 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18Merged revisions 69702 via svnmerge from russell2-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines To prevent 92138749238754 more reports of "I have unixodbc installed, but still can't build *_odbc.so!", check for ltdl directly, instead of just listing it as another library to include in the unixodbc check in the configure script. This also makes ltdl show up as a dependency in menuselect so people know what to go install. (related to issue #9989, patch by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69703 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14Convert uses of strdup() to ast_strdup()russell3-8/+8
(issue #9983, eliel) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69436 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14Add a massive set of changes for converting to use the ast_debug() macro.russell10-207/+103
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13Continuation of issue 9968 (revision 69081). This should be the last one.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69108 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13Simplify some logic and convert spaces to tabsrussell1-143/+97
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69068 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13The variable used for the return value must be declared as static. I brokerussell1-2/+2
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-08Add support for retrieving the number of channels that are currently bridgedrussell1-0/+23
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-08Add an option for ControlPlayback to be able to start at an offset fromrussell1-1/+1
the beginning of the file. Also, add a channel variable that indicates the location in the file where the Playback was stopped. (closes issue #7655, patch from sharkey) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68502 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-08Fix incorrect logic for param count.qwell1-4/+3
Issue 9918. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68449 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Fix a bunch of doxygen errors and document more thingsrussell1-1/+2
(issue #9842, snuffy) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68339 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Doxygenify a lot of the functions in res_jabberrussell1-51/+145
(issue #9886, snuffy) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68289 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Minor formatting change ... testing mantis stuff to see if we're donerussell1-1/+1
(issue #9790) (closes issue #9816) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68118 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Merged revisions 68030 via svnmerge from oej1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r68030 | oej | 2007-06-07 12:00:17 +0200 (Thu, 07 Jun 2007) | 2 lines Adding a few Todo's to res_jabber so we don't forget. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68040 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Merged revisions 68028 via svnmerge from oej1-13/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r68028 | oej | 2007-06-07 11:55:13 +0200 (Thu, 07 Jun 2007) | 4 lines Ok, we found out that this is not about if you have any *active* clients using TLS, but if you have initialized TLS at all during the lifetime of the module. So if you reload to disable TLS, it won't help. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68031 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Merged revisions 68027 via svnmerge from oej1-0/+28
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r68027 | oej | 2007-06-07 11:42:26 +0200 (Thu, 07 Jun 2007) | 8 lines If you have a jabber client that uses TLS, refuse unload. Bad fix, but will prevent crashes while we are trying to find a workaround. Iksemel development seems to have stalled and we might have to stop using the TCP/TLS connections in that library and use our own, which would scale better from a poll/select perspective I guess. It would also make it easier to migrate to OpenSSL and stop Asterisk from depending on both OpenSSL and GnuTLS. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68029 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Merged revisions 67993 via svnmerge from oej1-7/+17
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r67993 | oej | 2007-06-07 11:00:44 +0200 (Thu, 07 Jun 2007) | 6 lines Issue #9738 - Make sure we can unload res_jabber. Patch by phsultan - thanks! Due to a bug in the iksemel library, this will not work if you are using GTLS in the connection. That's being investigated. If you figure out a way to handle that without us having to patch iksemel, let us know in the bug report. Thanks. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68026 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Simplification of res_jabber code (done at Inria, Paris with Philippe)oej1-32/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67992 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Merged revisions 67872 via svnmerge from russell1-18/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r67872 | russell | 2007-06-06 17:08:02 -0500 (Wed, 06 Jun 2007) | 6 lines Disable reload functionality in res_snmp. It is not possible to initialize the snmp library more than once without completely unloading the module and loading it again. (issue #9571, reported by hristo, additional helpful debug information from festr, patch from me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67875 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Issue 9869 - replace malloc and memset with ast_calloc, and other coding ↵tilghman11-125/+120
guidelines changes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Constify the return values of ast_parking_ext() and ast_pickup_ext()russell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67853 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Another tiny formatting change for testing ...russell1-1/+1
(issue #9828) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67778 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Change "show parkedcalls" to "parkedcalls show" and mark the previous commandrussell1-11/+29
as deprecated. Also, convert the CLI command to the new style. (issue #9861, patch from eliel) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67697 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Merged revisions 67597 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r67597 | file | 2007-06-06 08:34:06 -0400 (Wed, 06 Jun 2007) | 2 lines Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67598 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Merged revisions 67064 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r67064 | file | 2007-06-04 13:41:59 -0400 (Mon, 04 Jun 2007) | 2 lines Returning a value that indicates the parking of a call was a success when it really wasn't (because the parking slot selected was in use) is the wrong thing to do. (issue #9723 reported by mdu113) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67065 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Merged revisions 67021 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r67021 | tilghman | 2007-06-04 10:50:16 -0500 (Mon, 04 Jun 2007) | 2 lines Issue 9739 - Malformed jid causes a crash ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67023 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-01Documentation fixes for res_config_sqlite.qwell1-12/+6
Issue 9854, patch by tzafrir. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66878 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31Merged revisions 66775 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r66775 | russell | 2007-05-31 13:41:58 -0500 (Thu, 31 May 2007) | 3 lines Change a couple of header files to not use "new", which is a reserved keyword in C++. (issue #9830, reported by osk) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66776 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31Add support for configuring named groups of custom call features inrussell1-6/+190
features.conf. This allows you to create a feature one time, and then map it into groups for various different key mappings for the same feature, as well as easy access control to groups of features. (patch from bbryant) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66774 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31Revert changes that snuck in with revision 66724.russell1-177/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66773 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31Fix a crash on reload by using calloc() instead of malloc() to ensure thatrussell1-6/+177
data is properly initialized. (issue #9765, reported by MatsK, patch from eliel) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66724 f38db490-d61c-443f-a65b-d21fe96a405b