Hi Stefan, very cool, thanks for the hint. To which coding value have you set the sms in the send_sms table ? text sms should be most of the time as coding=0, while binary sms (like concatenated) should go as coding=1 Which one were you using ? I suppose coding=0 (as it could be by default using the smsbox)
Julien 2009/6/16 Stefan Mada <[email protected]>: > Hi all > > when I tried to send long message (over 160 chars) by inserting into > send_sms table, message was corrupted or wasn't delivered. The same message > sent by http call was delivered. Problem was in coding value. While I send > message by http request without coding value set, kannel set it by default > to 0. The same data inserted into send_sms, without coding value set (no > default value for coding field in table set, so null value set), after > insert was message processed by sqlbox/kannel and coding was set to 4 (value > from log files). So solution is to set default value in send_sms table or > while inserting into send_sms table fill coding field too. > > May be it will help to someone. > > Sincerely, > Stefan -- Julien Buratto
