aboutsummaryrefslogtreecommitdiffstats
path: root/res
AgeCommit message (Collapse)AuthorFilesLines
2007-07-30(closes issue #10279)russell1-4/+6
Reported by: seanbright Patches: res_agi.carefulwrite.1.4.07252007.patch uploaded by seanbright (license 71) res_agi.carefulwrite.trunk.07252007.patch uploaded by seanbright (license 71) Allow the "agi_network: yes" line to be printed out in the AGI debug output. Also, allow partial writes to be handled when writing out this line just like it is for all of the others. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77788 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-30Merged revisions 77782 via svnmerge from tilghman1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r77782 | tilghman | 2007-07-30 13:40:54 -0500 (Mon, 30 Jul 2007) | 2 lines Revert change in revision 71656, even though it fixed a bug, because many people were depending upon the (broken) behavior. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77783 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-30(closes issue #10327)file1-11/+7
Reported by: kkiely Instead of directly mucking with the extension/context/priority of the channel we are transferring when it has a PBX simply call ast_async_goto on it. This will ensure that the channel gets handled properly and sent to the right place. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77778 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-27Missing newlinetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77571 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-20(closes issue #10246)file1-1/+4
Reported by: fkasumovic Patches: res_conver.patch uploaded by fkasumovic (license #101) Use the last occurance of . to find the extension, not the first occurance. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-17(issue #10210)russell1-0/+2
Reported by: juggie Patches: 10210-1.4-grr.patch uploaded by juggie (license #24) Tested by: juggie, blitzrage Log a warning if someone uses DeadAGI on a live channel. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75437 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-17Remove a duplicated newline character in AGI debug output.russell1-1/+1
(closes issue #10207, patch by seanbright) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75401 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-13Merged revisions 75107 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75107 | russell | 2007-07-13 15:35:22 -0500 (Fri, 13 Jul 2007) | 3 lines Fix a couple potential minor memory leaks. load_moh_classes() could return without destroying the loaded configuration. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75108 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-13Merged revisions 75059 via svnmerge from russell1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75059 | russell | 2007-07-13 15:07:21 -0500 (Fri, 13 Jul 2007) | 6 lines Ensure that adding a user to the list of users of a specific music on hold class is not done at the same time as any of the other operations on this list to prevent list corruption. Using the global moh_data lock for this is not ideal, but it is what is used to protect these lists everywhere else in the module, and I am only changing what is necessary to fix the bug. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-12Merged revisions 74814 via svnmerge from file1-9/+9
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74814 | file | 2007-07-12 12:51:24 -0300 (Thu, 12 Jul 2007) | 2 lines Only print out a warning for situations where it is actually helpful. (issue #10187 reported by denke) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74815 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Merged revisions 74656 via svnmerge from russell1-10/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74656 | russell | 2007-07-11 13:33:23 -0500 (Wed, 11 Jul 2007) | 4 lines Make sure that the ESCAPE immediately follows the condition that uses LIKE. This fixes realtime extensions with ODBC. (closes issue #10175, reported by stuarth, patch by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74657 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10fix an uninitialized variablerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74323 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74313 via svnmerge from russell1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74313 | russell | 2007-07-10 10:30:20 -0500 (Tue, 10 Jul 2007) | 3 lines Only use ESCAPE when LIKE is used. (issue #10075, this part reported by jmls on IRC, patch by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74314 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09(closes issue #10123)russell1-16/+14
Reported by: blitzrage Patches submitted by: juggie, qwell, me Tested by: blitzrage When trying to find a music on hold class to use, try all of the options, instead of only the first one that is set. Also, change the MusicOnHold applications to not hang up on the channel when a class can not be found. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74162 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06Merged revisions 73684 via svnmerge from russell1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73684 | russell | 2007-07-06 11:06:27 -0500 (Fri, 06 Jul 2007) | 8 lines (closes issue #10075) Reported by: apsaras Patches submitted by: Corydon76 Tested by: apsaras Fix a problem with MSSQL 2005 by explicitly stating that '\' is being used as an escape character. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73696 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Pass HOLD and UNHOLD frames to the other channel when they are returned from arussell1-9/+16
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/branches/1.4@73512 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29Fix 1.4 breakagetilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72554 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71656 via svnmerge from tilghman1-1/+1
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/branches/1.4@71657 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24Issue 10044 - chan->cdr is NULL here, so peer->cdr is what we really wanted ↵tilghman1-2/+2
to use git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-23This patch is meant to fix 8433; where clid and src are lost via bridging.murf1-4/+9
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71230 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 71065 via svnmerge from qwell1-15/+5
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/branches/1.4@71068 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19Merged revisions 69846 via svnmerge from file1-4/+4
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/branches/1.4@69847 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18To prevent 92138749238754 more reports of "I have unixodbc installed, butrussell2-0/+2
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/branches/1.4@69702 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-15Fix a silly deadlock in res_features that I found while debugging on one ofrussell1-1/+3
blitzrage's test machines. It was one of the situations where he was seeing hung channels, and may be the cause of some of the reports from other people. (related to issue #9235) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69579 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Adding a few Todo's to res_jabber so we don't forget.oej1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@68030 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Ok, we found out that this is not about if you have any *active* clients ↵oej1-13/+7
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/branches/1.4@68028 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07If you have a jabber client that uses TLS, refuse unload. Bad fix, but will ↵oej1-0/+28
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/branches/1.4@68027 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Issue #9738 - Make sure we can unload res_jabber. Patch by phsultan - thanks!oej1-7/+17
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/branches/1.4@67993 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Disable reload functionality in res_snmp. It is not possible to initialize therussell1-18/+0
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/branches/1.4@67872 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67597 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Returning a value that indicates the parking of a call was a success when it ↵file1-1/+1
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/branches/1.4@67064 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Issue 9739 - Malformed jid causes a crashtilghman1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67021 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31Change a couple of header files to not use "new", which is a reserved keywordrussell1-1/+1
in C++. (issue #9830, reported by osk) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66775 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-25handle the GNUTLS library properly in the configure script and build systemkpfleming1-0/+1
don't build in OSP support unless we have found and are allowed to use SSL support git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66157 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24Issue 8409 - phsultan - Fix "login" as component to jabber server.oej1-2/+3
...and, by accident, fix a bug in chan_sip for stopping a loop on retransmits of BYE requests. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65836 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-20res_agi needs to export two symbols (ast_agi_register and ↵file1-1/+4
ast_agi_unregister) for usage by others. (issue #9755 reported by mnicholson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65250 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-15Properly fix a problem that occurs when you set PARKINGEXTEN to an exten whererussell1-23/+2
a call is already parked. (issue #9723, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64426 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-14When someone requests a specific parking space using the PARKINGEXTEN variable,russell1-0/+23
ensure that no other caller is already there. (issue #9723, reported by mdu113, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@64353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11Make the PARKINGEXTEN feature of parking actually work. (issue #9708 ↵file1-0/+1
reported by mdu113) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63872 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-08I mixed up the use of the find_feature() function, so I renamed itrussell1-15/+19
find_dynamic_feature, and changed the code to use the correct lock when using it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63448 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-08Use a read/write lock when accessing the built-in features.russell1-49/+61
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63445 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-04Fix a crash when checking version attribute in an incoming XML caps element.qwell1-2/+14
Issue 9667, patch by phsultan. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63099 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-03Merged revisions 62841 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r62841 | kpfleming | 2007-05-02 20:23:00 -0400 (Wed, 02 May 2007) | 2 lines doh... initializing the pointer variable will work just a bit better ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62842 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-03Merged revisions 62796 via svnmerge from kpfleming1-16/+12
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r62796 | kpfleming | 2007-05-02 19:53:46 -0400 (Wed, 02 May 2007) | 7 lines increase reliability and efficiency of static Realtime config loading via ODBC: don't request fields we aren't going to use don't request sorting on fields that are pointless to sort on explicitly request the fields we want, because we can't expect the database to always return them in the order they were created (reported by blitzrage in person (!), patch by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62807 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-02improve static Realtime config loading from PostgreSQL:kpfleming1-17/+8
don't request sorting on fields that are pointless to sort on use ast_build_string() instead of snprintf() don't request the list of fieldnames that resulted from the query when we both knew what they were before we ran the query _AND_ we aren't going to do anything with them anyway (patch by me, inspired by blitzrage's bug report about res_config_odbc) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62797 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-01Merged revisions 62547 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r62547 | russell | 2007-05-01 16:55:19 -0500 (Tue, 01 May 2007) | 4 lines Remove an unnecessary check that makes it so if you hang up after doing an attended transfer before the target extension answers the channel, the transfer is not successful. (issue #9338, patch by svanlund) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62548 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-26Don't always say that the channel is being paused if it is actually being ↵file1-1/+1
unpaused in the Manager ack message. (reported by jsmith in #asterisk-bugs) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61961 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-10Finished up a previous fix to overcome a compiler warning; the app NoCDR() ↵murf1-21/+9
has been updated to mark the channel CDR as POST_DISABLED instead of destroying the CDR; this way its flags are propagated thru a bridge and the CDR is actually dropped. The cases where only one channel in a bridge has a CDR was cleaned up. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61136 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09fix up some warnings found using --enable-dev-modekpfleming1-7/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61070 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09This is a big improvement over the current CDR fixes. It may still need ↵murf1-94/+56
refinement, but this won't have as many folks bothered. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60989 f38db490-d61c-443f-a65b-d21fe96a405b