VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
testeador01 at gmail.com Guest
|
Posted: Sat Jul 25, 2009 9:31 am Post subject: [Freeswitch-users] Command to get FreeSWITCH's internal time |
|
|
Hello everyone,
I'm using the inbound event socket to receive some information about the status of my FreeSWITCH system and i wanted to know if there is an api command that can be used to get the FreeSWITCH time, I tried searching around in the docs and in google but i couldn't find an answer. Thanks for your attention and thanks in advance if anyone can assist me with this.
Have a nice time and lots of cookies |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
|
Back to top |
|
|
raul at etellicom.com Guest
|
Posted: Sun Jul 26, 2009 11:31 am Post subject: [Freeswitch-users] Command to get FreeSWITCH's internal time |
|
|
Every event has a header 'Event-Date-Local', which has the local date
and time. If want to actively retrieve the date and time, you can send
this API request to the server: api strftime
Regards,
Raul
On Sat, 2009-07-25 at 09:20 -0500, Milena wrote:
Quote: | Hello everyone,
I'm using the inbound event socket to receive some information about
the status of my FreeSWITCH system and i wanted to know if there is an
api command that can be used to get the FreeSWITCH time, I tried
searching around in the docs and in google but i couldn't find an
answer. Thanks for your attention and thanks in advance if anyone can
assist me with this.
Have a nice time and lots of cookies
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
testeador01 at gmail.com Guest
|
Posted: Mon Jul 27, 2009 2:44 pm Post subject: [Freeswitch-users] Command to get FreeSWITCH's internal time |
|
|
Hello everyone,
strftime does what i want (now I can't figure out why didn't I see it before in the wiki page), thank you very much for your replies,
have a nice time
2009/7/26 Raul Fragoso <raul@etellicom.com (raul@etellicom.com)>
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|