[Freeswitch-users] time format

Tihomir Culjaga tculjaga at gmail.com
Tue Jun 1 06:39:22 PDT 2010


On Tue, Jun 1, 2010 at 1:49 PM, jay binks <jaybinks at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100601/d59009c0/attachment.html 


More information about the FreeSWITCH-users mailing list