dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

106 Commits

Author SHA1 Message Date
russell 6990f48880 don't set the event mask if the given eventmask was not valid
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6215 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 23:01:39 +00:00
russell 358d6021cf make sure a reponse is sent when setting the EventMask to on (bug #4799)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6214 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 22:58:34 +00:00
russell 1952459258 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: http://svn.digium.com/svn/asterisk/trunk@6147 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:24:51 +00:00
kpfleming ff15e0fa53 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
russell 9690f518f5 more ast_copy_string conversions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6073 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 22:56:21 +00:00
kpfleming 5fbc774f67 fix channel walking problems from recent changes (bug #4494)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5883 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 19:27:19 +00:00
kpfleming 6f0f46299c more file version tags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming b2cbb6a75d remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming 7b1b9f53ef more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 02:29:18 +00:00
russell eed311e230 remove call to pall on unitialied fds
This function assumes that the fd is nonblocking (bug #4053)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5710 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-17 18:30:44 +00:00
kpfleming 92f76b2bc8 correct some signed/unsigned issues found by GCC 4 (bug #4237)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 03:21:51 +00:00
kpfleming c3b40fbb66 fix for dead manager connections to avoid deadlock (bug #4053)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5661 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 02:54:47 +00:00
kpfleming b7e6d89aa2 don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 17:00:33 +00:00
kpfleming 31e8dcf4fe use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
russell 9201aa9db0 add missing newlines, fix misspelling of nonexistent (bug #4027)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5467 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13 23:33:47 +00:00
kpfleming 0cd39650cf add help text for manager redirect command (bug #4015)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5462 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13 05:45:53 +00:00
kpfleming 09571d527a make the manager interface list the privileges required for each command (bug #3917)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5385 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04 16:18:11 +00:00
kpfleming 004a141c93 correct 'sync' setting for manager-originated calls (bug #3922)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5356 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-02 00:58:33 +00:00
markster 4a7019a16a Merge Russell's formatting patch (bug #3838)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5234 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-23 05:56:32 +00:00
markster d2d06ed9d2 Fix manager declarations
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5227 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-22 19:09:12 +00:00
markster 94ab7ec60b Improve manager documentation (bug #3645)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5085 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-26 07:15:18 +00:00
markster 7b5357fca1 Include uniqueid in response for ManagerOriginate stuff (bug #3439)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4948 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-02 02:54:15 +00:00
markster d2d81ca374 Allow hints to have names (bug #3471)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4938 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-01 01:53:25 +00:00
markster 0a42b07e05 Set dialed peer number properly when ringing multiple channels (bug #3437)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4898 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-27 16:33:12 +00:00
markster 2207b9a515 Merge config updates (bug #3406)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25 06:10:20 +00:00
russell 7288b1ced0 update copyright headers for 2005
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster 47f9ebb602 Allow connection notifications on manager interface to be hidden (bug #3085)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4672 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-05 06:24:59 +00:00
markster 85a72bc5f7 Fix possible race...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4238 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-14 05:52:08 +00:00
markster ba6bf065a5 Disable echo canceller for digital calls (bug #2785), fix build on MacOSX (bug #2803)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4170 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-07 16:21:01 +00:00
markster d3403a17ea First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4061 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-23 12:19:47 +00:00
markster f0aa373808 Add ability to check voicemail from multiple folders (bug #2561)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3905 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-03 21:18:27 +00:00
markster 6868babd22 Huge callerid rework (might break H.323, others)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02 00:58:31 +00:00
markster 8fd211f179 Fix originate success/failure formatting (bug #2485)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3819 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-22 14:11:44 +00:00
citats a151a37052 Cleanup code. Spacing issues, nested if issues, lots of strlen used instead of ast_strlen_zero
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3800 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-17 14:15:11 +00:00
markster 956cbf759e Add status for async manager originate (including ActionID) (bug #2434)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3776 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-14 22:15:50 +00:00
markster 2b772ac964 Properly lock management stuff (bug #2406)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3759 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-10 15:11:38 +00:00
markster 6a77867317 Make GetVar respect ActionID (bug #2404/2405)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3752 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-09 12:50:56 +00:00
markster 349e291e4b Make sure we behave properly for parking (bug #2292)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3682 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-31 00:08:52 +00:00
markster 82a124c667 Fix missing \r\n
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3604 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-12 23:12:44 +00:00
markster 28a366ed72 Merge BSD stack size work (bug #2067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3596 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-08 17:15:02 +00:00
markster d3c5020bf3 Merge nicolasg's manager/cli patch (bug #2207)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3575 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-03 17:48:18 +00:00
malcolmd 27a9d6972d Bug # 2170: Add authority_to_str function to let Administrator issue command to find privilege string
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3545 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-30 20:27:42 +00:00
markster 65ae377f3d Remaining rgagnon source audit improvements (bug #2011)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3430 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 07:44:19 +00:00
citats 2683d4e619 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: http://svn.digium.com/svn/asterisk/trunk@3401 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-08 17:08:38 +00:00
anthm 2ddc4a808c 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: http://svn.digium.com/svn/asterisk/trunk@3399 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-08 15:39:35 +00:00
markster 34117659e3 Use INET_ADDRLEN (bug #1956) (from airport!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3364 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-30 16:56:51 +00:00
markster ed56b47de7 Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3345 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29 12:56:46 +00:00
citats e4eae0813e Add manager action descriptions for 'Events', 'Logoff', and 'Hangup'.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3339 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29 05:04:48 +00:00
markster 5797e84a8a Merge cmaj's ZapDND and specific channel status manager commands (bugs #1917, 1918)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3314 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-26 14:31:09 +00:00
citats 00b34f3e0a Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 18:49:00 +00:00