diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-09 21:37:26 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-09 21:37:26 +0000 |
commit | 11f6af8c7b1aa84f602cec7258bdb6ef8d29851d (patch) | |
tree | a60d56d18dfd1b80f57e5bc99e3b1fc1c2999bfe /include/asterisk/localtime.h | |
parent | 34c07ddcafffa916f65e5f4b0e356e7b29e47b2d (diff) |
Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and
variable substitution. It should be possible to create phone profiles and
templates that work for the majority of phones provisioned over http. It
is currently only intended to provision a single user account per phone.
An example profile and set of templates for Polycom phones is provided.
NOTE: Polycom firmware is not included, but should be placed in
AST_DATA_DIR/phoneprov/configs to match up with the included templates.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97634 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/localtime.h')
-rw-r--r-- | include/asterisk/localtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h index 25dd92e34..dd92871e9 100644 --- a/include/asterisk/localtime.h +++ b/include/asterisk/localtime.h @@ -41,6 +41,7 @@ struct ast_tm { }; struct ast_tm *ast_localtime(const struct timeval *timep, struct ast_tm *p_tm, const char *zone); +void ast_get_dst_info(const time_t * const timep, int *dst_enabled, time_t *dst_start, time_t *dst_end, int *gmt_off, const char * const zone); struct timeval ast_mktime(struct ast_tm * const tmp, const char *zone); int ast_strftime(char *buf, size_t len, const char *format, const struct ast_tm *tm); |