Hi.
If I enable detailed-enough logs of OpenBSC I can get data regarding call and sms transactions:
new state INITIATED -> MO_CALL_PROC, 1 active transactions new state MO_CALL_PROC -> CONNECT_IND, 1 active transactions new state CONNECT_IND -> ACTIVE, 1 active transactions new state ACTIVE -> DISCONNECT_IND, 1 active transactions new state DISCONNECT_IND -> RELEASE_REQ, 1 active transactions new state RELEASE_REQ -> NULL, 0 active transactions
However there's no information regarding which mobile is participating in the transaction.
Is there some way to get CDR-like data from OpenBSC? Smth like imsi=123 call_to 35345345 duration 12 imsi=53 sms_from 234234 ...
cheers, Max.
Max,
You can connect it to FreeSWITCH or any other VoIP PBX and generate logs of pretty much any format.
Please excuse typos. Written with a touchscreen keyboard.
-- Regards, Alexander Chemeris CEO Fairwaves, Inc. https://fairwaves.co On Nov 2, 2015 14:27, "Suraev" suraev@alumni.ntnu.no wrote:
Hi.
If I enable detailed-enough logs of OpenBSC I can get data regarding call and sms transactions:
new state INITIATED -> MO_CALL_PROC, 1 active transactions new state MO_CALL_PROC -> CONNECT_IND, 1 active transactions new state CONNECT_IND -> ACTIVE, 1 active transactions new state ACTIVE -> DISCONNECT_IND, 1 active transactions new state DISCONNECT_IND -> RELEASE_REQ, 1 active transactions new state RELEASE_REQ -> NULL, 0 active transactions
However there's no information regarding which mobile is participating in the transaction.
Is there some way to get CDR-like data from OpenBSC? Smth like imsi=123 call_to 35345345 duration 12 imsi=53 sms_from 234234 ...
cheers, Max.
I've hoped to skip this extra step :-)
04.11.2015 09:20, Alexander Chemeris пишет:
Max,
You can connect it to FreeSWITCH or any other VoIP PBX and generate logs of pretty much any format.
Please excuse typos. Written with a touchscreen keyboard.
-- Regards, Alexander Chemeris CEO Fairwaves, Inc. https://fairwaves.co
On Nov 2, 2015 14:27, "Suraev" <suraev@alumni.ntnu.no mailto:suraev@alumni.ntnu.no> wrote:
Hi. If I enable detailed-enough logs of OpenBSC I can get data regarding call and sms transactions: new state INITIATED -> MO_CALL_PROC, 1 active transactions new state MO_CALL_PROC -> CONNECT_IND, 1 active transactions new state CONNECT_IND -> ACTIVE, 1 active transactions new state ACTIVE -> DISCONNECT_IND, 1 active transactions new state DISCONNECT_IND -> RELEASE_REQ, 1 active transactions new state RELEASE_REQ -> NULL, 0 active transactions However there's no information regarding which mobile is participating in the transaction. Is there some way to get CDR-like data from OpenBSC? Smth like imsi=123 call_to 35345345 duration 12 imsi=53 sms_from 234234 ... cheers, Max.
On 04 Nov 2015, at 10:58, Suraev suraev@alumni.ntnu.no wrote:
I've hoped to skip this extra step :-)
Have a look at the SGSN, then look at the BCSM for camel and then add signals during the call for the BCSM state changes and finally you can write a CDR module that will register to these events and do the logging. :)
holger
That's the most compelling argument for installing SIP server I've ever heard :-D
04.11.2015 11:14, Holger Freyther пишет:
On 04 Nov 2015, at 10:58, Suraev suraev@alumni.ntnu.no wrote:
I've hoped to skip this extra step :-)
Have a look at the SGSN, then look at the BCSM for camel and then add signals during the call for the BCSM state changes and finally you can write a CDR module that will register to these events and do the logging. :)
holger
On Wed, Nov 04, 2015 at 01:54:39PM +0100, Suraev wrote:
That's the most compelling argument for installing SIP server I've ever heard :-D
well, if you prefer to do that than to contribute some lines of code for the benefit of you and every other user, that's your decision to make.
Grasping camel will take orders of magnitude more time than getting logs out of SIP server. Sadly, I'm time-constrained with regards to this feature.
05.11.2015 10:06, Harald Welte пишет:
On Wed, Nov 04, 2015 at 01:54:39PM +0100, Suraev wrote:
That's the most compelling argument for installing SIP server I've ever heard :-D
well, if you prefer to do that than to contribute some lines of code for the benefit of you and every other user, that's your decision to make.