I guess you have a sms-service group with a line like the following:
exec="/usr/local/bin/kannel_incoming %p %a"
Try replacing that line (or similar, I hope you get the idea) by the
following:
exec="/usr/local/bin/kannel_incoming %p '%a'"
On Wednesday 13 September 2006 14:44, Yudi Wijaya wrote:
> Hello users,
>
> i tried send a sms from my cellphone to my sms gateway (kannel) use
> GSM Modem iTegno 3000.
>
> the message is:
> (test)
>
> I already ask some friends that use kannel as their sms gateway and
> same problem, kannel can not save the message (ex: to the database),
> it's not database problem.. i believe it's kannel problem.
> So, what is the problem? i'm sure the problem is with character "(" or
> ")" without quotes. So, if there is sms with those characters inside,
> you'll not receive that sms.
>
> This is the error message in kannel status:
>
> sh: -c: line 1: syntax error near unexpected token `('
> sh -c: line 1: `/usr/local/bin/kannel_incoming 2006-09-13+01:21:05
> %2Bcellphone_number (test)'
>
> as you see there is (test) in error message, i don't know what's wrong
> with this.. it seem the GSM modem already receive the SMS, but kannel
> can not read/recoqnize the message, because there is "(" or ")".
> actually i haven't tried other characters.. maybe there is problem
> with other characters and maybe not.
>
> FYI, i use debian 3.1 and gateway-1.4.0.tar.gz
>
> can you test with your kannel, send a sms to kannel with message:
> (test)
> can you receive the sms (ex: save it to database, file, etc)?
>
> do you have any solution of this problem?
> this really serious problem, because right now my company use kannel
> for business communication. I believe there are a lot of sms not saved
> to database because the message contains those characters or maybe
> other characters.