[Asterisk-Users] change priority by time

Daniel Wright dw at wonderwave.net
Fri Dec 2 06:11:36 MST 2005


Alejandro Vargas wrote:
> I has varios access to pstn but each one has different hours in the
> day when the calls are free. Then I want to change the priority with
> the time of deay in order to make asterisk to prefer the one where the
> calls are free.
>
> Is there an easy way to do this? If there is not, I can place a script
> in cron, but what is the minumun change I must do from this script? Is
> there some command from the asterisk interface for doing the change on
> line without modificating the config files?
> --
> Alejandro Vargas
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>   
You can use GotoIf() to select different access depending on the time.  
Check out the documentation at

http://www.nufone.net/downloads/asteriskdocs/AsteriskTFOT.zip page 
123.                  or
http://www.voip-info.org/wiki-Asterisk+cmd+GotoIfTime        for more 
information.

Dan





More information about the asterisk-users mailing list