Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
MediaSense (MediaSense) Developer Center
Overview
Documentation
Community
Wiki
MediaSense Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Technical Discussion
rare date response
Threads [
Previous
|
Next
]
rare date response
Cesar Arguello
2/3/12 8:09 PM
RE: rare date response
Jeffrey Wolfeld
2/3/12 7:35 PM
RE: rare date response
Cesar Arguello
2/3/12 8:07 PM
Cesar Arguello
Posts:
12
Join Date:
12/15/11
Recent Posts
rare date response
resolved
Answer
2/3/12 8:09 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I get a rare response from mediasense api.
in date tag obtain this 1328282249810 (Wed, 03 Aug 44061 03:36:50 GMT) this is the unix time but the real date is 1328282249 (Fri, 03 Feb 2012 15:17:29 GMT) however media sense add the last three number 810.
This event also occurs on the length were each session.
my question is
why mediasense add that last three digits to real unix time?
add response from mediasense api
=> Success: Your request was successfully completed.
=> 2000
=> stdClass Object
(
=> Array
(
[0] => stdClass Object
(
=> Array
(
)
=> CLOSED_NORMAL
=> db13543caa8341
=> stdClass Object
(
=> rtsp://172.30.199.31/archive/db13543caa8341
)
=>
1328282249
810
=> Array
(
[0] => stdClass Object
(
=> 1328282249810
=>
35
494
=> http://172.30.199.31:8081/ExportRaw?recording=db13543caa8341-TRACK1
=> 1
=> AUDIO
=> Array
(
[0] => stdClass Object
(
[participantStartDate] => 1328282249810
=> 087308476
=>
=> 27096124
[participantDuration] =>
35494
=> CUCM-Altus
)
)
)
[1] => stdClass Object
(
=>
1328282249
810
=>
35494
=> http://172.30.199.31:8081/ExportRaw?recording=db13543caa8341-TRACK0
=> 0
=> AUDIO
=> Array
(
[0] => stdClass Object
(
[participantStartDate] => 1328282249810
=> 1071
=>
=> 27096123
[participantDuration] =>
35494
=> SEP001E138C7E00
)
)
)
)
=>
35494
)
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Jeffrey Wolfeld
Posts:
5
Join Date:
7/11/08
Recent Posts
RE: rare date response
Answer
2/3/12 7:35 PM as a reply to Cesar Arguello.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
All MediaSense times, both absolute timestamps as well as durations, are in
milliseconds
, not seconds. Most Unix date conversion web sites assume you are entering the time in seconds, so if you use one of those sites to convert, you will always need to remove the last three digits.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Cesar Arguello
Posts:
12
Join Date:
12/15/11
Recent Posts
RE: rare date response
Answer
2/3/12 8:07 PM as a reply to Cesar Arguello.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
thanks a lot...
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Documentation
Community
Wiki
Search CDN
Go
By API/SDK:
Select an API
Application eXtension Platform (AXP)
Network Management - Active Network Abstraction (ANA)
Network Management - IP Solution Center (ISC)
Network Management - Network Analysis Module (NAM)
Network Management - Cisco Transport Manager (CTM)
Network Management - Managed Services Management Solution (MSMS)
Cisco Headset/Handset API
Cisco Unified Application Environment (CUAE)
Cisco Unified CM Administration XML (AXL)
Cisco Unified CM Call Detail Records (CDR)
Cisco Unified CM Extension Mobility API
Cisco Unified CM JTAPI (JTAPI)
Cisco Unified CM Log Collection
Cisco Unified CM Performance Monitoring
Cisco Unified CM Real-time Device & CTI Information
Cisco Unified CM Service Control
Cisco Unified CM Servicability XML
Cisco Unified CM SIP (SIP)
Cisco Unified CM SNMP/MIB
Cisco Unified CM TAPI (TAPI)
Cisco Unified CM Web Dialer (WebDialer)
Cisco Unified Communication Express Services Interface
Cisco Unified Presence (CUP)
Cisco Unified TCL IVR/Voice XML API
Cisco Unified Gatekeeper TMP API (GKTMPAPI)
Cisco Unity Connection Provisioning Interface (CUPI)
Cisco Unity Connection Messaging Interface (CUMI)
Computer Telephony Integration (CTI) Server C-API
Computer Telephony Integration (CTI) Server Protocol (GED 188)
Computer Telephony Integration (CTI) Object Server
Contact Center Enterprise/Hosted/ICM IVR PG Protocol (GED-125)
Contact Center Reporting (CCR)
Contact Center TCL IVR/Voice XML API
Customer Voice Portal (CVP)
Enterprise Contact Center Scripting (ECCS)
Enterprise Application Gateway Protocol (AGP)
Hardware eXtension Platform (HXP)
IP Phone Services (IPPS)
Mobility – Cisco Compatible Extensions Program
Mobility – Context-Aware Mobility(Location)
Mobility – Guest Access (GAP)
Mobility – Solution Verification
Meetingplace SOAP API (MPSA)
Smart Business Portal (SBP)
Unified Contact Center Express CTI (UCCXCTI)
WebEx - Connect
WebEx - Meeting Services