aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-01-14Merged revisions 168614 via svnmerge from seanbright1-8/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168614 | seanbright | 2009-01-14 15:52:00 -0500 (Wed, 14 Jan 2009) | 9 lines Update autosupport script to supply info for both Zaptel and DAHDI in 1.4 and be sure to run dahdi_test in 1.6.x and trunk instead of zttest. (closes issue #14132) Reported by: dsedivec Patches: asterisk-1.4-autosupport.patch uploaded by dsedivec (license 638) asterisk-trunk-autosupport.patch uploaded by dsedivec (license 638) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168615 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Merged revisions 168608 via svnmerge from murf1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168608 | murf | 2009-01-14 12:34:35 -0700 (Wed, 14 Jan 2009) | 1 line app_page was failing to compile in dev-mode on my gcc-4.2.4 system. This change gets rid of the warning. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168613 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Restore the "sip show users" and "sip show user" CLI commandsmmichelson1-0/+190
(closes issue #14180) Reported by: amorsen Patches: sip_show_users_161v3.diff uploaded by putnopvut (license 60) Tested by: blitzrage, amorsen git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168610 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Fix compilation on FreeBSD and OSXmvanbaak1-3/+21
This started as work to fix the 'core show sysinfo' CLI command but while working on it oej pointed out that read_credentials did not compile neither. So while being there, fix that as well. Thanks for all the testing oej! (closes issue #14129) Reported by: ys Tested by: oej, mvanbaak git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168609 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Merged revisions 168603 via svnmerge from tilghman1-5/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168603 | tilghman | 2009-01-14 13:02:55 -0600 (Wed, 14 Jan 2009) | 7 lines Don't read into a buffer without first checking if a value is beyond the end. (closes issue #13600) Reported by: atis Patches: 20090106__bug13600.diff.txt uploaded by Corydon76 (license 14) Tested by: atis ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168604 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Mostly spacing changes; no functionality change at all.tilghman1-622/+707
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168601 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Blocked revisions 168598 via svnmergemmichelson0-0/+0
........ r168598 | mmichelson | 2009-01-14 10:19:26 -0600 (Wed, 14 Jan 2009) | 8 lines Fix a logic error I found while searching through chan_agent.c I found that the allow_multiple_logins function would never return 0 due to an incorrect comparison being used when traversing the list of agents. While I was modifying this function, I also did a little bit of coding guidelines cleanup, too. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168599 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14Merged revisions 168593 via svnmerge from twilson1-4/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168593 | twilson | 2009-01-13 19:27:18 -0600 (Tue, 13 Jan 2009) | 20 lines Don't overflow when paging more than 128 extensions The number of available slots for calls in app_page was hardcoded to 128. Proper bounds checking was not in place to enforce this limit, so if more than 128 extensions were passed to the Page() app, Asterisk would crash. This patch instead dynamically allocates memory for the ast_dial structures and removes the (non-functional) arbitrary limit. This issue would have special importance to anyone who is dynamically creating the argument passed to the Page application and allowing more than 128 extensions to be added by an outside user via some external interface. The patch posted by a_villacis was slightly modified for some coding guidelines and other cleanups. Thanks, a_villacis! (closes issue #14217) Reported by: a_villacis Patches: 20080912-asterisk-app_page-fix-buffer-overflow.patch uploaded by a (license 660) Tested by: otherwiseguy ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168594 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Janitor patch for chan_misdn (make channel variable access safe)tilghman1-3/+11
(closes issue #12887) Reported by: pputman Patches: chan_misdn_threadsafe.patch uploaded by pputman (license 81) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168591 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Fully overwrite a same-named file when uploadingtwilson1-1/+1
(closes issue #14190) Reported by: timking git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168588 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Add option to hide console connect messagestwilson3-2/+11
(closes issue #14222) Reported by: jamesgolovich Patches: asterisk-hideconnect.diff.txt uploaded by jamesgolovich (license 176) Tested by: otherwiseguy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168585 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Clarify a message that app_queue prints and change to a debug-level messagemmichelson1-1/+1
The "No one is answering..." verbose message contained 3 numbers that were not explained in any way to whoever was viewing the message. It is more helpful now since the message explains what the numbers mean. Also, the message has been downgraded to "DEBUG" level. (closes issue #14172) Reported by: caio1982 Patches: queue_answering_debug.diff uploaded by caio1982 (license 22) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168579 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Merged revisions 168551 via svnmerge from twilson1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168551 | twilson | 2009-01-13 12:34:14 -0600 (Tue, 13 Jan 2009) | 7 lines Don't pass a value with a side effect to a macro (closes issue #14176) Reported by: paraeco Patches: chan_sip.c.diff uploaded by paraeco (license 658) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168578 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Allow specifying a port number in the user portion of a register => line in ↵mmichelson3-11/+50
sip.conf With this commit, a register => line in sip.conf may contain a port number in the "user" section of the line. Please see CHANGES and sip.conf.sample for more details regarding this. (closes issue #14198) Reported by: Nick_Lewis Patches: chan_sip.c-domainport2.patch uploaded by Nick (license 657) Tested by: Nick_Lewis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168575 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Merged revisions 168561 via svnmerge from russell15-56/+56
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168561 | russell | 2009-01-13 13:13:05 -0600 (Tue, 13 Jan 2009) | 2 lines Revert unnecessary indications API change from rev 122314 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168562 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13Merged revisions 168546 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168546 | tilghman | 2009-01-13 11:48:00 -0600 (Tue, 13 Jan 2009) | 6 lines If either conditional is NULL, don't try copying it. (closes issue #14226) Reported by: caspy Patches: 20090113__bug14226.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168547 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13correct a CLI descriptiondhubbard1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168539 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Merged revisions 167095 via svnmerge from tilghman1-2/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r167095 | tilghman | 2008-12-31 18:01:22 -0600 (Wed, 31 Dec 2008) | 5 lines Repeat attempts to write when we receive -EAGAIN from the driver, as detailed in the ALSA sample code (see http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm_8c-example.html#a32) Reported by: Jerry Geis (via the -users list) Fixed by: me (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168526 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12bump the verbosity of a message in srv.c up by one. It used to bemmichelson1-1/+1
at this level prior to a large patch merge which converted ast_verbose calls to ast_verb (closes issue #14221) Reported by: jcovert Patches: srv.c.patch uploaded by jcovert (license 551) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168523 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Some platforms (notably, the BSDs) have a more efficient implementation calledtilghman4-5/+18
closefrom(3). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168522 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Merged revisions 168516 via svnmerge from jpeeler1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168516 | jpeeler | 2009-01-12 15:42:34 -0600 (Mon, 12 Jan 2009) | 5 lines (closes issue #13881) Reported by: hoowa Update the app CDR field for AGI commands that are not executing an application via "exec". ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168517 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Merged revisions 168507 via svnmerge from jpeeler1-19/+28
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168507 | jpeeler | 2009-01-12 14:26:22 -0600 (Mon, 12 Jan 2009) | 9 lines (closes issue #12269) Reported by: IgorG Tested by: denisgalvao This gits rid of the notion of an owning_app allowing the request and hangup to be initiated by different threads. Originating from an active agent channel requires this. The implementation primarily changes __login_exec to wait on a condition variable rather than a lock. Review: http://reviewboard.digium.com/r/35/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168508 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Better to use the proper app nameoej1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168497 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Merged revisions 168482 via svnmerge from mmichelson1-5/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168482 | mmichelson | 2009-01-12 08:58:25 -0600 (Mon, 12 Jan 2009) | 5 lines I am reverting the fix made in revision 168128 (and its upward merges) after being contacted by Olle Johansson and being shown how this fix is incorrect. Thanks to Olle for clearing this up for me. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168485 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Merged revisions 168480 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168480 | russell | 2009-01-12 08:57:27 -0600 (Mon, 12 Jan 2009) | 2 lines s/ringdance/ringcadence/ for Bulgaria ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168481 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-12Don't include swap.h unless we have swapctloej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168479 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-10sizeof for a stringfield is 4. Kinda low for reconstructing a field value.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168334 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Merged revisions 168267 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168267 | kpfleming | 2009-01-09 17:12:29 -0600 (Fri, 09 Jan 2009) | 1 line update to use new sound file packages that include license files ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168270 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Spacing changermudgett1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168269 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Add a script to find out the correct settings for Asterisk behind NATmvanbaak2-0/+75
(closes issue #13065) Reported by: tzafrir Patches: sip_nat_settings uploaded by tzafrir (license 46) sip_nat_settings_6 uploaded by mvanbaak (license 7) Tested by: tzafrir, pabelanger, Dovid and moi git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168265 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Merged revisions 168198 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168198 | russell | 2009-01-09 16:14:38 -0600 (Fri, 09 Jan 2009) | 2 lines Make this compile for mvanbaak ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168200 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Merged revisions 168128 via svnmerge from mmichelson1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168128 | mmichelson | 2009-01-09 14:08:04 -0600 (Fri, 09 Jan 2009) | 13 lines Add check_via calls to more request handlers INFO, NOTIFY, OPTIONS, REFER, and MESSAGE requests were not checking the topmost Via to determine where to send the response. Adding check_via calls to those request handlers solves this. (closes issue #13071) Reported by: baron Patches: check_via.patch uploaded by baron (license 531) Tested by: baron ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168193 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Merged revisions 168191 via svnmerge from rmudgett1-21/+221
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r168191 | rmudgett | 2009-01-09 15:28:42 -0600 (Fri, 09 Jan 2009) | 3 lines * Fix for JIRA AST-175/ABE-1757 * Miscellaneous doxygen comments added. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168192 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Don't leak memory if phoneprov.conf does not existtwilson1-0/+1
(closes issue #14203) Reported by: jamesgolovich Patches: asterisk-phoneprovleak.diff.txt uploaded by jamesgolovich (license 176) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168142 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09When using ast_str with a non-ast_str-enabled API, we need to update the buffertilghman2-0/+11
or otherwise, we cannot use ast_str_strlen(). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168090 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Added a comment to logger.c about where to put includesmnicholson1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168054 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Use ast_safe_system() in logger.c instead of system()mnicholson1-2/+3
(closes issue #14194) Reported by: pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168014 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Set ORIGINATE_STATUS instead of OUTGOING_STATUS to match the documentationtwilson1-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167973 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09Set peer context and exten values so MACRO_EXTEN and MACRO_CONTEXT will be settwilson1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167935 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Merged revisions 167840 via svnmerge from tilghman1-3/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r167840 | tilghman | 2009-01-08 16:08:56 -0600 (Thu, 08 Jan 2009) | 6 lines Don't truncate database results at 255 chars. (closes issue #14069) Reported by: evandro Patches: 20081214__bug14069.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167894 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Revert chan_sip changes which were accidentally committedmmichelson1-183/+0
in revision 167792 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167888 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Fix variables to comply with documentation changestilghman1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167837 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Textual changes, consistency in status variable naming, and other minor bugs.tilghman1-60/+65
(closes issue #13943) Reported by: Marquis Patches: minivm_trunk_fixes3.patch uploaded by Marquis (license 32) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167835 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Add the average talk time for a queuemmichelson3-13/+208
This patch adds the functionality to app_queue of calculating the average amount of time that channels are bridged for a queue. The algorithm used to calculate the average is the same exponential average currently used to calculate the average holdtime. See the CHANGES file to see the methods you may use to view this information. (closes issue #13960) Reported by: coolmig Patches: app_queue.c.diff.trunk-r158840 uploaded by coolmig (license 621) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167792 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Convert dialplan application DAHDISendCallreroutingFacility to use commas.tilghman2-19/+18
(closes issue #13836) Reported by: eliel Patches: chan_dahdi.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167791 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Merged revisions 167714 via svnmerge from kpfleming1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r167714 | kpfleming | 2009-01-08 11:24:21 -0600 (Thu, 08 Jan 2009) | 1 line remove an unnecessary argument to queue_request() ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167720 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Merged revisions 167620 via svnmerge from kpfleming1-11/+131
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r167620 | kpfleming | 2009-01-07 17:32:21 -0600 (Wed, 07 Jan 2009) | 5 lines When a SIP request or response arrives for a dialog with an associated Asterisk channel, and the lock on that channel cannot be obtained because it is held by another thread, instead of dropping the request/response, queue it for later processing when the channel lock becomes available. http://reviewboard.digium.com/r/123/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167700 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08Oops... fix the fieldname I changed yesterday to be right.lmadsen1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167662 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-07Merged revisions 167566 via svnmerge from russell1-7/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r167566 | russell | 2009-01-07 16:35:36 -0600 (Wed, 07 Jan 2009) | 2 lines Fix the last couple of places where free() was improperly used directly. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167569 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-07Merged revisions 167554 via svnmerge from russell1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r167554 | russell | 2009-01-07 16:26:42 -0600 (Wed, 07 Jan 2009) | 2 lines Don't fclose() the file early, the filestream destructor will handle it. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167555 f38db490-d61c-443f-a65b-d21fe96a405b