aboutsummaryrefslogtreecommitdiffstats
path: root/res
AgeCommit message (Collapse)AuthorFilesLines
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
2007-04-09Add final new line after JabberEventoej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60984 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06Add support for returning different types of results (ie: NBest).file1-0/+13
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30several changes via kpflemings reviewmurf1-88/+96
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59522 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30These mods fix CDR issues from 8221, 8593, 8680, 8743, and perhaps others. ↵murf1-1/+120
Mainly with CDRs generated from transfer situations. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59486 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29When building a response to a subscription, the "from" must be the full Jabberrussell1-1/+1
ID. This fixes some problems where jabber users are not able to add their Asterisk account to their user list, since they are unable to get Asterisk to approve their subscription. (issue #8210, reported by caspy, and verified by bradtem) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59363 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-28Another crash that I thought we had fixed already - Issue 9396tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59289 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-21Merged revisions 59086 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2 lines Indicate the filename changed when it is changed. (issue #9311 reported by jsmith) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59087 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08Fix segfault (Issue 9236)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58479 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05Don't reference a potentially NULL pointer. (issue #9199 reported by klolik)file1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57770 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-20No need to cast nor free with strdupa (thanks file)qwell1-2/+2
55555! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55555 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-19- Not sending arguments to an application is not "out of memory"oej1-27/+25
- Making error messages a bit more clear git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55483 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Clean up a few coding guidelines issues - spaces to tabs, use sizeof() to passrussell1-9/+9
the size of a static buffer, add spaces ... git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54888 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Merged revisions 54771 via svnmerge from oej1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r54771 | oej | 2007-02-16 12:38:03 +0100 (Fri, 16 Feb 2007) | 2 lines Issue #9069 - If we open with TH we should not close with /TD. (seanbright) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54772 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-09add some inter-module dependencieskpfleming2-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53780 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Text fix for jabber reload command (reported by bkruse via IRC)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53294 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Merged revisions 53084 via svnmerge from file1-12/+13
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53084 | file | 2007-02-01 15:03:10 -0600 (Thu, 01 Feb 2007) | 2 lines Return previous behavior of having MOH pick up where it was left off. (issue #8672 reported by sinistermidget) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53088 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30Don't play with free()'d pointerspcadach1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52808 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23this mod from 8593 (dstchannel in cdr is empty when transfer call).murf1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51716 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23Merged revisions 51512 via svnmerge from file1-0/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r51512 | file | 2007-01-22 20:41:35 -0500 (Mon, 22 Jan 2007) | 2 lines Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51513 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16Merged revisions 51145 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r51145 | file | 2007-01-16 12:36:50 -0500 (Tue, 16 Jan 2007) | 2 lines Return previous behavior. ParkedCalls will be able to do DTMF based transfers again. trunk however will get an option to allow this to be set on/off. (issue #8804 reported by nortex) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51148 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13Only join the snmp thread on an unload if the thread is actually running. ↵file1-1/+1
(issue #8810 reported by junky) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50674 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06Save 1 whopping byte of allocated memory!qwell1-1/+1
This looks like it may have been a chicken/egg scenario.. You had to call a cleanup func, because everything was allocated. Then since you had to call a cleanup func, you were forced to allocate - ie; strdup(""). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49742 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most ↵kpfleming3-28/+27
cases git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49676 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19use the proper variable type for these unixODBC API calls, eliminating ↵kpfleming1-3/+3
warnings on 64-bit platforms that use the 'new' 64-bit types for ODBC API calls git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48577 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11Merged revisions 48374 via svnmerge from tilghman2-6/+29
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48374 | tilghman | 2006-12-10 18:33:59 -0600 (Sun, 10 Dec 2006) | 5 lines When doing a fork() and exec(), two problems existed (Issue 8086): 1) Ignored signals stayed ignored after the exec(). 2) Signals could possibly fire between the fork() and exec(), causing Asterisk signal handlers within the child to execute, which caused nasty race conditions. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48375 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-07Merged revisions 48356 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48356 | russell | 2006-12-07 13:14:13 -0500 (Thu, 07 Dec 2006) | 3 lines Ensure that the file position is not incremented beyond the total number of files available for playback. (issue #8539, ulogic) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48357 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Merged revisions 48154 via svnmerge from file1-6/+0
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48154 | file | 2006-11-30 14:04:11 -0500 (Thu, 30 Nov 2006) | 2 lines Do not listen for DTMF on the bridge that comes into existence when ParkedCall is executed. This means native bridging can now occur for this. (issue #8406 reported by kebl0155) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48155 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27Merged revisions 48045 via svnmerge from tilghman1-17/+14
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48045 | tilghman | 2006-11-27 11:15:54 -0600 (Mon, 27 Nov 2006) | 2 lines Random MOH wasn't really random (bug 8381) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48049 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Merged revisions 47525 via svnmerge from tilghman1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006) | 2 lines If the execute fails a second time, make sure that we don't pass back a stale handle ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47526 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07These mods are to solve the problem in bug 7506. It's a lot of rework to ↵murf1-7/+3
solve a fairly small problem... such is life. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47303 f38db490-d61c-443f-a65b-d21fe96a405b