rizzo
d999f912e3
more NULL and "" equivalence in cid fields
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21816 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:31:23 +00:00
tilghman
e7ab4552ee
Bug 6943 - transition away from using CallerID header, when we really mean CallerIDNum
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 23:23:16 +00:00
tilghman
e0ba99b7f5
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
oej
69ea4b21f3
Issue #6884 - manager.c formatting (casper)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17389 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 19:03:12 +00:00
oej
22b2e50bf4
- Doxygen additions
...
- Formatting fixes (read guidelines :-) )
- Removing compilation warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03 18:38:28 +00:00
tilghman
6c935d68a6
Bug 6861 - Routine should use the specified writetimeout, rather than the default
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17029 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03 07:34:40 +00:00
tilghman
ae13ef5c11
Bug 6862 - No need to initialize memory to zero twice
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17028 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03 07:30:07 +00:00
markster
27e352ac8d
Minor cleanup in wakeup logic
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16975 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-02 20:11:55 +00:00
markster
7302a69879
Unify manager behind a single event queue
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16957 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-02 19:59:55 +00:00
markster
0bc4374f9b
Make excessive debug optional
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16903 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-01 20:39:33 +00:00
markster
7014c0e5dd
Flesh out the remainder of the manager + http changes and create a sample application to partially
...
demonstrate the capability of manager over http.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-01 08:49:54 +00:00
rizzo
bdcafe615f
more command completion normalization.
...
also change some explicit constant with sizeof()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15859 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 23:52:21 +00:00
russell
ce80e21bd8
conversions to S_OR (issue #6803 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15022 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-26 16:08:42 +00:00
markster
4f4a24ec6f
Add micro-http server and abstract manager interface, make snmp not die
...
on reload.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 23:50:09 +00:00
kpfleming
5d9ed5739a
major dialplan functions update
...
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 04:28:58 +00:00
russell
0a0b84d8de
Merged revisions 9581 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9581 | russell | 2006-02-11 13:15:00 -0500 (Sat, 11 Feb 2006) | 2 lines
now that CDR is a loadable module, don't depend on it elsewhere (issue #6460 )
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 18:31:59 +00:00
mogorman
4df94f3769
code clean up and macro implementation from
...
bug 6247
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23 18:07:12 +00:00
russell
c6643537f1
constify arguments in more places where strings should not be modified (issue #6286 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18 22:17:31 +00:00
kpfleming
8723f63be1
remove some more deprecated (pre-1.2) stuff
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8157 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 23:45:05 +00:00
oej
923b20bf12
Portability - compilation warning on Mac OS/X removed
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8138 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 19:03:04 +00:00
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