From Issue #155March 2007
I'd recommend interfacing to the World Time Engine API.
You can check the timezone info that you're likely to get on the main website @ http://worldtimeengine.com.
It works a treat for one of our IVR services we've got running.
Calling people across time zones might prove to be inconveniencing to the receiving party, especially if it’s late at night or very early in the morning. This is an excellent article on how to make Asterisk redirect inbound callers to a message informing them that they are calling at inconvenient hours.
I find this article to be very useful and I think more articles like this can help us go deeper into Asterisk.
my thoughts ... a little bit more informations and i will be an "asterix-magican" :-) ok i´m far away from that but i´m willing to learn and linuxjournal is allways a good resource.
i agree with you schnäpel - linuxjournal is for me the ultimative ressource i only find here the stuff if searched for. excellent website i love it.
I hope linüx come number one
evden, i hope too :)
To Bruce Byfield: good article, thanks!
i hope not! there far to less software development to be number one.
Yes, Great article, I agree with this feature of asterisk seem cool, but I don't think it is very necessary.
Very cool use of Asterisk, but I might suggest a much simpler way of dealing with the problem:
Turn your cell phone off when you don't want people to call you on it. I recently went to Spain and took my GSM cell phone with me, but when I wasn't using it, I turned it off. That way no random calls waking me up in the middle of the night! Sure, it's not as cool as setting up Asterisk to tell callers you're in a different timezone, but for most people it makes a lot more sense.
I want my family to be able to contact me *anytime* while I'm not at home or work. I'll tolerate the occasional wrong number, or mis-calculated time zone difference, rather than cut myself off from my loved ones.
Another answer to that is to have 2 numbers, an unlisted one for family and other close people, and a listed one for everybody else. Have them both go through your Asterisk server, and through to your real phone. Disable accepting calls from the listed one when it's not convenient.
I agree with you that two numbers it's very good solutions, btw are there any cell phones with cover two sim cards at time?
Whether or not you agree with the method used to solve the original problem this solution does a great job of exploring what can be achieved by exploiting the AGI. Hopefully other readers will create equally alternative uses engaging the AGI. After all the purpose here is surely to expand the general awareness of what Asterisk can be made to do. Let's not knock someone down just because we don't agree with their reasoning for a given implementation.