aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2008-07-21Remove libresample from the Asterisk source tree. It is now available in itsrussell22-10267/+1
own repository, and must be installed like any other library for Asterisk to use. The two modules that require it are codec_resample and app_jack. To install libresample: $ svn co http://svn.digium.com/svn/libresample/trunk libresample $ cd libresample $ ./configure $ make $ sudo make install This code is currently in our own repository because the build system did not include the appropriate targets for building a dynamic library or for installing the library. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132390 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Fixes problem where manager users loaded from users.conf would be bbryant1-0/+1
removed early (before the routine to load the configuration was finished) because a variable wasn't initialized. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132242 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Russell pointed out that using ast_strdupa() within a loop like this istilghman1-44/+93
probably not a good idea, as we might run out of stack space. Therefore, changing this over to use the ast_str infrastructure for buffers is probably a good idea. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132206 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Fix trunk devmodetilghman1-5/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132203 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18 updateconfig is not uri decoding variables,values from the GET urlpari1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132169 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 132112 via svnmerge from tilghman1-19/+75
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132112 | tilghman | 2008-07-18 14:06:10 -0500 (Fri, 18 Jul 2008) | 6 lines Fix for Taiwanese number syntax (closes issue #12319) Reported by: CharlesWang Patches: saynumber-tw-1.4.18.1.patch uploaded by CharlesWang (license 444) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132113 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 132107 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132107 | tilghman | 2008-07-18 13:47:50 -0500 (Fri, 18 Jul 2008) | 6 lines Textual clarification (closes issue #13106) Reported by: flefoll Patches: config.c.br14.120173.patch-unknown-directive uploaded by flefoll (license 244) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132109 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Fix magic Revision keywords in hashtab.c and change cdr_radius.c to use bbryant1-1/+1
the same keyword as the other files (patch by eliel). (closes issue #13104) Reported by: eliel Patches: revision.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132050 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 131988 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131988 | tilghman | 2008-07-18 12:10:01 -0500 (Fri, 18 Jul 2008) | 2 lines Oops ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131989 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 131985 via svnmerge from tilghman1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131985 | tilghman | 2008-07-18 11:46:23 -0500 (Fri, 18 Jul 2008) | 2 lines Preserve ABI compatibility with last change ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131986 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 131970 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131970 | tilghman | 2008-07-18 11:30:31 -0500 (Fri, 18 Jul 2008) | 2 lines Make the ast_assert call within ast_sched_del report something useful. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131982 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 131921 via svnmerge from kpfleming3-1233/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131921 | kpfleming | 2008-07-18 11:15:41 -0500 (Fri, 18 Jul 2008) | 2 lines remove the dlfcn compatibility stuff, because no platforms that Asterisk currently runs on it use it, and it doesn't build anyway ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131923 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 131915 via svnmerge from bbryant1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131915 | bbryant | 2008-07-18 10:34:42 -0500 (Fri, 18 Jul 2008) | 4 lines Fix a bug in blind transfers where the BLINDTRANSFER variable isn't always set to the other end of the blind transfer. (closes issue #12586) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131916 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-17Fix a memory leak in register_group_feature when attempting to register bbryant1-9/+9
a feature without specifying a group or feature to register. (closes issue #13101) Reported by: eliel Patches: features.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-17Change several 'core' commands to be 'dialplan' commands (with appropriatetilghman1-16/+79
deprecation, of course) (closes issue #13016) Reported by: caio1982 Patches: dialplan_globals6.diff uploaded by caio1982 (license 22) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131606 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-16Fixes an issue with "core show sysinfo" that used the wrong operator to bbryant1-5/+5
calculate the number of bytes from a sysinfo structure. unsigned long. (closes issue #13057) Reported by: eliel Patches: asterisk.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131445 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-16Fix rotate strategytilghman1-4/+4
(Closes issue #13086) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131166 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-15(closes issue #12960)murf1-3/+6
Reported by: mnicholson Spent most of the day on this bug, and the solution was so simple. Just had to find and understand the problem. The problem was, that the routine to copy the existing switches, includes, and ignorepats from the old context to the new one, wasn't getting called when the context is already existent. (In other words, if AEL is adding a new context to the mix, they get copied, but if pbx_config already defined a context, then the copy wasn't happening. This made no sense, so I moved the call to copy the includes & etc, no matter the case. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131129 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-15Merged revisions 130959 via svnmerge from tilghman2-18/+18
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130959 | tilghman | 2008-07-15 12:19:13 -0500 (Tue, 15 Jul 2008) | 8 lines astman_send_error does not need a newline appended -- the API takes care of that for us. (closes issue #13068) Reported by: gknispel_proformatique Patches: asterisk_1_4_astman_send.patch uploaded by gknispel (license 261) asterisk_trunk_astman_send.patch uploaded by gknispel (license 261) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131044 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-15Merged revisions 131012 via svnmerge from mvanbaak1-4/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131012 | mvanbaak | 2008-07-15 19:47:15 +0200 (Tue, 15 Jul 2008) | 7 lines remove 4 lines of redundant code. (closes issue #13080) Reported by: gknispel_proformatique Patches: trunk_ast_cdr_setapp.patch uploaded by gknispel (license 261) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131013 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14Fix a memory leak in the case that /dev/null cannot bemmichelson1-1/+3
opened when running startup commands from cli.conf (closes issue #13066) Reported by: eliel Patches: asterisk.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130854 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14Merged revisions 130735 via svnmerge from mvanbaak1-5/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130735 | mvanbaak | 2008-07-14 19:10:21 +0200 (Mon, 14 Jul 2008) | 10 lines notify the user that dnsmgr refresh wont work when dnsmgr is not enabled. Previously this command would automagically appear and disappear. This was confusing. (closes issue #12796) Reported by: chappell Patches: dnsmgr_refresh_3.diff uploaded by chappell (license 8) Tested by: russell, chappell, mvanbaak ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130744 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14Merged revisions 130634 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130634 | russell | 2008-07-14 05:38:14 -0500 (Mon, 14 Jul 2008) | 2 lines Bump up the debug level for a message. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130635 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-13Merged revisions 130573 via svnmerge from mvanbaak1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130573 | mvanbaak | 2008-07-14 00:48:51 +0200 (Mon, 14 Jul 2008) | 8 lines fix memory leak when originate from manager cannot create a thread (closes issue #13069) Reported by: gknispel_proformatique Patches: asterisk_trunk_action_originate.patch uploaded by gknispel (license 261) Tested by: gknispel_proformatique, mvanbaak ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130574 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11(closes issue #13041)murf1-2/+5
Reported by: eliel OK, now the context registrar slot is strdup'd. It is freed on destruction. I don't see the need to do this with all the structs' registrar fields, but if some wild case proves they should also be handled this way, then we can put in the extra work at that time. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130297 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Merged revisions 130236 via svnmerge from mmichelson1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130236 | mmichelson | 2008-07-11 15:03:23 -0500 (Fri, 11 Jul 2008) | 3 lines Remove redundant logic ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130237 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Merged revisions 130173 via svnmerge from mmichelson1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130173 | mmichelson | 2008-07-11 14:13:29 -0500 (Fri, 11 Jul 2008) | 7 lines Fix a typo in audiohook_read_frame_both. While this change has not been proven to fix any specific issue, it is incorrect and could cause unforeseen problems. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130174 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11(closes issue #13041)murf1-28/+299
Reported by: eliel Tested by: murf (closes issue #12960) Reported by: mnicholson In this 'omnibus' fix, I **think** I solved both the problem in 13041, where unloading pbx_ael.so caused crashes, or incomplete removal of previous registrar'ed entries. And I added code to completely remove all includes, switches, and ignorepats that had a matching registrar entry, which should appease 12960. I also added a lot of seemingly useless brackets around single statement if's, which helped debug so much that I'm leaving them there. I added a routine to check the correlation between the extension tree lists and the hashtab tables. It can be amazingly helpful when you have lots of dialplan stuff, and need to narrow down where a problem is occurring. It's ifdef'd out by default. I cleaned up the code around the new CIDmatch code. It was leaving hanging extens with bad ptrs, getting confused over which objects to remove, etc. I tightened up the code and changed the call to remove_exten in the merge_and_delete code. I added more conditions to check for empty context worthy of deletion. It's not empty if there are any includes, switches, or ignorepats present. If I've missed anything, please re-open this bug, and be prepared to supply example dialplan code. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130145 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Janitor patch to change uses of sizeof to ARRAY_LENbbryant6-9/+9
(closes issue #13054) Reported by: pabelanger Patches: ARRAY_LEN.patch2 uploaded by pabelanger (license 224) Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130129 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Merged revisions 129966 via svnmerge from kpfleming1-1/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129966 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines fix a flaw found while experimenting with structure alignment and padding; low-fence checking would not work properly on 64-bit platforms, because the compiler was putting 4 bytes of padding between the fence field and the allocation memory block added a very obvious runtime warning if this condition reoccurs, so the developer who broke it can be chastised into fixing it :-) ........ r129967 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines simplify calculation ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129968 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-10Remove deprecated 'show parkedcalls' CLI commandmvanbaak1-11/+1
(closes issue #13038) Reported by: eliel Patches: finish.deprecate.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129581 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-09Merged revisions 129436 via svnmerge from mmichelson1-4/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129436 | mmichelson | 2008-07-09 14:32:20 -0500 (Wed, 09 Jul 2008) | 13 lines Fix a problem where inbound rfc2833 audio would be sent to the core instead of being P2P bridged. When the core regenerated the rfc2833 packet for the outbound leg, the SSRC would be different than the RTP audio on the call leg causing DTMF detection issues on the far end. (closes issue #12955) Reported by: tonyredstone Patches: dynamic_rtp.patch uploaded by tsearle (license 373) Tested by: tonyredstone ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129437 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-09Add Proceeding() application (#13025)mattf1-2/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129399 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-09Merged revisions 129343 via svnmerge from seanbright4-55/+95
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129343 | seanbright | 2008-07-09 09:41:21 -0400 (Wed, 09 Jul 2008) | 4 lines Look for the system installed awk instead of assuming it's at /usr/bin/awk. Pointed out by jmls via #asterisk-dev. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129344 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-09Code wasn't ready to be merged - see -dev list discussiontilghman3-36/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129307 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Fix a bug in SRV lookups where dnsmgr would discard everything but the bbryant3-6/+5
first SRV result from DNS before processing weights and priorities and dns_parse_answer wouldn't report that there were no records in DNS unless a failure occured. Also fixed a bug where dnsmgr_refresh would report that a entry was being changed when ast_gethostbyname had failed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129156 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Reduce length of time that 'asterisk -rx' waits.tilghman1-2/+10
(closes issue #13001) Reported by: eliel Patches: 20080708__bug13001.diff.txt uploaded by Corydon76 (license 14) 20080708__bug13001.diff.txt.fixed uploaded by eliel (license 64) Tested by: Corydon76, eliel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129114 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Janitor project to convert sizeof to ARRAY_LEN macro.bbryant8-29/+29
(closes issue #13002) Reported by: caio1982 Patches: janitor_arraylen5.diff uploaded by caio1982 (license 22) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129045 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06Changing name of global api call to ast_* oej2-3/+3
My mistake, pointed out by Russell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128378 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-05Implement flags for AGI in the channel structure so taht "show channels" andoej3-5/+36
AMI commands can display that a channel is under control of an AGI. Work inspired by work at customer site, but paid for by Edvina AB git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128240 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-05Make this actually evaluate how it was intended to be.file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128198 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-05Add new SIP cli command "sip show channelstats" that displays some QoS data ↵oej1-0/+31
(if we have RTCP reports and not use the p2p rtp bridge). I could not find a way to detect us using the p2p bridge, which would be nice. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128197 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-04Merged revisions 127973 via svnmerge from tilghman1-61/+54
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127973 | tilghman | 2008-07-03 22:30:30 -0500 (Thu, 03 Jul 2008) | 8 lines Fix the 'dialplan remove extension' logic, so that it a) works with cidmatch, and b) completes contexts correctly when the extension is ambiguous. (closes issue #12980) Reported by: licedey Patches: 20080703__bug12980.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128027 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Merged revisions 127892,127895 via svnmerge from kpfleming1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127892 | kpfleming | 2008-07-03 17:18:38 -0500 (Thu, 03 Jul 2008) | 6 lines a couple of small Solaris-related fixes (closes issue #11885) Reported by: snuffy, asgaroth ........ r127895 | kpfleming | 2008-07-03 17:20:16 -0500 (Thu, 03 Jul 2008) | 3 lines remove this, it has been moved to the main Makefile ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127903 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Merged revisions 127663 via svnmerge from murf4-173/+95
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127663 | murf | 2008-07-02 18:16:25 -0600 (Wed, 02 Jul 2008) | 30 lines The CDRfix4/5/6 omnibus cdr fixes. (closes issue #10927) Reported by: murf Tested by: murf, deeperror (closes issue #12907) Reported by: falves11 Tested by: murf, falves11 (closes issue #11849) Reported by: greyvoip As to 11849, I think these changes fix the core problems brought up in that bug, but perhaps not the more global problems created by the limitations of CDR's themselves not being oriented around transfers. Reopen if necc, but bug reports are not the best medium for enhancement discussions. We need to start a second-generation CDR standardization effort to cover transfers. (closes issue #11093) Reported by: rossbeer Tested by: greyvoip, murf ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127793 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Keep ast_app_inboxcount API compatible with 1.6.0.tilghman2-9/+38
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127609 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Expose the prefix variable so that it can be used by modules depending on ↵twilson1-0/+7
http support git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127545 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Solaris fixtilghman1-1/+1
(closes issue #12949) Reported by: snuffy Patches: bug_12949.diff uploaded by snuffy (license 35) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127466 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Fix a bunch of places where \arg was used instead of \param. Using \argrussell1-14/+14
to document arguments seems logical, and does work, but is not the best thing to use. \arg in doxygen is simply for creating non-nested unordered lists. \param is the correct tag to use to document function parameters, and will come out better in the generated documentation. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127401 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Place the delay in __ast_answer prior to the channel-specific answermmichelson1-1/+1
callback. This change differs from commit 127113 in that now the channel is not set to AST_STATE_UP until after the answer callback. (closes issue #12924) Reported by: snyfer git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127157 f38db490-d61c-443f-a65b-d21fe96a405b