RE: sms_dict problem

"Rene Kluwen" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
At this moment I am a little bit short in time.
But probably you are looking at a bug.

Rene Kluwen
Chimit

-----Original Message-----
From: [email protected] [mailto:[email protected]]On
Behalf Of francesco emmi
Sent: donderdag 22 juni 2006 19:29
To: kannel devel
Subject: sms_dict problem


Hi list,

I've start using sqlbox just now with latest cvs kannel version and I've
found a strange behavior in the store file mechanism.

Usually, without using sqlbox, when you send an sms with dlrmask=31
three sms are stored into sms_dict. The First is with sms_type=mt_push,
the second with sms_type=report_mo (it's ack from operator)  and the
third with sms_type=report_mo (when we get delivery notification from
operator).

The first sms is removed from sms_dict when receiving ack type 8 and
bb_smsconn_sent is called.

The other two are removed, as I've seen throw code,  when smsbox has
received their own dlr messages from bearerbox, has generated their own
acks (I mean msg with type=ack) and has forwarded them  to bearerbox.
Finally is called store_save_ack and messages are removed from sms_dict.

Ok....now the question. When using sqlbox the last two messages remain
in sms_dict and are never removed. This is because no ack is received by
bearerbox neither from smsbox nor from sqlbox.

Could be my fault, maybe due a misconfiguration...or is it a bug?

I've inserted sms into sqlbox with this query:
INSERT INTO send_sms set momt = 'MT', sender = 'mysql', receiver =
'348999999', msgdata = 'test0', sms_type = 2, dlr_mask = 31;

Hope that in spite of my bad english, I was able to point out the
question!

Thanks in advance 
Francesco



-- 



____________________________________________
Francesco Emmi
A-Tono
Largo Paisiello 5 - 95124 Catania
Tel.: (+39) 095 7365312
http: www.a-tono.com

Information in this email is confidential and may be privileged.
It is intended for the addresses only. If you have received it in error,
please notify the sender immediately and delete it from your system.
You should not otherwise copy it, retransmit it or use or disclose its
content to anyone.
Thank you for your co-operation.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.