Kevin P. Fleming
ebb8253d2f
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.0@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
08630905fa
Fix poll error condition causing memory corruption (bug #4915 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
1e70fa09cd
add some newlines and fix some misspellings (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
916f6b627a
correct 'sync' on action_originate (bug #3922 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a004c5ca9e
some more management command description updates (bug #3645 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
aea667c7c8
Fix originate success/failure formatting (bug #2485 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
877f1f64c2
Cleanup code. Spacing issues, nested if issues, lots of strlen used instead of ast_strlen_zero
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7457c51bc2
Add status for async manager originate (including ActionID) (bug #2434 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3776 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
f54c287c73
Make GetVar respect ActionID (bug #2404/2405)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
5259155e52
Make sure we behave properly for parking (bug #2292 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
6910fd79f2
Fix missing \r\n
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7acee329e1
Merge BSD stack size work (bug #2067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
f074b92823
Merge nicolasg's manager/cli patch (bug #2207 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Malcolm Davenport
725c352e94
Bug # 2170: Add authority_to_str function to let Administrator issue command to find privilege string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
8ed49644a6
Remaining rgagnon source audit improvements (bug #2011 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
decd0771ee
Cleanup recent manager changes. We have a doc/CODING-GUIDELINES file for
...
a reason. Make sure all future patches follow the guidelines.
Some of the problems with this include:
Unnecessary whitespace changes
Use of spaces instead of tabs
Code formatting that doesn't follow the published guidelines
Nested statements without braces
Comment problems
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Anthony Minessale II
568ba9c398
This patch allows an event mask to be sent on a manager login session
...
either using an integer value or a ',' sep list of flags exactly like
the manager.conf read and write lines.
e.g.
Events: system,call,log
or
Events: off
or
Events: on
Also you can change it mid-session with Action: Events
e.g.
Action: Events
EventMask: system,call,log
-Tony (anthm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
2f911dfba6
Use INET_ADDRLEN (bug #1956 ) (from airport!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
f97df161f4
Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
408ead2dda
Add manager action descriptions for 'Events', 'Logoff', and 'Hangup'.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
1af31f2c64
Merge cmaj's ZapDND and specific channel status manager commands (bugs #1917 , 1918)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
8801247d76
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@3276 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
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
799b876aa0
Make monitor merge application settable via variable, allow setting of variables via manager interface, allow mix flag to be set via manager (bug #1268 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
5a9ab574de
Add 'ListCommands' manager command
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
ea70485e7b
Add description to manager_action structure, and add some comments.
...
Add ast_manager_register2 which adds description as an additional arg
Rework how events are added so they get ordered alphabetically
Add 'show manager command <commandname>' (with tab completion) to
view info on each command
Added descriptions to 'Ping' and 'Originate' but they kinda suck, so we
need other people to come up with good descriptions for each of the
manager commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
b4a2ee6104
Use ast_strlen_zero in manager.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
776497fb6b
Fix potential segfault, add support for MacOS X locks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
a0486afb83
Merge fabeman's extensive meetme improvements (bug #1624 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
6195dd35e0
Make ast_channel_walk become ast_channel_walk_locked
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
511816a56d
Allow "fast" asynchronous manager initiation of events (bug #772 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
ec8a80b070
Send ActionID in response ot action command (bug #1484 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
435e55958f
Properly migrate from select to poll for core asterisk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
b9604cde6c
Temporarily revert poll changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
470f226d9d
Change select references to poll in core asterisk functions (hope this works)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
b5da1073b0
Allow manager.conf to use port and portno, but log that portno is deprecated.
...
(bug 1343)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
f82797006f
Verify the right vars are passed to manager originate (bug 1185)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
James Golovich
5fafcdd73c
Remove extra spacing from manager.c and change Event action/variable to
...
work the same during login and action
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
8f73da1f79
Allow semi-blocking fd's on manager (bug #1100 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
ae4adad5c4
Insert blank after REFER (bug #997 )
...
Correct path to VM sample (bug #994 )
Make manager interface non-blocking (bug #861 )
Don't bork on empty from in SIP (bug #887 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
8dbbc0e72b
Emit status complete message when status is finished (bug #122 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
8d80f9c624
Update formating (bug #898 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Jeremy McNamara
de6d4f266e
Set sync flag back to 0, temp work around to let action: origiate work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Jeremy McNamara
b3ab1cbe73
Check for already registered manager command. Bug #836
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
8a4d7dd913
Add variable/account code to manager create
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
b239d0de27
Pass accountcode to outgoing spool call when originated with Context&Extension&Priority
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
69d2a4917c
Merge james' fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
14dd5077a9
Fix amp to star
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago