Kevin P. Fleming
749029de38
Merged revisions 46200 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines
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/trunk@46201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3c876af5cf
Merged revisions 44378 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines
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/trunk@44379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e486316dc6
Merged revisions 44298 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44298 | kpfleming | 2006-10-03 15:18:29 -0500 (Tue, 03 Oct 2006) | 10 lines
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/trunk@44299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
31800f61c3
Strat becomes Strategy based on feedback from two nameless fellows
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e550109383
Add 'Strat' manager field to QueueParams event. (issue #7704 reported by renemendoza)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
ae8cc3e18b
bug #8076 check option_debug before printing to debug channel.
...
patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8ff3dd273a
Expand setinterfacevar option to also set a variable, MEMBERNAME, which contains the member's name. (issue #8046 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3e4a081e1c
Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
cc1945ce1b
Add option 'keepstats' which will keep queue statistics during a reload. (issue #7908 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
e2a52816fc
Merged revisions 43944 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43944 | qwell | 2006-09-28 13:11:22 -0700 (Thu, 28 Sep 2006) | 4 lines
Fix incorrect argument order for member names, on persisted members.
Issue 8047, patch by jmls.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
5ae60ec272
Merged revisions 43919 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43919 | kpfleming | 2006-09-28 12:35:42 -0500 (Thu, 28 Sep 2006) | 10 lines
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/trunk@43921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
9baf50ee9a
Merged revisions 43899 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43899 | bweschke | 2006-09-28 12:41:05 -0400 (Thu, 28 Sep 2006) | 11 lines
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/trunk@43902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
3b3702f9bc
Merged revisions 43873 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43873 | bweschke | 2006-09-28 11:29:21 -0400 (Thu, 28 Sep 2006) | 11 lines
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/trunk@43875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
4a50548ab2
Merged revisions 43864 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43864 | bweschke | 2006-09-28 09:24:10 -0400 (Thu, 28 Sep 2006) | 3 lines
Autopause not working for queue members. (#8042 - jmls reported and patch)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
a046b75f8a
Add QueueSummary manager action.
...
Gives "at a glance" information about a single queue, or all queues.
Issue #8035 , patch by rgollent, slightly modified (formatting) by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
2b55678e1f
Remove deprecated CLI apps from the core
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
fc88db013e
Remove deprecated apps and funcs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43439 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
19 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
19 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
19 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
19 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
19 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
19 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
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4aa7912057
Massive cleanups to applications for LOCAL_USER handling and some other things.
...
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application. An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
29829640bf
it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
dbdd193e12
Fix segfault in app queue when no cdr exists for the calling channel (bug #5462 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4e919f337c
Fix queue, iax and sip formatting issues (bug #5449 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7215e4179d
add auto-monitor support (issue #5411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
485e3e0801
Log timeouts in queues when the call timeout is set from the dialplan (Bug #5422 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e0680525e7
fix queues properly (issue #5300 , take two)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d45b683bdd
ensure that app_queue won't crash if no members are defined via Realtime (issue #5300 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
90aec0b0e3
fix logic error that breaks queue exit (issue #5312 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d3f7c5fb74
don't drop the caller just because it's not time to play an announcement (issue #5279 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b8f23573fa
more license/copyright header updates (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e0f02b46f1
convert a bunch of apps to use ast_goto_if_exists() (issue #5138 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
37a3c098bf
fix stupid thinko (thanks velter!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3103fd6292
don't duplicate devicestate-to-string function (issue #5078 )
...
use ast_build_string() for building output string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
129fd190a9
Make sure "now" is initialized (bug #4961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
e415ff3f87
Don't record all calls as abandoned (bug #4575 ) (fixes damage inadvertently added by bug #4644 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
a9a91571a1
Remove queue/session co-locking until deadlocks are properly resolved
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
5a7a8666a1
Add periodic announcement (bug #4677 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
9d880dd2b2
remove useless call to time() and an extra variable when we can just use the
...
one we already have
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
50a1d758d5
the time must be initialized for the 'n' option to actually work (bug #4834 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c4c9401efd
make queue and interface name matching case-insensitive (bug #4815 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1c30af0622
add English device state output (bug #4733 , with minor mod)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1432749293
add QueueStatusComplete event (bug #4694 with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
79760d4802
add support for multiple-digit extensions in queue exit contexts (bug #4690 )
...
add QUEUEAGENTCOUNT dialplan function (bug #4690 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
e24821e1cf
fix off by one errors in calls to ast_copy_string (bug #4600 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4c531ca8c0
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c13d601fb4
queue device state changes and handle them serially in a background thread
...
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
25f2cb8ec9
ensure that "completed calls" counter is updated properly (bug #4575 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f8b140faa4
ensure that abandoned calls are recorded that way (bug #4644 )
...
show 'available' for member channels that are not known to be in some other state (bug #4644 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
706bf6d427
ensure CLI commands produce proper terminating output when used with manager interface (bug #4497 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c0b1e88e8a
the last round of file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4f299de252
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
30973879c1
add realtime support to app_queue for static members/agents (bug #4037 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9f3372e3e3
add missing if statement in say_position (bug #4435 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
586c677bc2
Fix memory leak and remove useless coe (bug #4318 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
131ace2d70
allow caller to exit during position announcement by pressing valid exit key (bug #3821 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
7bffc0459c
add missing newlines, fix misspelling of nonexistent (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
700bf3772a
add missing newline (bug #4018 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
16661cc58f
Add option to mask certain high frequency events (bug #3707 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
a3c09af463
Add member/queue filters to queuestatus manager command (bug #3995 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
a0fdba74dc
Fix needless queue breakage for 2.95 (bug #3993 ) but this DOES NOT MEAN WE WILL WORK TOWARDS 2.95 IN THE FUTURE!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c318a06f14
Fix strict mode for queues (bug #3913 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
dc9faa21e4
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c446ba8b76
Fix queue weight issue (bug #3797 , take 2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
860eb98007
Fix queue stuff (bug #3797 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c564c601bd
Add timeoutrestart option (bug #3656 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
418eefb9dc
Member presistance improvements (bug #3647 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
fccd0750b2
Allow 0 retry time (bug #3630 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
afc33139c4
Properly differentiate between caller and agent hangups (bug #3578 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
03652112b3
More flagification fixes (bug #3414 , round 2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
9790f6fa7e
Fix big flagification errors (bug #3414 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
a6c065816a
Make monitoring accept args from both sides (bug #3449 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
48dd0fef1d
Add more manager events in queue (if enabled) (bug #3454 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
66cbe07029
Merge mjohnston's pause/unpause (bug #3252 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
bd29d3ccb6
Fix agentcallback login (bug #3293 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
d4c553c202
Make sure we ring queues properly and know busy vs. no answer (bug #3114 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
92eb0c2018
More flagification, courtesy drumkilla (bug #3280 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
87c9e1db33
Warn if flags is signed instead of unsigned (bug #3279 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
51cab9e7cc
Make queue support channel variable inheritance (bug #3274 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
cd3f85188a
Merge weight option (bug #3038 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
0b0bac6d92
Fix silly extra ! in app_queue (bug #3238 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e7d4ae8efa
Make features configurable and easier to implement
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
ef0a57efce
Fix various formatting errors (bug #3226 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
4430b896fa
Fix formatting etc in queues (bug #3159 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
4b5e3caa7d
Rename musiconhold option for consistency (bug #3163 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
a479a033a1
Fix CLI to report "N/A" when appropriate for time, chan_features updates, ALSA and OSS codec fixes (bug #3145 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e6db9fa895
Update queue to use ast_flags (bug #3108 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
245541a8d7
Merge optimize options patch (bug #3095 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
ed2d0a0eb2
Add some more of kpflemings optimizations (bugs #3092 , #3094 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
0570c6305f
Additional queue optimization (bug #3093 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
c85b38383c
Compute queue caller's timeout just once (bug #3091 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
d6471bec31
Merge Olle's comment patch (bug #3097 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
0455688ea1
Add persistent dynamic queue member support (bug #2929 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
1c76c72ccb
Fix app_queue when working in conjunction with anthm's moh patch (bug #2891 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
351497ce36
Update has_no_members to know about device status codes (bug #2867 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
11c51dd7e1
Generate new QueueMemberAdded and QueueMemberRemoved events
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
dffb2566bc
Big agent / queue fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
369d4bfae2
Show status of agents...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
8a13712e45
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
ebb18daf22
Major changes to res_config to support centralized config, eliminate configuration of res_config_odbc, update config examples, integrate with iax2, remove mysql friends from iax2, put on flame retardant vest...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
c52e38d3be
Merge member delay patch (bug #2563 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
de1b42b6bf
Add reporting of actual hold time (bug #2564 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
04fc29c8b2
Huge callerid rework (might break H.323, others)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
eda8998156
Fix little "less than" issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Russell Bryant
66bf105bbc
add ability to purge callers from queue if no agents are logged in
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
bf4ca23372
Make holdtime announcement say "less than 2 minutes" instead of "1 minutes" (bug #2500 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
00f227a684
Properly lock management stuff (bug #2406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
9888487f9c
Fix minor typo (bug #2343 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Malcolm Davenport
c542576190
Bug # 2171: Add permission to QueueAdd and QueueRemove manager commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
bf70a01da6
Merge alternate hangup and meetme patches from Matt N.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7b52e19b6d
Unify queue add/remove from manager and CLI (bug #2125/2123)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e90022767d
Allow optional event whenever an agent is called from a queue (bug #2066 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
d89ed4ab5f
Create option for joining empty queue (bug #2126 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
569b95352a
rename "parking" to "features" in preparation for some more (possibly post 1.0) feature additions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
872685d088
Merge rgagnon's pedantic string changes (apps n-z) (bug #2038 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
b283a02a7d
Merge seconds announcement for queue hold time (bug #1941 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
b140eef0aa
Implement queue wide wrapuptime (bug #1707 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e9f2a805b9
Merge in-access updates for queue priorities (bug #1821 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
f5c18f62a1
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
5546e32355
Merge major BSD mutex and symbol conflict patches (bug #1816 ) (link patch still pending)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
bc9e475d6e
Allow penalty argument to AddQueueMember
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
800ad7f727
Use ast_strlen_zero instead of &id in app_queue.c (Thanks folsson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
49257bafbc
Only call the update once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
89561c6a29
Update queue member after end of call (bug #1727 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
c47538a24b
Take member as argument, not lpeer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
1147ed1e8c
Fix record option to take from the right channel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7976579ef6
Merge small bkw_ queue enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
2310261cbe
Flesh out remaining "rrmemory" logic
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e36ed02083
Add Round-Robin w/ Memory queueing strategy (rrmemory)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
811f5cff35
Merge Connor's ringback feature for queue (bug #1560 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
8ef3b1544b
More ast_strlen_zero changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
5192a1a054
Add support for French, Danish, Portuguese, Spanish, Italian, and Dutch numbers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Anthony Minessale II
5385ca0a0e
applied final release of bug 1353 per Mark's permission
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
7567113e71
Make RemoveQueueMember and AddQueueMember jump to priority + 101 (bug 1022)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
f2ee5d3a80
Don't hang up if the file is missing (not a bug, but fix anyway) ( #1380 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
6cde9d87a3
Turn off MOH later rather than sooner.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Malcolm Davenport
e1112c64c9
Fix the 'n' option of app_queue. Thanks Mike
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
a05ef35ca8
Improve verbose messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
17e2416f68
Merge queue changes from Bug #214
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
4653b4bb79
Unregister apps in app_queue.c on unload_module
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
6a0bc27b35
Typo in app_queue.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
a303a83b92
Get rid of compiler warnings when calling ast_queue_log
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
d53b0d0643
Fixed gramatical error in app_queue.c (bug #1083 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
864fe70e35
Add queue logging and fix indications buglet
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
1e4b334321
Fix the deadlock in show queue <queue_name>
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
3f69c1b62d
Remove unused tmpq variable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
4bef006566
Add "show queue <queue_name>" CLI command
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
78602e0966
Make the go_on be non-global.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
695422d698
Various minor cleanups (bug #931 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
502e18c0d0
Add 'n' option to Queue application to fall through to the next extension after the timeout if no member picks up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
81339d3c3c
Trustingly add Thorston's deadlock patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
55e664cb00
Fix various compiler warnings (bug #322 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
cb4fccfd5d
Fix printf to match int type (bug #247 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
ac19ba51bd
Fix small logic errors (bug #242 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
479a67e629
BSD portability enhancements (bug #234 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1e19f72077
First of Jayson's manager patches
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1f628fe5f9
Handle timing file descriptor properly with agents
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
783fddaede
Little queue fix (bug #150 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
91e3e209bf
Pick the right point for rebuilding the list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
5f5e75de6e
Add same magic to remove from queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
e4a8e3fd9e
Trim post dash portion of name if unspecified
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
37b7bccc61
Asterisk:
...
#72 - Should eliminate probs on VMWI
#41 - Dynamic add survives reload
#73 - Make festival honor its arguments
#93 - Make events on FXO interfaces more logical
#26 - Prefer "bindaddr" to logical address for registrations
??? - Record crashes AGI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
465a7518cc
Do the right thing with ringall queues with entries that have penalties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1bb58646de
Totally revamp thread debugging to support locating and removing deadlocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
51b800f40a
Fix round robin scheduling
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1fb2eaabf3
Implement remaining queue strategies, ADSI fixes, and queue config updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
697993ef35
Allow to enter one digit extensions before the call is answered in the queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
21b6696e8b
Add alternate queueing strategies. Implment ringall, roundrobin, and random
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
e2ca759d56
Add wrapup time
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
7a594ca15d
Start on queueing strategies
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
9023f99c52
Add missing space
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
3b84a3f8a4
Clarify another area
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
7de3a7fcb0
Fix potential seg in queue code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
6d3f4243c1
Simplify stack in call attempt
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
c2ad77b27f
Fix iax2 video/voice and update queueing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1b473c2ef0
Merge 'T' and other dialing enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
81fc3f26fa
Take out unnecessary dependency upon tonezone.h
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
cbe865df7a
Fix race in local, update queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
71c9cbb2b1
Merge dynamic queue support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
f6d219cb18
Minor cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
250b80eaf7
Add count to management event
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
74a4fde52e
Nest event inside if statement
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
9706fc6bac
Fix music on hold on park
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
cfe1d50b1a
Fix transfer to parking
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1d22c714ce
More locking fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1cdcc857d9
Free queue config (thanks James)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
d0d50a4ad7
Merge some of Mahmut's patches
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
3d1d4221aa
Version 0.3.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Mark Spencer
201b40c520
Version 0.2.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago