On Tue, Jun 1, 2010 at 1:49 PM, jay binks <jaybinks@gmail.com> wrote:
my hint : 
how / what are you trying to do this in ??

LUA, PHP, PERL, C# ?

a little bit more info would help.

J
ahhh sorry, forgot to mention ..

im trying to do it in dialplan ....


i have a channel variable holding the time


e.g.:


<action application="set" data="credit_time=405"/>

<action application="phrase" data="timeleft,${credit_time}"/>



phrase for timeleft expects hh:mm:ss time format ....


any clue?