Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Operator » Improve API for recorded calls
  •  
gabrielbraga

Messages: 16
Karma: 3
Send a private message to this user
I'm needing the name of all columns existing in the table of recorded calls because the only existing example of API informs the caller, the calling and duration of the call, I need to filter by date and time.

I need that the manager of contact center could navigate trough the recorded calls easily and find the one he wants.
  •  
Filip Jenicek (Kerio)

Messages: 1094
Karma: 80
Send a private message to this user
Hi,

here you go.

Filip

	string ID;
	string NAME;
	string EXTENSION;
	long EXTENSION_TYPE_ID;
	string CALLER_ID;
	boolean IS_BEING_RECORDED; ///< - true when the recording has not finished
	long STARTED; ///< - unix timestamp
	long DURATION; ///< - length in seconds
	long FILE_SIZE; ///< - in bytes

  •  
gabrielbraga

Messages: 16
Karma: 3
Send a private message to this user
How do I convert this unix timestamp?

I already tried
$date = date("Y-m-d H:i:s", $record['STARTED']);

But shows me only 2014 as result ...
  •  
Filip Jenicek (Kerio)

Messages: 1094
Karma: 80
Send a private message to this user
That should work just fine.
Previous Topic: Kerio API for Call Queue
Next Topic: Music on Hold for Conference
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Tue Aug 22 09:02:58 CEST 2017

Total time taken to generate the page: 0.00437 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.