Ejemplo n.º 1
0
func (c Monthly) PeerGetOutDispositionByMonthAndPeer(day string, peer string, tmp int) revel.Result {
	revel.TRACE.Printf("[Monthly Peer] Get outcalls disposition by month [%s] and peer [%s].\r\n", day, peer)
	results := mongo.GetPeerDispositionByMonth(day, "out", peer, c.MongoDatabase)
	return c.RenderJson(results)
}
Ejemplo n.º 2
0
func (c Monthly) PeerGetInDispositionByMonth(day string, tmp int) revel.Result {
	revel.TRACE.Printf("[Monthly Peer] Get incalls disposition by month [%s].\r\n", day)
	results := mongo.GetPeerDispositionByMonth(day, "in", "", c.MongoDatabase)
	return c.RenderJson(results)
}