Hi all,

I still have my random accents problem when sending my SMS, and I think I've 
found the circumstances in wich it appends : it's when kannel is requeuing the 
sms.

For all SMS received without accents, I found in my kannel log that the sms 
have been sent a first time with correct PDU (I mean if I decode the PDU, I've 
got my accents) but as modem was not available, ("send command status : -1" in 
the log ) Kannel is requeing the sms and when the sms is sent (with success) 
for the second time, the PDU I've in the log doesn't contain anymore accent.

Does anyone know how work the requeing process ? 

I've try to inspect the source code and found that smsc_at.c was calling this 
function

bb_smscconn_send_failed(privdata->conn, msg,
                        SMSCCONN_FAILED_TEMPORARILY, octstr_create("ERROR"));

then this function in bb_smscconn.c is calling the following function :





________________________________
De : Bertrand Dupont <[email protected]>
À : KANNEL <[email protected]>
Envoyé le : Mercredi 28 Septembre 2011 17h29
Objet : random charset in kannel ?


Hi all,

I've the following issue on my kannel sending sms throught modem.
Accents are randomly replaced by question tag "?" in the sms received.

The thing that is strange, is that my script submiting sms to the kannel is 
doing exactly the same thing for each sms. (I've check it in my script log).
Also, I'm providing "&charset=ISO-8859-1" on the submit url for each message, 
and in the kannel.conf  I've the following line :

alt-charset = ISO-8859-1

The thing that is strange is that about 9% of sms sent are received with accent 
replaced by "?", for the other 91% sms are received correctly with accent.

I've made a test : submit 200 sms with quite exactly the same message on the 
same phone number :
"test 1 éèà"
"test 2 éèà"
"test 3 éèà"
...etc

And I received 18 sms with 
"test 90 ???" 
instead of 
"test 90 éèà".

Does anyone already face this random problem ?

Regards,
Bertrand

Reply via email to