Time zone adaption for Asterisk
VoIP IP Telephony @ http://snapvoip.blogspot.com
Matthew Gast over at Linux Journal (a magazine that I have read from the first issue, I still have the first issue!) has written an excellent article on time Zone adaption for Asterisk. (May be for other systems that are based on Asterisk).
The system Matthew built on top of Asterisk to handle time zone feature has two major parts. The key to the system is maintaining a time-zone offset from the time in London. (His code implements offsets only of whole hours, though it could be extended to use either half or quarter hours.) When a device first connects to Asterisk, its IP address is used to guess the location and, therefore, the time offset. After the offset is programmed into the system, incoming calls are then checked against the time at the remote location. Before the phone is allowed to ring, the time at the remote location is checked, and callers can be warned if they are trying to complete a call at an inconvenient time.
The currently published part one of the paper carries one through four sections;
Step 1: Estimating the Time Zone
Step 2: Confirming the Time-Zone Information
Step 3: Letting Callers Know the Time
Step 4: Using The Project
These steps includes a lot of information and the code that is used in each step is provided as a single tar file so one could get started right away.
Links;
Time Zone adaption for Asterisk, article and resources
0 comments:
Post a Comment