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
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
2004-09-22 14:11:44 +00:00
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
2004-09-17 14:15:11 +00:00
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
2004-09-14 22:15:50 +00:00
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
2004-09-10 15:11:38 +00:00
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
2004-09-09 12:50:56 +00:00
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
2004-08-31 00:08:52 +00:00
Mark Spencer
6910fd79f2
Fix missing \r\n
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-12 23:12:44 +00:00
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
2004-08-08 17:15:02 +00:00
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
2004-08-03 17:48:18 +00:00
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
2004-07-30 20:27:42 +00:00
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
2004-07-14 07:44:19 +00:00
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
2004-07-08 17:08:38 +00:00
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
2004-07-08 15:39:35 +00:00
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
2004-06-30 16:56:51 +00:00
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
2004-06-29 12:56:46 +00:00
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
2004-06-29 05:04:48 +00:00
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
2004-06-26 14:31:09 +00:00
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
2004-06-22 18:49:00 +00:00
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
2004-06-22 17:42:14 +00:00
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
2004-06-09 01:45:08 +00:00
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
2004-06-03 15:42:36 +00:00
James Golovich
5a9ab574de
Add 'ListCommands' manager command
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-02 22:30:42 +00:00
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
2004-06-02 20:08:08 +00:00
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
2004-05-26 19:30:12 +00:00
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
2004-05-24 15:28:36 +00:00
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
2004-05-22 04:11:22 +00:00
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
2004-05-20 16:30:10 +00:00
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
2004-05-01 23:52:27 +00:00
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
2004-04-29 02:59:29 +00:00
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
2004-04-25 20:42:45 +00:00
Mark Spencer
b9604cde6c
Temporarily revert poll changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-24 23:11:28 +00:00
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
2004-04-24 23:02:21 +00:00
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
2004-04-05 19:40:30 +00:00
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
2004-03-09 20:01:46 +00:00
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
2004-03-02 08:45:51 +00:00
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
2004-03-01 21:12:32 +00:00
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
2004-02-07 07:13:33 +00:00
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
2004-01-29 00:28:51 +00:00
Mark Spencer
8d80f9c624
Update formating (bug #898 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-22 21:44:47 +00:00
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
2004-01-14 09:31:24 +00:00
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
2004-01-14 06:31:18 +00:00
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
2003-12-01 05:32:31 +00:00
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
2003-10-01 21:01:31 +00:00
Mark Spencer
69d2a4917c
Merge james' fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 23:40:33 +00:00
Mark Spencer
14dd5077a9
Fix amp to star
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 22:01:02 +00:00
Mark Spencer
479a67e629
BSD portability enhancements (bug #234 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 16:48:07 +00:00
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
2003-09-08 16:44:36 +00:00