Kevin P. Fleming
6f869da9b0
correct variable header documentation (issue #5397 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 21:12:57 +00:00
Kevin P. Fleming
f7d567fe85
allow write timeout to be set on a per-user basis in AMI (issue #5352 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:25:15 +00:00
Kevin P. Fleming
e67a6e0344
allow manager actions to properly close the session again (issue #5350 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:15:28 +00:00
Kevin P. Fleming
d4bf5408a7
fix 'invalid command' logic
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-03 21:01:29 +00:00
Kevin P. Fleming
d167235344
don't build manager event output until it is needed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-03 19:40:03 +00:00
Kevin P. Fleming
9835bc4330
add ast_build_string_va(), which accepts a varargs list directly
...
ensure the _entire_ manager_event() output is either queued or sent via ast_carefulwrite()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-01 15:41:27 +00:00
Kevin P. Fleming
44a7b88d82
don't take session lock in astman_send_error() and astman_send_response(), since it is no longer needed
...
don't build authority string and event string for every session in manager_event(), do it only once
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 23:52:04 +00:00
Kevin P. Fleming
a08f3f75ff
tell the user about invalid/unknown commands before sending queued events
...
s->challenge does not need to be protected by the lock, since only process_message() (and functions it calls) ever use it, and process_message() is a blocking operation by definition
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 23:44:12 +00:00
Kevin P. Fleming
9d1fc454d4
properly clear out manager header structure between actions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 16:27:14 +00:00
Mark Spencer
2b883819be
Fix manager bug (can't destroy a session while a thread is using it!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 20:37:01 +00:00
Mark Spencer
ea215f5b7d
Remove possibility of manager deadlocks from manager actions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 23:10:14 +00:00
Mark Spencer
9804f96c0f
Fix manager EINTR issue (bug #5247 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 16:58:56 +00:00
Mark Spencer
96286be0ee
Fix GetVar manager action result (bug #5275 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 03:49:22 +00:00
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
601e4bb78a
ensure that 'Events: On' enables all event types (issue #5016 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 23:04:20 +00:00
Mark Spencer
195a36afac
Fix poll error condition causing memory corruption (bug #4915 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-07 22:59:04 +00:00
Russell Bryant
52594b6b12
fix a bunch of gcc4 warnings realted to pointer signedness
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-05 16:29:30 +00:00
Russell Bryant
c2b31d45df
fix seg fault if no variable is specified (bug #4907 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-05 15:19:51 +00:00
Russell Bryant
0d695659ca
don't set the event mask if the given eventmask was not valid
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:01:39 +00:00
Russell Bryant
eb7f5e8d0b
make sure a reponse is sent when setting the EventMask to on (bug #4799 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:58:34 +00:00
Russell Bryant
a9c7f50a09
Allow manager originate to specifiy more than one variable to be set.
...
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:24:51 +00:00
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Russell Bryant
edbc500b77
more ast_copy_string conversions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 22:56:21 +00:00
Kevin P. Fleming
8c6c774ab6
fix channel walking problems from recent changes (bug #4494 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 19:27:19 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
0e6762dd5f
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Kevin P. Fleming
1bac31d6bd
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 02:29:18 +00:00
Russell Bryant
f03896d1fc
remove call to pall on unitialied fds
...
This function assumes that the fd is nonblocking (bug #4053 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 18:30:44 +00:00
Kevin P. Fleming
6cd4f9a8d3
correct some signed/unsigned issues found by GCC 4 (bug #4237 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Kevin P. Fleming
b5272684ee
fix for dead manager connections to avoid deadlock (bug #4053 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 02:54:47 +00:00
Kevin P. Fleming
8634ef9e4a
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
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
2005-04-21 06:02:45 +00:00
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
2005-04-13 23:33:47 +00:00
Kevin P. Fleming
55eee86242
add help text for manager redirect command (bug #4015 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 05:45:53 +00:00
Kevin P. Fleming
6f86f6766b
make the manager interface list the privileges required for each command (bug #3917 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 16:18:11 +00:00
Kevin P. Fleming
6ac2bb1e88
correct 'sync' setting for manager-originated calls (bug #3922 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-02 00:58:33 +00:00
Mark Spencer
730194d609
Merge Russell's formatting patch (bug #3838 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-23 05:56:32 +00:00
Mark Spencer
6e420b3c38
Fix manager declarations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-22 19:09:12 +00:00
Mark Spencer
e8b3ac0c6e
Improve manager documentation (bug #3645 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-26 07:15:18 +00:00
Mark Spencer
ab0566923b
Include uniqueid in response for ManagerOriginate stuff (bug #3439 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 02:54:15 +00:00
Mark Spencer
6ed8f15260
Allow hints to have names (bug #3471 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-01 01:53:25 +00:00
Mark Spencer
1f7c871993
Set dialed peer number properly when ringing multiple channels (bug #3437 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-27 16:33:12 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
8ddb3aba81
Allow connection notifications on manager interface to be hidden (bug #3085 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-05 06:24:59 +00:00
Mark Spencer
05cbf44ba8
Fix possible race...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-14 05:52:08 +00:00
Mark Spencer
134e6180c5
Disable echo canceller for digital calls (bug #2785 ), fix build on MacOSX (bug #2803 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-07 16:21:01 +00:00
Mark Spencer
e21ed1865b
First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 12:19:47 +00:00
Mark Spencer
0ddbbd1785
Add ability to check voicemail from multiple folders (bug #2561 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 21:18:27 +00:00
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
2004-10-02 00:58:31 +00:00