Re: Kannel and one phone number produce 500 code error

2012-01-24 Thread Knut Olafson
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be
 resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00
 secs.
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: gwlist_len = 1
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be
 resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be
 resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00
 secs.
 any ideea way? i have try everthing and is not working
 
 Willy Mularto
 F300HD+MR18DE (NLC1725)
 
 
 
 
 
 
 
 
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Kannel-and-one-phone-number-produce-500-code-error-tp33112878p33194002.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Kannel and one phone number produce 500 code error

2012-01-24 Thread Knut Olafson
 in Kannel - just need to initialize modem in
proper way: 
AT+CMGF=0 (work in PDU mode) 
AT+CSCS=UCS2 (using Hex) 
AT+CMGS=25 (calculated for every particular message, in our case calculated
by Kannel) 
xx (calculated by Kannel, containing among other things SMS
Center number and text of SMS message) 

So, I need to add AT+CMGF=0 and AT+CSCS=UCS2 withing init-string of my
Huawei E220 modem. 
Till this moment, my initial script line in kannel.conf was: 
init-string = AT+CNMI=2,1,2,2,0;+CMEE=1 

Now, when I add to above line: +CMGF=0; +CSCS=UCS2 
init-string = AT+CNMI=2,1,2,2,0;+CMEE=1;+CMGF=0;+CSCS=UCS2 

I have an error in bearerbox log file - ERROR: Initialization error 

I supose I am making mistake in sintax of init-string = ... 

Any help will save me days of google-ing   
-- 
View this message in context: 
http://old.nabble.com/Kannel-and-one-phone-number-produce-500-code-error-tp33112878p33194088.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Kannel and one phone number produce 500 code error

2012-01-23 Thread Knut Olafson

Regarding this comment that there is something relevant on this forum I have
found just this link:

http://old.nabble.com/Kannel-can-not-send-sms-tc32930548.html#a32930548

but there is no help or solution for this problem. 

I have exact the same problem... Having no hep on this, I have upgraded to
Kannel 1.5.0 version and problem persists.

On Google there is some comments but I can't find anything usefull. The most
frequent comment is to check SIM card if it is full, and to check if you
have enough credits on your SIM card. Both of this problems I don't have...
.but still getting CMS ERROR 500.

I have found an BUG Report on Kannel's web site, regarding this problem,
posted more that a year ago. But, if it is treated as bug it would be
resolved by now So, I have concluded that developers treat this as NOT a
bug.

In futher, analyzing log files myself, I have concluded that using URL for
sending SMS the request is getting to smsbox and it processes request to
bearerbox which cannot send that SMS (for Unknown reason) and put the
message in queue. After that, bearerbox in cycle of 60sec trying to resend
that message endlessly...



Willy Mularto-2 wrote:
 
 please check google and or the archive ;)
 
 
 
 
 On Jan 10, 2012, at 4:17 PM, Zaharia Constantin wrote:
 
  
  hy, i have this config   http://bin.cakephp.org/view/1699351229 and is
 working just fine for all the numbers on both modems, but when i try to
 send a message to this number 0729827318 i get this error:
 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: -- +CPMS:
 SM,0,40,SM,0,40,SM,0,40
 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: -- OK
 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT^M
 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- OK
 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CPMS?^M
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- +CPMS:
 SM,0,10,SM,0,10,SM,0,10
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- OK
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]:
 TP-Validity-Period: 24.0 hours
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: --
 AT+CMGS=18^M
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command
 status: 1
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: --
 0011000A817092283781A705F4F29C5E06
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- ^Z
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 
 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- +CMS
 ERROR: 500
 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR:
 +CMS ERROR: 500
 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: An
 unknown error occurred (500)
 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command
 status: 1
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00
 secs.
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: gwlist_len = 1
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00
 secs.
 any ideea way? i have try everthing and is not working
 
 Willy Mularto
 F300HD+MR18DE (NLC1725)
 
 
 
 
 
 
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Kannel-and-one-phone-number-produce-500-code-error-tp33112878p33188132.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Kannel and one phone number produce 500 code error

2012-01-10 Thread Zaharia Constantin
  

 hy, i have this config http://bin.cakephp.org/view/1699351229 [1]
and is working just fine for all the numbers on both modems, but when i
try to send a message to this number 0729827318 i get this error:


2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: ^Z
 2012-01-10
