I guess it's % (0x25) character handling issue at your operator's SMSC. Could you try to send a message with only '%' symbol included?
It looks strange because codes for '%' in GSM and latin charsets are equal. On Fri, 25 Mar 2005 15:56:34 +0530, Arun Gowda <[EMAIL PROTECTED]> wrote: > Hi, > I tried by URL encoding the special characters it did not help. I > still get the same error!!!!!!!!!! > I tried by sending this following message "Test message % after" > > # lynx --dump > "http://127.0.0.1:16016/cgi-bin/sendsms?username=XXXX&password=XXXXX&to=1234 > 56789000&from=test&text=%74%65%73%74+%6D%65%73%73%61%67%65+%25+%61%66%74%65% > 72" > > Log > 2005-03-25 15:49:14 [3839] [9] DEBUG: send_msg: sending msg to box: > <127.0.0.1> > 2005-03-25 15:49:14 [3839] [7] DEBUG: CIMD2[nokia]: sending message > 2005-03-25 15:49:14 [3839] [7] DEBUG: CIMD2[nokia]: sending <03:119 > 021:123456789000 027:test 056:0 055:0044:0 033:test > message % after 61> > 2005-03-25 15:49:14 [3839] [7] DEBUG: CIMD2[nokia]: received: <53:119 > 021:123456789000 900:302 00> > 2005-03-25 15:49:14 [3839] [7] ERROR: CIMD2[nokia]: Submit message response > contained error message: > 2005-03-25 15:49:14 [3839] [7] ERROR: code 302: Syntax error in user data > parameter > 2005-03-25 15:49:14 [3839] [1] DEBUG: Dumping 0 messages and 0 acks to store > > warm regards, > Arun > > -----Original Message----- > From: Dziugas Baltrunas [mailto:[EMAIL PROTECTED] > Sent: Friday, March 25, 2005 3:30 PM > To: Arun Gowda > Cc: devel@kannel.org; users@kannel.org > Subject: Re: Error in sending messages > > Hi, > > you should URL encode the text parameter as required by HTTP protocol. > Basicly change spaces to '+' and other special symbols to ther > equivalent %hexcode or use some function which does url encode. > > And please do not cross-post to the lists. This issue should have gone to > users. > > On Fri, 25 Mar 2005 14:41:09 +0530, Arun Gowda <[EMAIL PROTECTED]> wrote: > > > > > > Hi every one, > > > > We have connected to an operator SMSC through CIMD2 protocol > > using Kannel stable 1.4.0. > > > > This is a production environment and we are running this since six months > > without any problems. > > > > But from last week we are getting error messages from the SMSC when we > > submit any message having special characters. > > > > > > > > Here is the message and logs > > > > > > > > # lynx --dump > > > "http://127.0.0.1:16016/cgi-bin/sendsms?username=XXXX&password=XXXX&to=12345 > 6789000&from=test&text=INITIAL > > 04871426 UEM 845-620-6001 fhapps17 - FILESYSTEM opt-bmc FSCapacity greater > > tha n threshold. Threshold FSCapacity between 0 and 90%. Send At 23 33" > > > > > > > > Logs > > > > 2005-03-25 14:30:13 [27059] [9] DEBUG: boxc_receiver: sms received > > > > 2005-03-25 14:30:13 [27059] [9] DEBUG: send_msg: sending msg to box: > > <127.0.0.1> > > > > 2005-03-25 14:30:13 [27059] [7] DEBUG: CIMD2[nokia]: sending message > > > > 2005-03-25 14:30:13 [27059] [7] DEBUG: CIMD2[nokia]: sending <03:137 > > 021:123456789000 027:test 056:0 055:0044:0 033:INITIAL > > 04871426 UEM 845-620-6001 fhapps17 - FILESYSTEM opt-bmc FSCapacity greater > > tha n threshold. Threshold FSCapacity between 0 and 90%.%20Send At 23 33 > > > E3> > > > > 2005-03-25 14:30:13 [27059] [7] DEBUG: CIMD2[nokia]: received: <53:137 > > 021:123456789000 900:302 00> > > > > 2005-03-25 14:30:13 [27059] [7] ERROR: CIMD2[nokia]: Submit message > response > > contained error message: > > > > 2005-03-25 14:30:13 [27059] [7] ERROR: code 302: Syntax error in user data > > parameter > > > > 2005-03-25 14:30:13 [27059] [1] DEBUG: Dumping 0 messages and 0 acks to > > store > > > > 2005-03-25 14:30:19 [27059] [7] DEBUG: CIMD2[nokia]: sending <40:139 > 46> > > > > > > > > We were able to send the same messages a week before with out any problem. > > The operator says he has not done any changes in our account settings. > > > > > > > > Can any one suggest what has gone wrong here? > > > > > > > > warm regards, > > > > Arun > > -- > Dziugas > > -- Dziugas