Russell Bryant
c16059235e
Add some output for "show application SLAStation/SLATrunk"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 01:02:00 +00:00
Russell Bryant
7ee02f585d
Merge team/russell/sla_rewrite
...
This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4. It is now functional and ready for testing. However, I will be
adding some additional features over the next week, as well.
For information on how to set this up, see configs/sla.conf.sample
and doc/sla.txt.
In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:
chan_sip:
- Add the ability to indicate HOLD state in NOTIFY messages.
- Queue HOLD and UNHOLD control frames even if the channel is not bridged to
another channel.
linkedlists.h:
- Add support for rwlock based linked lists.
dial.c:
- Add the ability to run ast_dial_start() without a reference channel to
inherit information from.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:35:09 +00:00
Russell Bryant
2f5eabb51e
When the Echo() application receives the digit '#', echo that back as well.
...
Since we already sent the BEGIN frame for that digit, it makes sense to send
the END as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:15:50 +00:00
Kevin P. Fleming
07462b8d1b
add some inter-module dependencies
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 23:51:41 +00:00
Joshua Colp
1ba2aa702d
Temporarily change musicclass on channel to one specified in Dial so that the 'm' option functions properly. (issue #8969 reported by christianbee)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 19:33:31 +00:00
Joshua Colp
dce4b744a1
Fix timeout issue when utterance is longer then timeout itself.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 17:54:32 +00:00
Tilghman Lesher
1612f65f9c
Merged revisions 53529 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53529 | tilghman | 2007-02-08 07:36:10 -0600 (Thu, 08 Feb 2007) | 2 lines
Issue 9003 - If fullname is empty, quote() passes back "\""
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 13:40:02 +00:00
Joshua Colp
670a0ff144
Directly load say.conf in load_module instead of calling the reload function. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:04:44 +00:00
Tilghman Lesher
7f0c317655
Merged revisions 53354 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53354 | tilghman | 2007-02-07 09:30:02 -0600 (Wed, 07 Feb 2007) | 2 lines
Issue 7440 - Macro called from Macro from the h extension exits prematurely
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 15:33:51 +00:00
Joshua Colp
687b672a09
Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 17:06:18 +00:00
Joshua Colp
e647794710
Unregister Playback CLI commands as well as dialplan application. (issue #8946 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 16:02:00 +00:00
Russell Bryant
8f04a45ee9
Merged revisions 53133 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53133 | russell | 2007-02-03 14:38:13 -0600 (Sat, 03 Feb 2007) | 4 lines
set the DIALSTATUS variable to contain "INVALIDARGS" when the dial application
exits early because of invalid arguments instead of just leaving it empty.
(issue #8975 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 20:44:20 +00:00
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
2007-02-02 21:26:45 +00:00
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
2007-02-01 20:38:58 +00:00
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
2007-01-31 21:32:08 +00:00
Russell Bryant
43e68cac9a
Remove an extra \r\n from manager user events. (issue #8955 , mnicholson)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 18:18:25 +00:00
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
2007-01-31 17:39:28 +00:00
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
2007-01-31 17:34:22 +00:00
Joshua Colp
f92505eec1
Merged revisions 52716 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52716 | file | 2007-01-29 18:39:39 -0500 (Mon, 29 Jan 2007) | 2 lines
Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 23:43:40 +00:00
Joshua Colp
a4d3a2dbc9
Use ast_calloc instead of malloc.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 18:59:41 +00:00
Steve Murphy
f2fab700c3
this is for 8778 (pt_BR backport to 1.4). It was committed to trunk via 7663. But it wasn't so much an enhancement as a fix for the bad language output for portuguese in Brazil, so, after a lot of prodding from patient Brazilians, here is the same fix for 1.4
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:57:08 +00:00
Joshua Colp
e67ade2403
Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:33:19 +00:00
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
2007-01-27 02:13:41 +00:00
Joshua Colp
6124ace110
Merged revisions 52162 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52162 | file | 2007-01-24 20:48:52 -0500 (Wed, 24 Jan 2007) | 2 lines
Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:51:35 +00:00
Russell Bryant
96beb30159
By suggestion from kpfleming last week, change "vmpassword" to "vmsecret".
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:37:16 +00:00
Joshua Colp
8acccb9254
Merge in dialing API and the app_page that uses it. (issue #BE-118)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 18:20:05 +00:00
Russell Bryant
d7d0c10c21
Merged revisions 51828 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) | 4 lines
Don't set a new value for the END_ variable on the channel before using the
old value. If you do, it will lead to accessing a memory address that has
been free()'d. (issue #8895 , arkadia)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:19:55 +00:00
Joshua Colp
c60c2b5ffc
Merged revisions 51406 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51406 | file | 2007-01-22 14:08:52 -0500 (Mon, 22 Jan 2007) | 2 lines
Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:13:44 +00:00
Russell Bryant
c41964cd78
Remove an unused instance of an unnamed enum.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 00:13:06 +00:00
Russell Bryant
c94df4db51
Remove another duplicated definition
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 22:19:10 +00:00
Russell Bryant
89285ade68
Remove a variable that was declared twice.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 21:20:20 +00:00
Jason Parker
76eb4e76dc
Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.
...
Issue 8832, patch(es) by tgrman
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 22:50:23 +00:00
Joshua Colp
f6132a8ec4
Only start timeout once we reach the end of the files to play back.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 19:17:34 +00:00
Joshua Colp
d4398c0bb6
Build the IMAP remote directory string better and properly. Fix an issue with encoding the GSM voicemail when attaching to the voicemail. (issue #8808 reported by akohlsmith)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 00:48:55 +00:00
Jason Parker
d47da64f51
re-add "password" for realtime voicemail
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 17:36:53 +00:00
Kevin P. Fleming
439034e464
a few more coding style cleanups and one bug fix (from AnthonyL)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 01:29:12 +00:00
Jason Parker
c3f17ca3c1
Fix an issue with IMAP storage and realtime voicemail.
...
Also update the vmdb sql script for IMAP specific options.
Issue 8819, initial patches by bsmithurst (slightly modified by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 22:50:19 +00:00
Tilghman Lesher
87ea385650
Merged revisions 51158 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007) | 2 lines
Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 21:28:39 +00:00
Matt O'Gorman
ea3421ec27
minor things i missed before i get jumped on
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:46:12 +00:00
Matt O'Gorman
cc003179d4
Patch allows for changing voicemail password in users.conf from voicemail main, written by AnthonyL bug #8436
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 00:22:09 +00:00
Matt O'Gorman
d95432aad3
Merged revisions 50946 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r50946 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4 lines
Solves issue with forwarding voicemails from folders other than inbox.
patch by anthonyl.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 21:08:07 +00:00
Joshua Colp
4ec0f8cbd6
Merge speech-multi branch which adds support for joining multiple sound files together to be played one after another in SpeechBackground.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 20:25:44 +00:00
Joshua Colp
2c4359d9b3
Merged revisions 50295 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2 lines
Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 04:55:13 +00:00
Tilghman Lesher
8597c8f7b4
Merged revisions 50150 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines
The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-09 13:40:45 +00:00
Jason Parker
5cd6177995
Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"
...
Issue 8761, reported by and patch suggestion from ssokol.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 23:39:12 +00:00
Matt O'Gorman
f7767f2e23
we can't unlock a channel if we cant find it. - AnthonyL bug #8741
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 21:11:16 +00:00
Tilghman Lesher
5d9b3e845f
Merged revisions 49833 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007) | 2 lines
If openstream fails, then we crash (Issue 8564)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-07 21:44:52 +00:00
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
2007-01-05 22:16:33 +00:00
Matt O'Gorman
ff7a8f61a4
Merged revisions 49447 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49447 | mogorman | 2007-01-04 11:45:16 -0600 (Thu, 04 Jan 2007) | 2 lines
converted a lot of 256 to PATH_MAX and some white space fixes.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:11:19 +00:00
Matt O'Gorman
04b4ccc4c2
Merged revisions 49412 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49412 | mogorman | 2007-01-04 10:48:43 -0600 (Thu, 04 Jan 2007) | 3 lines
good catch russell sorry i missed that.
fix magic number with proper sizeof
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 16:50:56 +00:00