dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

146 Commits

Author SHA1 Message Date
tilghman 4542518feb Prepare for removal of DBGet/DBPut manager commands, by allowing Getvar to get functions (Setvar can already set functions)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-15 05:50:19 +00:00
markster 03bbbd63f1 Remove unnecessary unlock (bug #6171)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7868 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-08 19:53:25 +00:00
tilghman d26c57d4be Bug 6162 - Constify manager_event arguments
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7853 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 15:23:38 +00:00
kpfleming 385d29ad6f update copyright headers for files changed this year
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 22:16:23 +00:00
kpfleming c3ba2e2855 add optional timestamps to manager events (issue #5535, simplified)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7750 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 22:07:12 +00:00
oej 7c8d0e9b4e Bug #5228: Add caller ID and CallerIDname to OriginateSuccess/Failure manager events (outtolunc)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7732 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 11:31:56 +00:00
russell ab6566173e update doxygen docs to specify authors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
tilghman 06ecd182a7 Bug 4880 - add priority label matching and dialplan function retrieval
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7658 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 19:13:13 +00:00
tilghman 3365b1cc9f Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03 19:25:33 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
russell 4feee61e32 don't crash on setvar (issue #5760)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7099 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-15 18:35:30 +00:00
twisted 1bec9f6104 Issue #5737
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7097 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-15 01:33:31 +00:00
russell 8acbf04043 finish merging doxygen updates from issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14 19:00:38 +00:00
kpfleming f771d4bb5d issue #5571
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7019 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 03:35:40 +00:00
kpfleming 55d241bdd3 issue #5585
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7012 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 02:11:42 +00:00
russell 4cc87ee6e1 clean up a lot of doxygen errors and warnings (issue #5522)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 23:11:36 +00:00
russell 1168964aa4 change ast_strlen_zero to also check for the string to be defined
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 18:54:24 +00:00
russell bb65d2e30a more doxygenification (issue #5513)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6852 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 13:03:17 +00:00
russell 2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
markster 3a74931cd7 Fix carefulwrite and its usage within manager (bug #5355, maybe)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6792 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 20:37:40 +00:00
kpfleming 4cf0a307a6 don't try to send events to dead sessions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6776 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 23:29:24 +00:00
russell 2372f06a11 allow manager getvar action to retrieve global variables as well as
channel variables (issue #5429)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6763 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 20:30:39 +00:00
kpfleming 68f10b8d5b correct variable header documentation (issue #5397)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6734 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-05 21:12:57 +00:00
kpfleming 716df588de allow write timeout to be set on a per-user basis in AMI (issue #5352)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6716 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-04 22:25:15 +00:00
kpfleming f3170e0bab allow manager actions to properly close the session again (issue #5350)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6715 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-04 22:15:28 +00:00
kpfleming 4192a73651 fix 'invalid command' logic
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6710 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-03 21:01:29 +00:00
kpfleming 1e8980527e don't build manager event output until it is needed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6709 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-03 19:40:03 +00:00
kpfleming 997e6dd0d5 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: http://svn.digium.com/svn/asterisk/trunk@6708 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-01 15:41:27 +00:00
kpfleming 31a4c58b9a 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: http://svn.digium.com/svn/asterisk/trunk@6704 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-30 23:52:04 +00:00
kpfleming e3688a45a7 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: http://svn.digium.com/svn/asterisk/trunk@6703 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-30 23:44:12 +00:00
kpfleming dc73e4340f properly clear out manager header structure between actions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6701 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-30 16:27:14 +00:00
markster 5360fe7571 Fix manager bug (can't destroy a session while a thread is using it!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6698 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-29 20:37:01 +00:00
markster 83fdaa72f7 Remove possibility of manager deadlocks from manager actions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6687 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-28 23:10:14 +00:00
markster bbfcc37178 Fix manager EINTR issue (bug #5247)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6644 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-25 16:58:56 +00:00
markster 05b9e2fd84 Fix GetVar manager action result (bug #5275)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6641 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-25 03:49:22 +00:00
kpfleming 95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming 758a35b46b ensure that 'Events: On' enables all event types (issue #5016)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6429 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-26 23:04:20 +00:00
markster 8f4d353391 Fix poll error condition causing memory corruption (bug #4915)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6303 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-07 22:59:04 +00:00
russell c7503d31d3 fix a bunch of gcc4 warnings realted to pointer signedness
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6290 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-05 16:29:30 +00:00
russell 1406a1f104 fix seg fault if no variable is specified (bug #4907)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6289 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-05 15:19:51 +00:00
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