Answer the question
In order to leave comments, you need to log in
How to allow international calls only at certain times of the day in Asterisk?
For example, from 9 a.m. to 12 p.m.
So far, the following comes to mind: change the extension.conf file using cron and do dialplan reload in Asterisk. But maybe there are some built-in Asterisk tools?
Answer the question
In order to leave comments, you need to log in
you write some current hour to a variable,
you can get it like this www.voip-info.org/wiki/view/Asterisk+func+strftime
then comparing variables and GotoIf
www.voip-info.org/wiki/view/Asterisk+cmd+ will help you GotoIf
And depending on the condition - move to the desired label
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question