11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 
 2012-01-10 11:11:29
[3708] [7] DEBUG: AT2[vodafone_SMSC]:

any ideea way? i have try
everthing and is not working
  

Links:
--
[1]
http://bin.cakephp.org/view/1699351229


Re: Kannel and one phone number produce 500 code error

2012-01-10 Thread Willy Mularto
please check google and or the archive ;)




On Jan 10, 2012, at 4:17 PM, Zaharia Constantin wrote:

  
  hy, i have this config   http://bin.cakephp.org/view/1699351229 and is 
 working just fine for all the numbers on both modems, but when i try to send 
 a message to this number 0729827318 i get this error:
 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: -- +CPMS: 
 SM,0,40,SM,0,40,SM,0,40
 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: -- OK
 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT^M
 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- OK
 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CPMS?^M
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- +CPMS: 
 SM,0,10,SM,0,10,SM,0,10
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- OK
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 
 TP-Validity-Period: 24.0 hours
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CMGS=18^M
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command 
 status: 1
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 
 0011000A817092283781A705F4F29C5E06
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- ^Z
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 
 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- +CMS ERROR: 500
 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: +CMS 
 ERROR: 500
 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: An 
 unknown error occurred (500)
 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command 
 status: 1
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message 
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message 
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00 secs.
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: gwlist_len = 1
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message 
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message 
 (0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00 secs.
 any ideea way? i have try everthing and is not working

Willy Mularto
F300HD+MR18DE (NLC1725)











Re: Kannel and one phone number produce 500 code error

2012-01-10 Thread Zaharia Constantin
  

what to check? 

On Tue, 10 Jan 2012 16:50:20 +0700, Willy Mularto
wrote: 

 please check google and or the archive ;) 
 
 On Jan 10,
2012, at 4:17 PM, Zaharia Constantin wrote: 
 
 hy, i have this
config http://bin.cakephp.org/view/1699351229 [1] and is working just
fine for all the numbers on both modems, but when i try to send a
message to this number 0729827318 i get this error:
 
 2012-01-10
11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: 2012-01-10 11:11:25 [3708]
[6] DEBUG: AT2[cosmote_SMSC]: 2012-01-10 11:11:26 [3708] [7] DEBUG:
AT2[vodafone_SMSC]: -- AT^M
 2012-01-10 11:11:26 [3708] [7] DEBUG:
AT2[vodafone_SMSC]: 2012-01-10 11:11:26 [3708] [7] DEBUG:
AT2[vodafone_SMSC]: -- AT+CPMS?^M
 2012-01-10 11:11:27 [3708] [7]
DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:27 [3708] [7] DEBUG:
AT2[vodafone_SMSC]: 2012-01-10 11:11:27 [3708] [7] DEBUG:
AT2[vodafone_SMSC]: TP-Validity-Period: 24.0 hours
 2012-01-10
11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CMGS=18^M

2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 

2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command
status: 1
 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]:
-- 0011000A817092283781A705F4F29C5E06
 2012-01-10 11:11:27
[3708] [7] DEBUG: AT2[vodafone_SMSC]: -- ^Z
 2012-01-10 11:11:27
[3708] [7] DEBUG: AT2[vodafone_SMSC]: 
 2012-01-10 11:11:29 [3708]
[7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:29 [3708] [7] ERROR:
AT2[vodafone_SMSC]: +CMS ERROR: +CMS ERROR: 500
 2012-01-10 11:11:29
[3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: An unknown error
occurred (500)
 2012-01-10 11:11:29 [3708] [7] DEBUG:
AT2[vodafone_SMSC]: send command status: 1
 2012-01-10 11:11:29
[3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs
0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS
not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8] DEBUG:
sms_router: handling message (0x8d215e0 vs 0x8d215e0)
 2012-01-10
11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent

2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00
secs.
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: gwlist_len =
1
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message
(0x8d215e0 vs 0x8d215e0)
 2012-01-10 11:11:29 [3708] [8] DEBUG:
re-queing SMS not-yet-to-be resent
 2012-01-10 11:11:29 [3708] [8]
DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0)

2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be
resent
 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to
sleep 30.00 secs.
 
 any ideea way? i have try everthing and is not
working
 
 Willy Mularto 
 F300HD+MR18DE (NLC1725)

-- 

 


Links:
--
[1] http://bin.cakephp.org/view/1699351229