Open vindir opened 11 years ago
For which versions of Asterisk does the old behaviour not work?
In Asterisk 1.8+ the default format will be used if no format is specified. I think it's better to not send the format (as opposed to sending '') rather than override a default here.
Hey Ben, the asterisk version in question is the default install on Rackspace's image of Ubuntu 12.04.
We could have the application to force a default on the timezone, but this error fails silently and it's on a pretty common distribution. If you'd rather not force a default still, is there some way we can track success/failure on sayunixtime calls to give some feedback to the user?
I agree with @benlangfeld about not supplying a default format. If the format isn't specified, we should simply not send the empty commas.
...isk versions won't handle dangling nil arguments.