Joshua Colp
34b000a0e7
Move makeannouncement variable declaration to proper place.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@76054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
049fb8d98e
The diff on this looks pretty big but all I did was remove a pointless if statement (always evaluates true).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
1f9e2457dd
Changes in handling return values of several functions in app_queue. This all started as a fix for issue #10008
...
but now includes all of the following changes:
1. Simplifying the code to handle positive return values from ast API calls.
2. Removing the background_file function.
3. The fix for issue #10008
(closes issue #10008 , reported and patched by dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Dwayne M. Hubbard
226a627244
Merged revisions 75657 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r75657 | dhubbard | 2007-07-18 12:48:33 -0500 (Wed, 18 Jul 2007) | 1 line
removed the word 'pissed' from ast_log(...) function call for BE-90
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
05923bb562
Merged revisions 74427 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74427 | qwell | 2007-07-10 14:57:20 -0500 (Tue, 10 Jul 2007) | 6 lines
Fix an issue where it was possible to have a service level of over 100%
Between the time recalc_holdtime and update_queue was called, it was possible that the call could have been hungup.
Move both additions to the same place, so this won't happen.
Issue 10158, initial patch by makoto, modified by me.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
5112357ae1
Forgot to get rid of an extraneous debug message.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
591f77fe14
The n option for Queue should make the queue exit immediately after failure to reach any members and should not
...
be dependent on the timeout value passed to Queue
(closes issue #10127 , reported by bcnit, repaired by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
60c9f69f20
Correcting a minor CLI bug I found. When issuing the queue show command, if you type
...
queue show and then press tab, you can continue pressing tab and it will keep auto-completing
queue names even though only 1 queue can be used as an argument.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
6fec0a545f
Merged revisions 73315 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r73315 | file | 2007-07-05 10:19:17 -0300 (Thu, 05 Jul 2007) | 2 lines
Reset ServicelevelPerf variable back to 0 if we are unable to calculate it each time... otherwise we will get previous values. (issue #10117 reported by noriyuki)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
2c67ae6869
Merged revisions 72327 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines
Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
e7cb53e8b2
Fix loading persistent queue members when using realtime configuration for queues.
...
Also, remove an unneeded leading slash for the astdb family.
(issue #9911 , patch by atis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
ece55e3de7
Merged revisions 65389 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65389 | russell | 2007-05-22 08:07:03 -0500 (Tue, 22 May 2007) | 4 lines
Fix a memory leak that I just noticed in the device state handling in app_queue.
On most device state changes, it would leak roughly 8 to 64 bytes (the length of
the name of the device).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
88f6591b24
Fix a small bug I noticed while working on something else. app_queue did not
...
unregister its device state monitoring callback in unload_module(). So, this
would make Asterisk crash on the first device state change after you
unload the module.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
15d34ea798
Merged revisions 61692 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61692 | qwell | 2007-04-20 14:49:54 -0500 (Fri, 20 Apr 2007) | 5 lines
If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key.
If it was enabled, this statement would've never been checked in the first place.
Issue #9552
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
7a8d30f3c3
Use the appropriate interface name with COMPLETECALLER.
...
Issue 9395.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
acd37793b1
Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
7cec18d933
Add missing membername option to AddQueueMember documentation. (issue #9088 reported by seanbright)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
fccaadad94
Make the 'i' option of Queue actually work. (issue #8986 reported by utis)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
BJ Weschke
c71401e705
I'm baaaaaaaaaack. :)
...
Post a warning to the console that things might possibly be misconfigured when queue member's states are still 'Not in Use' when we're about to bridge them with a caller from queue. Also, put some documentation quoted from oej's queues.txt efforts started in /trunk today.
This commit puts #7433 into feedback state for 1.4, and pending no further negative feedback, it will finally be closed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
10f0da24c2
Change debug level for state change message that is not really informative when debugging app_queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9aab046002
Merged revisions 53045 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
ad254da05d
Only changed the paused status in an existing queue member if the paused
...
column exists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
8dc0a7778f
Instead of always creating a realtime queue member as unpaused, read the
...
"paused" column and use that value for the paused status of the member.
(issue #8949 , jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
47f9dd508a
Merged revisions 52415 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52415 | file | 2007-01-26 21:09:10 -0500 (Fri, 26 Jan 2007) | 2 lines
Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
444adcb477
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cb2930ecb4
if adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE, not LOG_DEBUG
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
88fb11d10b
reflect addition/removal of dynamic queue members in queue_log, so that people using dialplan replacement for AgentCallbackLogin can still track login/logout (issue #7736 , reported/patched by whoiswes but this commit was written by me and covers all three paths for AQM/RQM)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
56a1e60c54
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e05a2752e8
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
28d9579584
update warning message to include "agi" option (issue #8225 , jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ce4b0afb73
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ff05bf15c8
update thread creation code a bit
...
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b4a673780a
Merged revisions 44296 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44296 | kpfleming | 2006-10-03 15:14:13 -0500 (Tue, 03 Oct 2006) | 2 lines
fix a logic error in my previous fix to the queue reload code
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
4be96dc8d3
Fix incorrect argument order for member names, on persisted members.
...
Issue 8047, patch by jmls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
78e8232ef8
Merged revisions 43916 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43916 | kpfleming | 2006-09-28 12:31:57 -0500 (Thu, 28 Sep 2006) | 2 lines
fix buggy (and overly complex) loop used during reload of app_queue for static member list updating
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
1dd8d10aa9
Merged revisions 43897 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43897 | bweschke | 2006-09-28 12:37:15 -0400 (Thu, 28 Sep 2006) | 3 lines
app_queue is comparing the device names incorrectly while checking their statuses. It's internal list of interfaces includes the dial string, while the argument passed to this function does not have the dial string (/n for a local channel). This causes it to ignore the device state changes because it thinks it belongs to none of its members. (#8040 reported and patch by tim_ringenbach)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
675749c706
Merged revisions 43871 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43871 | bweschke | 2006-09-28 11:18:05 -0400 (Thu, 28 Sep 2006) | 3 lines
Fix race condion crash with get_member_status (#7864 - tim_ringenbach reported and patched)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
669bbb6784
Autopause not working for queue members. ( #8042 - jmls reported and patch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
70af28270d
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
61e4465f49
Fix a segfault that was reported by jcmoore in #asterisk-bugs on IRC.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
50c1981780
We need to persist the member name also
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
a7119b522d
Add a "member name" to queue members.
...
Add option to the various methods of adding a queue member, to add the "member name".
Member name is used in (most) queue log records, in place of the interface name.
This makes it consistent, so that you can log in from any device, and still be logged as "member name"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
d0a1a0033d
similar patch for verbose vs debug with minor changes
...
bug 2617
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fcb999c01c
merge qwell's CLI verbification work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
c5c1d4579f
This was added to app_dial a while back, and now it's in app_queue as well. Provide an option to prevent members of the queue from forwarding calls from the queue to somewhere else.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
06b98dcc77
Merged revisions 41882 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41882 | bweschke | 2006-09-03 13:38:22 -0400 (Sun, 03 Sep 2006) | 3 lines
Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. (#7867 - raarts reported and patched)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
91f4aa93bb
Don't keep trying the same member in certain strategies when members of the queue are unavailable ( #7278 - diLLec reported and patched)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
b6ccca7566
Merged revisions 41827 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41827 | bweschke | 2006-09-03 10:16:08 -0400 (Sun, 03 Sep 2006) | 3 lines
Setting a retry of 0 is generally not a good idea and shouldn't be allowed. (#7574 - reported by regin)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
e736c8a27b
With the somewhat recent addition (from one of the Astridevcon Europe sessions) of more detailed device states, we need to change strategy in app_queue in how we determine whether a queue member is "in use" or not. Basically, instead of specifically looking for that device state as we did previously, now we're going to observe any other device state aside from the two that we know for sure are "not in use" as "in use". This will cause some other states to fall through that we know will never be available (eg - "INVALID","UNAVAILABLE",etc) but there's other code already within to handle those conditions. ( #7433 - tgrman reporting)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
05a695af72
everything that loads a config that needs a config file to run
...
now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it
had a non static function when it should.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- restructured build tree and makefiles to eliminate recursion problems
- support for embedded modules
- support for static builds
- simpler cross-compilation support
- simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
2ec3a672e9
Increase the size of the variable space for writing/reading persistent queue member data to allow for larger queues of members. (Matthew Roth #7703 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
e068c5fcf9
Merged revisions 38972 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38972 | russell | 2006-08-05 04:08:48 -0400 (Sat, 05 Aug 2006) | 3 lines
remove duplicate queue log entry when the caller exits on a timeout
(issue #7616 , ppyy)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
cc3029e871
Typo found on the -dev list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6d0742fc16
merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
88627c754a
add a QueueLog application that allows for custom entries in the queue_log
...
(issue #7368 , by stevedavies with some modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
d8ccfb6711
Whitespace fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
dea45f3aa3
only compare the queue entry's max penalty to the member's penalty when the queue entry actually has a non-zero penalty
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
2127a0b7e5
Change superfluous messages to DEBUG and remove dead code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
0d0fadc781
Merged revisions 35669 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r35669 | bweschke | 2006-06-23 06:30:17 -0500 (Fri, 23 Jun 2006) | 3 lines
We should lock the queue before we go making changes to member interface statuses.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
89f6ffe1e5
Bug 6589 - option to display channel variables in queue events
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0224dee876
Actually allow realtime queue members to be added (issue #7408 reported by tgrman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b5a13cbef8
Merged revisions 34274 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34274 | kpfleming | 2006-06-15 08:30:22 -0500 (Thu, 15 Jun 2006) | 3 lines
don't use prefixed structure names for internal structures
don't use a plural structure name for a singular object
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
aba00b66fc
use the proper named constants for checking device state, and don't treat UNKNOWN as not available in autofill mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7518a91032
various coding style cleanup and minor fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
11dac47877
Merged revisions 34159-34160 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34159 | kpfleming | 2006-06-14 17:17:37 -0500 (Wed, 14 Jun 2006) | 2 lines
use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names
........
r34160 | kpfleming | 2006-06-14 17:22:21 -0500 (Wed, 14 Jun 2006) | 2 lines
coding style cleanups on queue interface handling code that was committed for the last release
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
472c1ca282
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
998eacf17f
Merged revisions 31921 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r31921 | kpfleming | 2006-06-03 22:43:35 -0500 (Sat, 03 Jun 2006) | 2 lines
return bridge exit logic to what it was before i broke it :-(
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7e84433270
officially deprecate the 'roundrobin' queue strategy in favor of 'rrmemory'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
295c340164
A new way to try and deal with deadlocks that occur in app_queue at present. Using this approach, we only manipulate the main queue mutexes when we get a dev state change on a device that is actually a member of a queue. Further optimizations are still possible (eg - store and manage pointers to the status integer of the member record that this interface/device has a one-to-one relationship with and then go directly to those pointers to make status modifications rather than the recursive looping that goes on now) BUT first things first. :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
59e1522025
Merged revisions 30424 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r30424 | bweschke | 2006-05-25 17:22:16 -0400 (Thu, 25 May 2006) | 3 lines
Oops.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
6cfaaf9ac0
Properly initialize destination variables before we send them into pbx_substitute_variables_helper(..). Ya! Testing! Take 2.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
36cf242f31
Making sure a char ptr is initialized before we strchr on it is a GOOD thing. Ya! Testing!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
8d890cb626
Doxygen comment for Qwell
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
6848d55d85
Make sure we catch all the instances where a member didn't answer the call sent to them rather than just on a timeout after a dial attempt and some minor code cleanup/reuse.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6e307c1d81
Merged revisions 29971 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r29971 | kpfleming | 2006-05-24 11:52:08 -0500 (Wed, 24 May 2006) | 2 lines
fix various bugs related to exiting from queue via keypress and moh handling (issue #6776 , different fix)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
d1fc8d4687
Add UniqueID to the leave manager event.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
db55898c0d
Merged revisions 28968 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28968 | kpfleming | 2006-05-19 21:35:53 -0500 (Fri, 19 May 2006) | 2 lines
don't allow queue member devices to ring longer than the total queue timeout (issue #6423 , reported and patched by bcnit)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
154774e033
Merged revisions 28627 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28627 | file | 2006-05-19 12:38:59 -0300 (Fri, 19 May 2006) | 2 lines
Treat paused queue members as unreachable (issue #7127 reported by peterh)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
4edfd20a7a
Remove needless check for autofill (issue #7180 reported by Marquis)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
04ecb29d03
remove almost all of the checks of the result from ast_strdupa() or alloca().
...
As it turns out, all of these checks were useless, because alloca will never
return NULL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4120afc28e
put all the QUEUE_STRATEGY values in an enum, and use them in all of the places
...
in the code where the strategy type is checked, to make the code more readable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
3780d4e7dd
strategy "ringall" is really int value of 0, not 1.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
c0186f6b4d
Make QueueStatusComplete manager event thread safe by wrapping it inside the already existing Queue Lock clause. #7013 (bziherl reporting)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
a7f330a2d2
Merged revisions 25520 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r25520 | bweschke | 2006-05-08 09:15:30 -0400 (Mon, 08 May 2006) | 3 lines
Oops. :(
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
415dff6f2a
Merged revisions 25518 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r25518 | bweschke | 2006-05-08 09:11:32 -0400 (Mon, 08 May 2006) | 3 lines
Don't recheck valid_exit() after getting the result from say_position (which already checks it). Should prevent another loop if the caller hits digits during the position announcement. #6776 (tgj reporting)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
714aab87bb
Fix situation for when there is no monitor_option defined, but there is a monitor_exec defined.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
d83bd4d136
Integrate the MixMonitor functionality (introduced in 1.2) as an option for recording queue member conversations with callers. #7084
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
85e0c889e4
Allow for the execution of an AGI to the caller's channel right before they get bridged with the queue member that is going to take their call. Add the option to set a MEMBERINTERFACE variable on the caller's channel that will contain the interface of the queue member that is going to/did take the call. #6843
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
7734d20eb5
Merged revisions 24706 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r24706 | tilghman | 2006-05-04 11:27:20 -0500 (Thu, 04 May 2006) | 2 lines
Bug 7023 - reload should not unpause members
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
80c34d2a91
Make sure that callers kicked from queue because of joinempty and leavewhenempty have an event logged with regard to the reason for their departure. #6559 (Corydon76)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
944c8cc4a6
Log hold time and talktime in queue_log when blind transfers are made by queue members. #7038 (alphaqueue) w/documentation mods added
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
ebb7eee9ce
Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad queue members.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
7b3f3db65d
Fix autofill behavior in app_queue and document it's functionality in queues.conf.sample and UPGRADE.txt
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
857f2e8d41
Record bridge channel unique id in "CONNECT" queue_log entry and the corresponding manager event. #6522 (nording) w/ documentation additions where appropriate
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
2904c6956d
remove unused variable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
7212fa80ad
adds new function QUEUE_WAITING_COUNT and a few
...
warnings if the queue you are looking for in this
function and other queue functions is not found.
patch from 7036
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
1a6572c4e6
more NULL "" equivalence,
...
mark a couple of inconsistencies (missing CallerIDnum,
"unknown" instead of "<unknown>") - there are more of the same.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e43bc6634d
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cf15740eaf
remove support for BYEXTENSION (which nobody even knows about anymore)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f10f427d49
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
756c7cbb12
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
982a66a93a
Issue #6882
...
- move "res=-1" out of verbose block.
- minor code cleanup
Imported from 1.2 branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
c0f2f5b5b8
Normalize some cli completion code.
...
On passing, replace strdup with ast_strdup() and remove
the now useless checks for NULL since ast_strdup() can handle
it correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
9164eac21a
Add micro-http server and abstract manager interface, make snmp not die
...
on reload.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f28abd4020
Merged revisions 12925 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r12925 | russell | 2006-03-14 13:28:39 -0500 (Tue, 14 Mar 2006) | 3 lines
fix a problem with not loading realtime queue members by always reloading a
realtime queue from the database even if it is found in the list (issue #6680 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
30a806010a
Bug 6459 - tell manager when queue is abandoned
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a0d438fb6c
remove the uses of the deprecated STANDARD_LOCAL_USER
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f0495e8944
add option to avoid calling members whose channels are 'in use' (issue #6315 , plus documentation)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c1e19165b4
add channel's uniqueid to manager 'join' event (issue #6458 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2f46cb9198
don't use localuser structure for outbound calls (issue #6216 )
...
various code cleanup and reorganization (issue #6216 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
918cab0e08
Merged revisions 9961,9964,9990,10018 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r10018 | kpfleming | 2006-02-14 14:20:15 -0600 (Tue, 14 Feb 2006) | 2 lines
don't double-increment abandon counter for calls that are hung up while dialing members (issue #6289 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
2f2530b8e6
remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
96bf384e7d
major dialplan functions update
...
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a16ae226b6
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
83ab52cdc4
changed some settings to app_args and some code
...
cleaning patch 6267
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
72a2e892bc
fix memory leak from not freeing the list of queue members when freeing a queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
56bb41460e
Bug 6312 - Macro janitor
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4414f45393
on this pass, only remove duplicate log messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
41c87ccb97
Bug 5936 - Cannot AddQueueMember on realtime queue, if queue not yet loaded (different fix than 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
9fa6eb5e07
revert my pass through the tree to remove checks of the result of ast_strdupa
...
(revisions 8378 through 8381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
7ad681adc8
remove lots of useless checks of the result of ast_strdupa
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
cb8bd57a21
Merged revisions 8347 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8347 | russell | 2006-01-20 13:34:42 -0500 (Fri, 20 Jan 2006) | 2 lines
fix invalid value of prev_q (issue #6302 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
6f71e1178e
constify arguments in more places where strings should not be modified (issue #6286 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
90b4d8b9be
oops all better now.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
24c4e062cc
allow for multiple periodic announcements
...
from bug 5273 with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
3854a2438e
Spelling corrections (mostly in comments and doxygen areas) #6249
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
58bac05e59
Added QUEUE_MEMBER_COUNT and QUEUE_MEMBER_LIST
...
from bug 5451
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
55c8fc92a9
Various cleanups from comments in an email from Luigi Rizzo. Thank you!
...
- Use a cleaner syntax for declaring the allocation macros
- Fix return value for ast_strdup/ast_strndup
- remove safe_strdup from app_macro, since ast_strup does the same thing
- fix a place in app_queue where ast_calloc+strncpy was used instead of
ast_strdup. If you are helping out with these conversions, please watch out
for other places where this is done.
- add a note to the coding guidelines about the fix to app_queue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
130ce286ba
added two new features to meetme, autofill and
...
autopause. thanks twisted from 5577
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
8637b23569
More memory wrapper and cleanup work. #6226 w/one very minor compile fix mod in app_rpt.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
a44bc3a0d7
Remove an unneccessary unlock and do away with the error msg about not being able to unlock the lock. #6201
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
e825a748cf
More new memory wrapper work and initializing some memory allocations to zero where they weren't before.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d44823b5b8
allow limiting of queue members who will be delivered a given caller's call by penalty setting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
1bd94abf57
avoid multiple strlen calls in complete_queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
ef1ce7aec9
Merged revisions 7634 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines
cast time_t to an int in printf/scanf (issue #5635 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
e2f674787b
Clarify purpose of function, by renaming
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
f75bd5a29e
Merged revisions 7337 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7337 | russell | 2005-12-04 19:09:12 -0500 (Sun, 04 Dec 2005) | 2 lines
don't delete dynamic queue members when reloading the static members from a realtime database (issue #5922 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
ec05153ac4
convert most of the option_*'s to a single ast_flags structure. Also, fix some
...
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
870f98f02d
Bug 5858 - Make the chanvars.c functions return a 'const char *'
...
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
ad122bf6cd
fix queue weight feature - compare member interfaces instead of pointers to
...
the members, since each queue has its own list of members. (issue #5863 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
54dd7ac9fa
issue #5707
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
987b87662c
make app_queue 1.2 jump compliant (issue #5580 )
...
add missing includes of stdio.h
remove some unused and duplicate headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a0a9769616
issue #5648
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f09c6bc78e
application doc update
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
31a804b97c
issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3bd298f2dd
alphabetize option lists
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
5187de9ab6
remove unnecessary checks before calls to ast_strlen_zero
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago