Hi,

Could you please send us your changes in gw/smsc/smsc_at.c ?
Thanks...
It may be the better way to do, as the process is slowing down only when
receiving DLR.

What i am triyng to do seems not to work as SR (Status Reports)  causes
the following :
<-- +CDSI: "SR",5
+CMTI incoming SMS indication: +CDSI: "SR",5
--> AT+CMGR=5^M
<-- +CMS ERROR: 321
CMS ERROR: +CMS ERROR: 321 (Invalid memory index -> don't worry, just
memory fragmentation.)
failed to get message 5.
CMTI notification received, but no message found in memory!

I think Kannel search in the "SM" memory instead of "SR" as the modem
tells ...

Thanks you...



-----Message d'origine-----
De : B. Indrawan [mailto:[EMAIL PROTECTED] 
Envoy� : mardi 22 f�vrier 2005 13:46
� : [EMAIL PROTECTED]; 'Kannel'
Objet : RE: Kannel with dlr and wavecom


Hi,

I got the same problem, I posted once before but no one response my
posting, and then I think only myself who got that pb :(.

Could you check, the problem appears when kannel sends a message and the
dlr's previous message is coming.

Because when kannel waiting for PDU message, it sends AT+CNMA (message
ack for incoming dlr). It's caused ' AT2[wavecom]: <-- ERROR '.

I modified file gw/smsc/smsc_at.c, so kannel locks sending message ack
(AT+CNMA) when the kannel is sending message, and the lock released
after kannel finishes sending the message, then message ack sent (if
there is a pending message ack).

It helps pretty enough, but I know C language not pretty well.

Anyone have better idea than mine? 

Thanks,
Indra.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of JML
Sent: Tuesday, February 22, 2005 7:00 PM
To: 'Kannel'
Subject: RE : Kannel with dlr and wavecom

Hi,
Encounter the exact same pb...with same config !
As far as the modem can't send more than almost 1SMS/5secondes, i added
a need-sleep = true And sendline-sleep = 3000. (3s) This for the moment
seems to work, but get pb with DLR return ID. You can add keepalive-cmd
= "AT+CMEE=1" 
It should tell you the exact error code (probably 515 : Please wait,
init or command processing in progress). In fact while the modem is
receiving a status report, kannel try to send a new SMS but get an error
becaus the modem is already working. Is it a bug ? Is it a malfunctiun ?
I think we need to rewrite the at driver, in order to analize the return
error code when occurs and in cas of 515 make a sleep or something like
that.

I am working on it, but if you get something new please tell me !!

Marco


-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
part de [EMAIL PROTECTED] Envoy� : mardi 22 f�vrier 2005 12:19 � :
Kannel Objet : Kannel with dlr and wavecom


Hello all,
I have recompiled Kannel 1.4 for dlr support with MySql, and configured
for use with Wavecom M1206B.

The system works well, when i send one sms:
 dlr table, on mysql server, is populated and i receive correctly dlr
responce. The problem is when i send more than one sms, dlr does not
work in deterministic way and kannel it answers with

2005-02-19 15:44:45 [11825] [7] DEBUG: AT2[wavecom]: <-- 2005-02-19
15:44:45 [11825] [7] DEBUG: AT2[wavecom]: <-- ERROR 2005-02-19 15:44:45
[11825] [7] ERROR: AT2[wavecom]: Error occurs: ERROR 
(error number not known to us. ask google and add it.)

I explain myself. I have developed a simple php page, based on kannel
examples, that, for a given number, send a determined number of
messages. I have tried to balance the number of messages per second
through the "throughput" variable of smsc group, but it seems to be
useless.

Finally i  have inserted a sleep function, of 15 seconds, between every
http get, in this manner the dlr works well, but the throupghput is
lowest.

Someone of you has faced and resolved the problem?
Can i send you configuration files and kannel debug info?

Thanks for your help,
 Nicola Provenzano













Reply via email to