-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDR Enhancements - detailed CDRs #216
Comments
Hello @satanatoly I have a short look for https://github.com/satanatoly/smscgateway/commit/2833df266f43fe6225936c537967124eb9a66845 My comments:
|
vetss
pushed a commit
to vetss/smscgateway
that referenced
this issue
Jul 4, 2017
vetss
pushed a commit
to vetss/smscgateway
that referenced
this issue
Jul 4, 2017
vetss
pushed a commit
to vetss/smscgateway
that referenced
this issue
Jul 4, 2017
satanatoly
added a commit
that referenced
this issue
Jul 11, 2017
satanatoly
added a commit
that referenced
this issue
Jul 17, 2017
satanatoly
added a commit
that referenced
this issue
Jul 18, 2017
satanatoly
added a commit
that referenced
this issue
Jul 24, 2017
satanatoly
added a commit
that referenced
this issue
Jul 24, 2017
satanatoly
added a commit
that referenced
this issue
Jul 24, 2017
…o false and configuring respective simulator profile smsc settings to true
satanatoly
added a commit
that referenced
this issue
Jul 24, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A suggested list of fields :
a) Out SMPP response value (for out_smpp_rejected case - received non zero smpp response code when message sending, 0 for other cases)
b) In SMPP response value (for in_smpp_reject_* cases - sent non zero smpp response code when message receiving, 0 for other cases)
c) In HTTP response code (for in_http_reject_* cases - sent non zero http response code when a http response sending (code in the message body), 0 for other cases)
Below is a definition for fields values:
** Event types:
a) “In” (a result of message receiving) - we cover only smpp and http sides this step
in_smpp_received (a message is accepted from smpp connector)
in_smpp_reject_forbidden (smpp msg is rejected - reason: administrative reasons - SMSC is stopped or paused, cassandra database is not available, all messages from SMPP connector or a concrete ESME are forbidden)
in_smpp_reject_cong (smpp msg is rejected - reason: congestion at SMSC GW level or for a customer limitation)
in_smpp_reject_diameter (smpp msg is rejected - reason: rejection by a diameter server - ChargingSbb !!!)
in_smpp_reject_mproc (smpp msg is rejected - reason: rejection by mprov rules)
in_smpp_drop_mproc (smpp msg is dropped (OK result was sent to a sender but a message is dropped) - reason: rejection by mprov rules)
in_smpp_error (a message receiving failed for other reasons)
in_http_received (a message is accepted from http connector)
in_http_reject_forbidden (http msg is rejected - reason: administrative reasons - SMSC is stopped or paused, cassandra database is not available, all messages from HTTP connector are forbidden)
in_http_reject_cong (http msg is rejected - reason: congestion at SMSC GW level or for a customer limitation)
in_http_reject_diameter (http msg is rejected - reason: rejection by a diameter server - ChargingSbb !!!)
in_http_reject_mproc (http msg is rejected - reason: rejection by mprov rules)
in_http_drop_mproc (http msg is dropped (OK result was sent to a sender but a message is dropped) - reason: rejection by mprov rules)
in_http_error (a message receiving failed for other reasons)
b) “Out” (a result of message sending) - we cover only smpp side this step
out_smpp_sent (smpp: a message is successfully sent)
out_smpp_rejected (smpp: received non zero smpp response code when message sending)
out_smpp_error (smpp: error in a sending process for example a channel error)
out_smpp_timout (smpp: no response from a peer intime may be because of connection problems or peer malfunction, delivery timeout case included)
validiy_period_timeout (a message has not sent because of validity period timeout)
** ErrorCode:
From org.mobicents.smsc.library.ErrorCode.
We have error codes for all delivery parts. We need to add error codes for rejecting at an incoming step and internal rejecting by mproc rules (new values will be added from number 229).
** MessageType:
SubmitSm
SubmitMulti
DeliverSm
DataSm
Http
** Timestamp A :
IN: The time the message is successfully decoded
OUT: The time the message is received for sending
** Timestamp B :
IN: The timestamp taken immediately after sending of the response
OUT: Immediately after sending of the request
** Timestamp C :
IN: The timestamp taken immediately after submission for further processing
OUT: the time the message response is successfully decoded
This cdr logging will be put in a separate file “*.dcdr” (dcdr == detailed CDRs).
This logging is turned off by default. Configuring by:
GUI: “SMSC Gateway Server Settings - CDR - Generate detailed CDRs“
CLI: smsc set generateredcdr false
Testing:
Testing of a live system - checking generated CDRs for ALL described before cases including of checking values of fields
performance testing to see the impact of counters and potentially batch on the CI env performance job
The text was updated successfully, but these errors were encountered: