Hi All,
Hope your all doing well, I have the following warning in my logs,
2009-03-04 16:45:56 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<62>sec. ago, SEQ<11674>,
DST<+999999999999>
2009-03-04 16:47:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<88>sec. ago, SEQ<11684>,
DST<+988888888888>
2009-03-04 16:47:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<88>sec. ago, SEQ<11685>,
DST<+999999999999>
2009-03-04 16:47:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<88>sec. ago, SEQ<11686>,
DST<+999999999999>
2009-03-04 16:47:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<88>sec. ago, SEQ<11682>,
DST<+999999999999>
2009-03-04 16:47:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<88>sec. ago, SEQ<11683>,
DST<+988888888888>
2009-03-04 16:48:54 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<90>sec. ago, SEQ<11693>,
DST<+999999999999>
2009-03-04 16:48:54 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<89>sec. ago, SEQ<11694>,
DST<+999999999999>
2009-03-04 16:48:54 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<89>sec. ago, SEQ<11695>,
DST<+988888888888>
2009-03-04 16:48:54 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<90>sec. ago, SEQ<11691>,
DST<+988888888888>
2009-03-04 16:48:54 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<90>sec. ago, SEQ<11692>,
DST<+999999999999>
2009-03-04 16:50:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<90>sec. ago, SEQ<11701>,
DST<+988888888888>
2009-03-04 16:50:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<90>sec. ago, SEQ<11702>,
DST<+988888888888>
2009-03-04 16:50:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<89>sec. ago, SEQ<11703>,
DST<+999999999999>
2009-03-04 16:50:24 [2825] [14] WARNING: SMPP[MT_CONNICTION]: Not ACKED
message found, will retransmit. SENT<90>sec. ago, SEQ<11699>,
DST<+999999999999>
some users like the user +999999999999, received the SMS 2 times and every
time he is billed, I search about the problem and I found the following
code:
case SMPP_WAITACK_REQUEUE: /* requeue */
smpp_msg = dict_remove(smpp->sent_msgs, key);
if (smpp_msg != NULL) {
warning(0, "SMPP[%s]: Not ACKED message found, will retransmit."
" SENT<%ld>sec. ago, SEQ<%s>, DST<%s>",
octstr_get_cstr(smpp->conn->id),
(long)difftime(now, smpp_msg->sent_time) ,
octstr_get_cstr(key),
octstr_get_cstr(smpp_msg->msg->sms.receiver));
bb_smscconn_send_failed(smpp->conn, smpp_msg->msg,
SMSCCONN_FAILED_TEMPORARILY,NULL);
smpp_msg_destroy(smpp_msg, 0);
(*pending_submits)--;
}
As I understand from the code that the connection was down so kannel
requeue the SMS, is that right? and how can I be sure that the user will
get the SMS only one time? please advice.
BR,
Hafez