aboutsummaryrefslogtreecommitdiffstats
path: root/res
AgeCommit message (Collapse)AuthorFilesLines
2008-07-08Merged revisions 129045 via svnmerge from bbryant1-4/+4
https://origsvn.digium.com/svn/asterisk/trunk ........ r129045 | bbryant | 2008-07-08 11:40:28 -0500 (Tue, 08 Jul 2008) | 7 lines Janitor project to convert sizeof to ARRAY_LEN macro. (closes issue #13002) Reported by: caio1982 Patches: janitor_arraylen5.diff uploaded by caio1982 (license 22) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@129046 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-27Merged revisions 125703 via svnmerge from phsultan1-14/+18
https://origsvn.digium.com/svn/asterisk/trunk ........ r125703 | phsultan | 2008-06-27 09:28:17 +0200 (Fri, 27 Jun 2008) | 1 line Fix a compile time error that occurs if OpenSSL is not installed. Reported by Noel Morais on the users mailing list ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125704 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-26Merged revisions 125279 via svnmerge from kpfleming1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r125279 | kpfleming | 2008-06-26 07:09:24 -0500 (Thu, 26 Jun 2008) | 2 lines fix compile failure found by buildbot (go, buildbot!) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125280 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-25Merged revisions 125138 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r125138 | kpfleming | 2008-06-25 18:05:28 -0500 (Wed, 25 Jun 2008) | 18 lines Merged revisions 125132 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it get app_rpt building again after the DAHDI changes (closes issue #12911) Reported by: tzafrir ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@125146 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-24Merged revisions 124872 via svnmerge from phsultan1-20/+27
https://origsvn.digium.com/svn/asterisk/trunk ........ r124872 | phsultan | 2008-06-24 19:50:22 +0200 (Tue, 24 Jun 2008) | 6 lines Subscribe to buddy's presence only if we really need to. That is, if the corresponding roster item has a subscription value set to "none" or "from". Make the code more readable. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124873 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-24Merged revisions 124870 via svnmerge from phsultan1-29/+31
https://origsvn.digium.com/svn/asterisk/trunk ........ r124870 | phsultan | 2008-06-24 19:28:39 +0200 (Tue, 24 Jun 2008) | 1 line Code simplification ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124871 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-21Merged revisions 124505 via svnmerge from tilghman1-7/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r124505 | tilghman | 2008-06-21 07:53:48 -0500 (Sat, 21 Jun 2008) | 4 lines Reduce warning to debug, otherwise we flood the log when we (legitimately) can't find a record. (Closes issue #12908) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124506 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Merged revisions 123952 via svnmerge from tilghman1-41/+44
https://origsvn.digium.com/svn/asterisk/trunk ........ r123952 | tilghman | 2008-06-19 12:22:27 -0500 (Thu, 19 Jun 2008) | 6 lines Don't change pointers that need to be later passed back for deallocation. (closes issue #12572) Reported by: flyn Patches: 20080613__bug12572.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123958 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-17Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. ↵jpeeler1-12/+12
Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123332 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-05Merged revisions 120676 via svnmerge from phsultan1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r120676 | phsultan | 2008-06-05 19:02:39 +0200 (Thu, 05 Jun 2008) | 10 lines Merged revisions 120675 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r120675 | phsultan | 2008-06-05 18:56:15 +0200 (Thu, 05 Jun 2008) | 2 lines Ignore appended resource when comparing JIDs. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120677 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-05Merged revisions 120602 via svnmerge from tilghman1-1/+0
https://origsvn.digium.com/svn/asterisk/trunk ........ r120602 | tilghman | 2008-06-05 10:58:11 -0500 (Thu, 05 Jun 2008) | 4 lines Conditionally load the AGI command gosub, depending on whether or not res_agi has been loaded, fix a return value in the loader, and ensure that the help workhorse header does not print on load. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120603 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03Merged revisions 120171 via svnmerge from tilghman1-1/+17
https://origsvn.digium.com/svn/asterisk/trunk ........ r120171 | tilghman | 2008-06-03 17:05:16 -0500 (Tue, 03 Jun 2008) | 5 lines Move compatibility options into asterisk.conf, default them to on for upgrades, and off for new installations. This includes the translation from pipes to commas for pbx_realtime and the EXEC command for AGI, as well as the change to the Set application not to support multiple variables at once. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@120172 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03Merged revisions 119930 via svnmerge from murf1-6/+0
https://origsvn.digium.com/svn/asterisk/trunk ................ r119930 | murf | 2008-06-03 09:07:20 -0600 (Tue, 03 Jun 2008) | 24 lines Merged revisions 119929 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r119929 | murf | 2008-06-03 08:49:46 -0600 (Tue, 03 Jun 2008) | 16 lines as per http://lists.digium.com/pipermail/asterisk-users/2008-June/212934.html, which is a message from Philipp Kempgen, requesting that the WARNING that an extension is empty be reduced to a NOTICE or less, as empty extensions are syntactically possible, and no big deal. With which I agree, and have removed that WARNING message entirely. I think it is not necessary to see this message. It didn't state that a NoOp() was inserted automatically on your behalf, and really, as users, who cares? Why freak out dialplan writers with unnecessary warnings? The details of the machinations a compiler goes thru to produce working assembly code is of little interest to most programmers-- we will follow the unix principal of doing our work silently. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@119931 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02Merged revisions 119741 via svnmerge from phsultan1-4/+17
https://origsvn.digium.com/svn/asterisk/trunk ........ r119741 | phsultan | 2008-06-02 16:35:24 +0200 (Mon, 02 Jun 2008) | 13 lines Do not link the guest account with any configured XMPP client (in jabber.conf). The actual connection is made when a call comes in Asterisk. Apply this fix to Jingle too. Fix the ast_aji_get_client function that was not able to retrieve an XMPP client from its JID. (closes issue #12085) Reported by: junky Tested by: phsultan ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@119743 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27Merged revisions 118302 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r118302 | tilghman | 2008-05-27 08:30:10 -0500 (Tue, 27 May 2008) | 6 lines When binding anonymously, credentials are still needed. (closes issue #12601) Reported by: suretec Patches: res_config_ldap.c.patch uploaded by suretec (license 70) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118303 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23Merged revisions 118129 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/trunk ........ r118129 | tilghman | 2008-05-23 13:09:14 -0500 (Fri, 23 May 2008) | 3 lines Protect the object from changing while the 'odbc show' CLI command is running (Closes issue #12704) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118130 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23Merged revisions 118020 via svnmerge from phsultan1-3/+34
https://origsvn.digium.com/svn/asterisk/trunk ........ r118020 | phsultan | 2008-05-23 12:33:21 +0200 (Fri, 23 May 2008) | 15 lines - remove whitespaces between tags in received XML packets before giving them to the parser ; - report Gtalk error messages from a buddy to the console. This patch makes Asterisk "Google Jingle" (chan_gtalk) implementation work with Empathy. Note that this is only true for audio streams, not video. Thank you to PH for his great help! (closes issue #12647) Reported by: PH Patches: trunk-12647-1.diff uploaded by phsultan (license 73) Tested by: phsultan, PH ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118021 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-19Merged revisions 117136 via svnmerge from file1-1/+14
https://origsvn.digium.com/svn/asterisk/trunk ................ r117136 | file | 2008-05-19 13:53:33 -0300 (Mon, 19 May 2008) | 14 lines Merged revisions 117135 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r117135 | file | 2008-05-19 13:50:52 -0300 (Mon, 19 May 2008) | 6 lines Use the right pthread lock and condition when waiting. (closes issue #12664) Reported by: tomo1657 Patches: res_smdi.c.patch uploaded by tomo1657 (license 484) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@117137 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14Merged revisions 116467 via svnmerge from tilghman1-1/+5
https://origsvn.digium.com/svn/asterisk/trunk ................ r116467 | tilghman | 2008-05-14 16:39:06 -0500 (Wed, 14 May 2008) | 15 lines Merged revisions 116466 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r116466 | tilghman | 2008-05-14 16:38:09 -0500 (Wed, 14 May 2008) | 7 lines Avoid zombies when the channel exits before the AGI. (closes issue #12648) Reported by: gkloepfer Patches: 20080514__bug12648.diff.txt uploaded by Corydon76 (license 14) Tested by: gkloepfer ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@116468 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14Merged revisions 116350 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r116350 | file | 2008-05-14 15:25:54 -0300 (Wed, 14 May 2008) | 4 lines Make the ldap version setting work without having both version and protocol set. (closes issue #12613) Reported by: suretec ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@116351 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-13Merged revisions 115847 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r115847 | russell | 2008-05-13 12:14:22 -0500 (Tue, 13 May 2008) | 2 lines Initialize the start time in smdi_msg_wait. Somehow this code got lost in trunk. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115848 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07Merged revisions 115523 via svnmerge from russell1-5/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r115523 | russell | 2008-05-07 13:33:50 -0500 (Wed, 07 May 2008) | 6 lines Only save a password if a username exists. (closes issue #12600) Reported By: suretec Patch by me ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115524 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07Merged revisions 115521 via svnmerge from russell1-2/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r115521 | russell | 2008-05-07 13:30:12 -0500 (Wed, 07 May 2008) | 7 lines Use the default that the log output claims will be used for the basedn (closes issue #12599) Reported by: suretec Patches: 12599.patch uploaded by juggie (license 24) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115522 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-06Merged revisions 115419 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r115419 | qwell | 2008-05-06 14:38:44 -0500 (Tue, 06 May 2008) | 15 lines Merged revisions 115418 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115418 | qwell | 2008-05-06 14:34:58 -0500 (Tue, 06 May 2008) | 7 lines Switch to using ast_random() rather than just rand(). This does not fix the bug reported, but I believe it is correct. (from issue #12446) Patches: bug_12446.diff uploaded by snuffy (license 35) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115420 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-29Merged revisions 114830 via svnmerge from qwell1-2/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r114830 | qwell | 2008-04-29 12:10:55 -0500 (Tue, 29 Apr 2008) | 9 lines Merged revisions 114829 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114829 | qwell | 2008-04-29 12:08:55 -0500 (Tue, 29 Apr 2008) | 1 line Change warning message to debug, since there are cases where 0 results is perfectly fine. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114831 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-23Merged revisions 114595 via svnmerge from qwell1-17/+36
https://origsvn.digium.com/svn/asterisk/trunk ................ r114595 | qwell | 2008-04-23 13:33:28 -0500 (Wed, 23 Apr 2008) | 16 lines Merged revisions 114594 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114594 | qwell | 2008-04-23 13:28:44 -0500 (Wed, 23 Apr 2008) | 8 lines Fix reload/unload for res_musiconhold module. (closes issue #11575) Reported by: sunder Patches: M11575_14_rev3.diff uploaded by junky (license 177) bug11575_trunk.diff.txt uploaded by jamesgolovich (license 176) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114596 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21Merged revisions 114320 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r114320 | file | 2008-04-21 11:34:06 -0300 (Mon, 21 Apr 2008) | 6 lines Only print out the error message if ldap_modify_ext_s actually returns an error, and not success. (closes issue #12438) Reported by: gservat Patches: res_config_ldap.c-patch-code uploaded by gservat (license 466) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114321 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18Merged revisions 114254 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r114254 | file | 2008-04-18 13:11:27 -0300 (Fri, 18 Apr 2008) | 4 lines If the parsing of the config file fails make sure we unlock ldap_lock. (closes issue #12477) Reported by: IgorG ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114255 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17Merged revisions 114199 via svnmerge from phsultan1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r114199 | phsultan | 2008-04-17 15:46:17 +0200 (Thu, 17 Apr 2008) | 10 lines Merged revisions 114198 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114198 | phsultan | 2008-04-17 15:42:23 +0200 (Thu, 17 Apr 2008) | 2 lines Use keepalives effectively in order diagnose bug #12432. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114200 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17Merged revisions 114196 via svnmerge from tilghman1-0/+8
https://origsvn.digium.com/svn/asterisk/trunk ................ r114196 | tilghman | 2008-04-17 07:59:04 -0500 (Thu, 17 Apr 2008) | 16 lines Merged revisions 114195 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114195 | tilghman | 2008-04-17 07:56:38 -0500 (Thu, 17 Apr 2008) | 8 lines Add special case for when the agi cannot be executed, to comply with the documentation that we return failure in that case. (closes issue #12462) Reported by: fmueller Patches: 20080416__bug12462.diff.txt uploaded by Corydon76 (license 14) Tested by: fmueller ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114197 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11Merged revisions 114085 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r114085 | tilghman | 2008-04-11 18:12:16 -0500 (Fri, 11 Apr 2008) | 7 lines Use the correct function for free'ing objects, and maybe we won't crash. (closes issue #12163) Reported by: gservat Patches: 20080411__bug12163.diff.txt uploaded by Corydon76 (license 14) Tested by: gservat ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114086 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11Merged revisions 114061 via svnmerge from tilghman1-9/+9
https://origsvn.digium.com/svn/asterisk/trunk ........ r114061 | tilghman | 2008-04-11 09:54:22 -0500 (Fri, 11 Apr 2008) | 6 lines Errors are all greater than 0 (closes issue #12422) Reported by: nito Patches: res_config_ldap_result_check_patch.diff uploaded by nito (license 340) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114062 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-05Merged revisions 112972 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r112972 | tilghman | 2008-04-05 08:24:12 -0500 (Sat, 05 Apr 2008) | 6 lines AsyncAGI should not close the manager session on error. (closes issue #12370) Reported by: srt Patches: asterisk-12370.diff uploaded by srt (license 378) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@112975 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-31Merged revisions 111961 via svnmerge from file1-4/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r111961 | file | 2008-03-31 11:20:39 -0300 (Mon, 31 Mar 2008) | 4 lines Initialize all these here tmp pointers at declaration. They confused some compilers a wee bit. (closes issue #12333) Reported by: ovi ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@111962 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-27Merged revisions 111360 via svnmerge from murf1-50/+93
https://origsvn.digium.com/svn/asterisk/trunk ................ r111360 | murf | 2008-03-26 22:47:12 -0600 (Wed, 26 Mar 2008) | 23 lines Merged revisions 111341 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r111341 | murf | 2008-03-26 21:21:05 -0600 (Wed, 26 Mar 2008) | 15 lines (closes issue #12302) Reported by: pj Tested by: murf These changes will set a channel variable ~~EXTEN~~ just before generating code for a switch, with the value of ${EXTEN}. The exten is marked as having a switch, and ever after that, till the end of the exten, we substitute any ${EXTEN} with ${~~EXTEN~~} instead in application arguments; (and the ${EXTEN: also). The reason for this, is that because switches are coded using separate extensions to provide pattern matching, and jumping to/from these switch extensions messes up the ${EXTEN} value, which blows the minds of users. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@111361 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-20Merged revisions 110268 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r110268 | russell | 2008-03-20 12:41:22 -0500 (Thu, 20 Mar 2008) | 27 lines Add some fixes that I made in regards to wideband codec handling to get G.722 music on hold working for me. (issue #12164, reported by milazzo and jsmith, patches by me) res/res_musiconhold.c: - I moved a single line so that the sample queue update happened before ast_write(). The reason that this was a bug is that the G.722 frame originally says it has 320 samples in it (which is correct). However, when the frame is written to a channel that uses RTP, main/rtp.c modifies the frame to cut the number of samples in half before it sends it on the wire. This is to account for the stupid incorrect G.722 spec that makes it so we have to lie about the number of samples with RTP. I should probably go and re-work the RTP code so it doesn't modify the frame so that a bug like this won't happen in the future. However, this change to MOH is harmless. main/channel.c: - I made two fixes in regards to generator timing. Generators use samples for timing. However, this code assumed 8 kHz samples. In one case, it was a hard coded 160 samples, that is now written as the sample rate / 50. The other place was dealing with timing a generator based on frames coming from the other direction. However, that would have only worked if the sample rates for the formats in both directions were the same. The code now takes into account that the sample rates may differ, and scales the generator samples accordingly. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@110269 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19Merged revisions 110036 via svnmerge from file1-2/+8
https://origsvn.digium.com/svn/asterisk/trunk ................ r110036 | file | 2008-03-19 16:13:39 -0300 (Wed, 19 Mar 2008) | 12 lines Merged revisions 110035 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r110035 | file | 2008-03-19 16:11:33 -0300 (Wed, 19 Mar 2008) | 4 lines Add sanity checking for position resuming. We *have* to make sure that the position does not exceed the total number of files present, and we have to make sure that the position's filename is the same as previous. These values can change if a music class is reloaded and give unpredictable behavior. (closes issue #11663) Reported by: junky ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@110037 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109775 via svnmerge from tilghman1-20/+23
https://origsvn.digium.com/svn/asterisk/trunk ........ r109775 | tilghman | 2008-03-18 18:22:25 -0500 (Tue, 18 Mar 2008) | 3 lines Change back to using ldap_initialize() and let the user specify a URL directly, instead of trying to piece it together, badly. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109779 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109683 via svnmerge from tilghman1-11/+19
https://origsvn.digium.com/svn/asterisk/trunk ........ r109683 | tilghman | 2008-03-18 15:13:40 -0500 (Tue, 18 Mar 2008) | 4 lines Set protocol version, port number correctly. (closes issue #12211, closes issue #12209) Reported by: sylvain ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109684 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109447 via svnmerge from russell5-11/+11
https://origsvn.digium.com/svn/asterisk/trunk ........ r109447 | twilson | 2008-03-18 10:43:34 -0500 (Tue, 18 Mar 2008) | 3 lines Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not actual problems, per se. I also added format attributes to any printf wrapper functions I found that didn't have them. -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109459 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109357 via svnmerge from murf2-18/+23
https://origsvn.digium.com/svn/asterisk/trunk ................ r109357 | murf | 2008-03-18 08:09:50 -0600 (Tue, 18 Mar 2008) | 25 lines Merged revisions 109309 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r109309 | murf | 2008-03-18 00:37:15 -0600 (Tue, 18 Mar 2008) | 17 lines (closes issue #11903) Reported by: atis Many thanks to atis for spotting this problem and reporting it. The fix was to straighten out how items are placed on and removed from the file stack. Regressions as well as the provided test case helped to straighten out all code paths. valgrind was used to make sure all memory allocated was freed. Sorry for not solving this earlier. I got distracted. Added the ntest23 regression test, which is mainly a copy of ntest22, but with a few juicy errors thrown in, to replicate the kind of error that atis spotted. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109397 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108683 via svnmerge from qwell1-12/+15
https://origsvn.digium.com/svn/asterisk/trunk ................ r108683 | qwell | 2008-03-14 09:32:55 -0500 (Fri, 14 Mar 2008) | 12 lines Merged revisions 108682 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108682 | qwell | 2008-03-14 09:29:05 -0500 (Fri, 14 Mar 2008) | 4 lines Fix a potential segfault if chan (or chan->music_state) is NULL. Closes issue #12210, credit to edantie for pointing this out. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108684 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-12Merged revisions 108295 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r108295 | russell | 2008-03-12 17:13:18 -0500 (Wed, 12 Mar 2008) | 3 lines Rename ast_tcptls_server_instance to session_instance, since this pertains to server and client usage. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108348 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11Merged revisions 107791 via svnmerge from tilghman5-11/+13
https://origsvn.digium.com/svn/asterisk/trunk ........ r107791 | tilghman | 2008-03-11 17:55:16 -0500 (Tue, 11 Mar 2008) | 5 lines An offhand comment from Russell made me realize that the configuration file caching would not work properly for users.conf and any other file read from more than one place. I needed to add the filename which requested the config file to get it to work properly. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@107793 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11Merged revisions 107373 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r107373 | kpfleming | 2008-03-11 06:36:51 -0500 (Tue, 11 Mar 2008) | 19 lines Merged revisions 107352 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r107352 | kpfleming | 2008-03-11 06:04:29 -0500 (Tue, 11 Mar 2008) | 11 lines fix up various compiler warnings found with gcc-4.3: - the output of flex includes a static function called 'input' that is not used, so for the moment we'll stop having the compiler tell us about unused variables in the flex source files (a better fix would be to improve our flex post-processing to remove the unused function) - main/stdtime/localtime.c makes assumptions about signed integer overflow, and gcc-4.3's improved optimizer tries to take advantage of handling potential overflow conditions at compile time; for now, suppress these optimizations until we can fiure out if the code needs improvement - main/udptl.c has some references to uninitialized variables; in one case there was no bug, but in the other it was certainly possibly for unexpected behavior to occur - main/editline/readline.c had an unused variable ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@107374 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-06Merged revisions 106399 via svnmerge from juggie1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r106399 | juggie | 2008-03-06 14:31:50 -0500 (Thu, 06 Mar 2008) | 9 lines trivial fix for an agi error when attempting to use EAGI on a dead/hungup channel, we now print an error that makes sense given our removal of deadagi as an actual application. (closes issue #12161) Reported by: explidous Patches: res_agi_12161.patch uploaded by juggie (license 24) Tested by: juggie ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106433 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-06Merged revisions 106346 via svnmerge from tilghman1-2/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r106346 | tilghman | 2008-03-05 23:21:39 -0600 (Wed, 05 Mar 2008) | 7 lines Missing braces, fix parsing (closes issue #12112) Reported by: cyrenity Patches: res_config_ldap.patch-03-03-2008 uploaded by cyrenity (license 416) Tested by: cyrenity, Corydon76 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106359 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-06Merged revisions 105773 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r105773 | russell | 2008-03-04 16:15:18 -0600 (Tue, 04 Mar 2008) | 2 lines Rename public object server_instance to ast_tcptls_server_instance ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106303 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-06Merged revisions 105733 via svnmerge from russell1-1/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r105733 | twilson | 2008-03-04 14:32:55 -0600 (Tue, 04 Mar 2008) | 2 lines Set username to default to the category name if it isn't overridden by a usernmae= setting in users.conf ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106301 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-03Merged revisions 105572 via svnmerge from qwell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r105572 | qwell | 2008-03-03 12:06:52 -0600 (Mon, 03 Mar 2008) | 7 lines Fix types for astNumChannels and astConfigCallsProcessed. (closes issue #12114) Reported by: jeffg Patches: 12114.patch uploaded by jeffg (license 192) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105573 f38db490-d61c-443f-a65b-d21fe96a405b