|
Re: SQL query to generate CDR out of ACC logs: msg#00470voip.openser.user
something like that maybe ;) SELECT t1.from_uri as Caller, t1.to_uri as Callee, TIMEDIFF(t2.time, t1.time) as Duration, t1.time as CallDate FROM acc t1, acc t2 WHERE t1.sip_callid = t2.sip_callid AND ((t1.fromtag = t2.fromtag and t1.totag = t2.totag) OR (t1.fromtag = t2.totag and t1.totag = t2.fromtag)) AND t1.sip_method='ACK' AND t2.sip_method='BYE' order by t1.time desc Olivier Edson a écrit : You are right, these kind of thread is already been discussed.... ;) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: SQL query to generate CDR out of ACC logs: 00470, Edson |
|---|---|
| Next by Date: | Re: Forward SUBSCRIBER: 00470, Bogdan-Andrei Iancu |
| Previous by Thread: | RE: SQL query to generate CDR out of ACC logsi: 00470, Edson |
| Next by Thread: | Problems starting openser: 00470, BrOtHeR StRaiN |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |