Re: users Digest, Vol 65, Issue 18

2012-01-12 Thread Zaharia Constantin
  

i am using the same syntax to send messages that you are show
below, and the same syntax that i have used before i reinstall kannel on
the new server 

On Thu, 12 Jan 2012 21:06:33 +0100,
users-requ...@kannel.org wrote: 

 Hello.
 
 I think that you have
not used the right parameters.Try this in your case.
 

http://127.0.0.1:9000/cgi-bin/sendsms?username=foobarpassword=foobarto=xxxtext=test
[1]

-- 

  

Links:
--
[1]
http://127.0.0.1:13013/cgi-bin/sendsms?username=kannel|+|amp|+|password=hard2guess|+|amp|+|to=9486987049|+|amp|+|text=This+msg+is+sent+from+saga%27s+computer+with+kannel+please+reply+back+if+u+received+it


Authorization failed for sendsms error when i try from browser

2012-01-11 Thread Zaharia Constantin
  

hi, i get this error message when i try to send a message from
browser. 

Authorization failed for sendsms the user name and the
password are right, the ip for that request is ok, but still i get this
error, any ideea way? 

this is the kannel info: 

Kannel bearerbox
version `1.4.3'. Build `May 19 2011 22:12:12', compiler `4.6.1'. System
Linux, release 3.0.0-14-generic-pae, version #23-Ubuntu SMP Mon Nov 21
22:07:10 UTC 2011, machine i686. Hostname Server, IP 127.0.1.1. Libxml
version 2.7.8. Using OpenSSL 1.0.0d 8 Feb 2011. Compiled with MySQL
5.1.54, using MySQL 5.1.58. Using SQLite 3.7.4. Using native malloc.


anyone have any idea? 

  

Re: Authorization failed for sendsms error when i try from browser

2012-01-11 Thread Zaharia Constantin
  

this is the config file... 

 # CORE
 group = core
 admin-port =
13000
 admin-password = foobar # this is the admin password

status-password = foobar #this is the admin password
 #admin-deny-ip =
*.*.*.*
 admin-allow-ip = 127.0.0.1;192.168.1.*
 smsbox-port =
13001
 #box-deny-ip = *.*.*.*
 box-allow-ip = *.*.*.*

#box-allow-ip = 127.0.0.1;192.168.1.*
 log-file =
/var/log/kannel/kannel.log
 log-level = 0
 access-log =
/var/log/kannel/access.log
 store-location =
/var/log/kannel/kannel.store
 

#-
 # SMSC CONNECTIONS FOR
COSMOTE
 group = smsc
 smsc = at
 smsc-id = cosmote_SMSC
 modemtype
= HUAWEI_E220
 device = /dev/ttyUSB1
 speed = 4608000
 #pin =
999638
 validityperiod = 167
 keepalive = 10
 my-number =
+40785xx
 sms-center = +40766000510
 sim-buffering = true

preferred-prefix = 0766;0785
 denied-prefix =
0721;0722;0723;0729;0735;0736
 allowed-smsc-id = cosmote_SMSC

denied-smsc-id = vodafone_SMSC
 

#-
 # SMSC CONNECTIONS FOR
Vodafone
 group = smsc
 smsc = at
 smsc-id = vodafone_SMSC

modemtype = HUAWEI_E220
 device = /dev/ttyUSB3
 speed = 4608000
 #pin
= 999638
 validityperiod = 167
 keepalive = 10
 my-number =
+40721xxx
 sms-center = +40722006000
 sim-buffering = true

preferred-prefix = 0721;0722;0723;0729;0735;0736
 denied-prefix =
0766;0785
 allowed-smsc-id = vodafone_SMSC
 denied-smsc-id =
cosmote_SMSC
 
 include=/etc/kannel/modem.conf
 
 # SMSBOX
SETUP
 group = smsbox
 smsbox-id = acronSMS
 bearerbox-host =
localhost
 sendsms-port = 9000
 sendsms-chars = 0123456789+

global-sender = +40744946000
 log-file =
/var/log/kannel/smsbox.log
 log-level = 0
 access-log =
/var/log/kannel/access.log
 
 group = sms-service
 keyword = nop

text = You asked nothing and I did it!
 
 # SMS SERVICES
 # there
should be default always
 group = sms-service
 accepted-smsc =
cosmote_SMSC;vodafone_SMSC
 accept-x-kannel-headers = true
 get-url
=
http://192.168.1.104:8080/events/events.kml?sender=%pmesaj=%atimp%t;

#get-url =
http://localhost/acronsms/acronsms_recived.php?mesaj=%aexpeditor=%ptimp=%t;

keyword = .*
 catch-all = true
 max-messages = 0
 omit-empty=true


 # SEND-SMS USERS
 group = sendsms-user
 username = foobar #this is
the user that i use to send message
 password = foobar #this is the
pass that i use to send message
 default-smsc = cosmote_SMSC

concatenation = true
 max-messages = 10
 #dlr-url =
http://192.168.1.118/acronsms/acronsms.php?dlr=%d
 #user-deny-ip =
*.*.*.*
 #user-allow-ip = 127.0.0.1,192.168.1.*

On Wed, 11 Jan
2012 17:01:04 +0300, Nyika Alex wrote: 

 Kindly share your config
file
 also note that there are credentials for administration and
others for send sms. I hope u are not using the admin credentials. 
 

On 11 January 2012 16:17, Zaharia Constantin wrote:
 
 hi, i get this
error message when i try to send a message from browser. 
 

Authorization failed for sendsms the user name and the password are
right, the ip for that request is ok, but still i get this error, any
ideea way? 
 
 this is the kannel info: 
 
 Kannel bearerbox
version `1.4.3'. Build `May 19 2011 22:12:12', compiler `4.6.1'. System
Linux, release 3.0.0-14-generic-pae, version #23-Ubuntu SMP Mon Nov 21
22:07:10 UTC 2011, machine i686. Hostname Server, IP 127.0.1.1. Libxml
version 2.7.8. Using OpenSSL 1.0.0d 8 Feb 2011. Compiled with MySQL
5.1.54, using MySQL 5.1.58. Using SQLite 3.7.4. Using native malloc.

 
 anyone have any idea?
 
 -- 
 Best regards,
 Alex Nyika

skype: nyika.alex

-- 

  

Links:
--
[1]
mailto:soulra...@muscel.ro


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 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


Multiple smsc and autorouting.

2011-11-01 Thread Zaharia Constantin
  

hy, 

i have setup kannel with 2 smsc using 2 E220 modems. 

each
modem use a simcard from diferent gps operator, 

and i want to send
message to each neatwork to numbers that are in that network. 

number
from network A to be send by the modem A 

number from network B to be
send by modem B. 

now i have set default the modem A to send message to
numbers from network A 

but when i try to send message to network B
using the number for network B i get this error: Not routable. Do not
try again. 

how i set the config to each modem sends messages from his
range of numbers and not to send messages using another smsc 

this is
my config: 

 # CORE
 group = core
 admin-port = 13000

admin-password = x
 status-password = 
 #admin-deny-ip =
*.*.*.*
 admin-allow-ip = 127.0.0.1;192.168.1.*
 smsbox-port =
13001
 #box-deny-ip = *.*.*.*
 box-allow-ip = *.*.*.*

#box-allow-ip = 127.0.0.1;192.168.1.*
 log-file =
/var/log/kannel/kannel.log
 log-level = 0
 access-log =
/var/log/kannel/access.log
 store-location =
/var/log/kannel/kannel.store
 

#-
 # SMSC CONNECTIONS FOR
COSMOTE
 group = smsc
 smsc = at
 smsc-id = cosmote_SMSC
 modemtype
= HUAWEI_E220
 device = /dev/ttyUSB1
 speed = 4608000
 #pin =
999638
 validityperiod = 167
 keepalive = 10
 my-number =
+40785xx
 sms-center = +40766000510
 sim-buffering = true

preferred-prefix = 0766;0785
 denied-prefix = 0721;0722;0723;0735

allowed-smsc-id = cosmote_SMSC
 denied-smsc-id = vodafone_SMSC
 

#-
 # SMSC CONNECTIONS FOR
COSMOTE
 group = smsc
 smsc = at
 smsc-id = vodafone_SMSC
 modemtype
= HUAWEI_E220
 device = /dev/ttyUSB3
 speed = 4608000
 #pin =
999638
 validityperiod = 167
 keepalive = 10
 my-number =
+40721xxx
 sms-center = +40722006000
 sim-buffering = true

preferred-prefix = 0721;0722;0723;0735
 denied-prefix =
0766;0785
 allowed-smsc-id = vodafone_SMSC
 denied-smsc-id =
cosmote_SMSC
 
 include=/etc/kannel/modem.conf
 
 # SMSBOX
SETUP
 group = smsbox
 smsbox-id = acronSMS
 bearerbox-host =
localhost
 sendsms-port = 9000
 sendsms-chars = 0123456789+

global-sender = +40744946000
 log-file =
/var/log/kannel/smsbox.log
 log-level = 0
 access-log =
/var/log/kannel/access.log
 
 group = sms-service
 keyword = nop

text = You asked nothing and I did it!
 
 # SMS SERVICES
 # there
should be default always
 group = sms-service
 accepted-smsc =
cosmote_SMSC;vodafone_SMSC
 accept-x-kannel-headers = true
 get-url
=
http://192.168.1.104:8080/events/events.kml?sender=%pmesaj=%atimp%t;

#get-url =
http://localhost/acronsms/acronsms_recived.php?mesaj=%aexpeditor=%ptimp=%t;

keyword = .*
 catch-all = true
 max-messages = 0
 omit-empty=true


 # SEND-SMS USERS
 group = sendsms-user
 username = 
 password
= 
 default-smsc = cosmote_SMSC
 concatenation = true

max-messages = 10
 #dlr-url =
http://192.168.1.118/acronsms/acronsms.php?dlr=%d
 #user-deny-ip =
*.*.*.*
 #user-allow-ip = 127.0.0.1,192.168.1.*

-- 

  

Re: how i read messages from SIM card, and how i store the message

2010-09-23 Thread Zaharia Constantin
if i start kannel with message-start=0, stop responding, no info in log
files. nothning.


 You should:

 - stop kannel
 - use minicom to connect to your modem and use the following command
AT+CMGD
 described here ( http://www.developershome.com/sms/cmgdCommand.asp ) to
delete SMS

 *Here is another example. Suppose you want to delete all SMS messages
stored
 in the message storage area.
 To do this, assign 4 to the flags parameter of the +CMGD AT command. The
value assigned to the index parameter does not matter since it will be
ignored by the GSM/GPRS modem or mobile phone.
 AT+CMGD=1,4
 OK

 *- restart Kannel with message-start=0 in modems.conf on the huawei section

 Emmanuel

 2010/9/22 Zaharia Constantin soulra...@muscel.ro

 no change, and when i add the message-start = 0, kannel is not
starting, whay?
 if ai add the init string like in you config, the log is verry quiet, but
 i don't know how to read the message from sim, when is recived. What is
you metod to read the recived message?


  Do you still have SMS stored in modem storage ? you should see it in
bearerbox.log:
  *
  2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: --
 AT+CPMS?^M
  2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: -- +CPMS:
ME,0,255,SM,0,60,SM,0,60
  2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: -- OK
2010-09-22 21:00:13 [1629] [20] DEBUG: AT2[huawei_e220]: --
  ^BOOT:92407792,0,0,0,6*
 
  For instance you may have sthg like +CPMS:
  ME,*1,255*,SM,0,60,SM,0,60
 
  Stop Kannel, try to check this and delete it using minicom with
 AT+CMGD
  command:
  some help: http://www.developershome.com/sms/cmgdCommand.asp
 
  Then start Kannel
 
  my config in modems.conf
 
  group = modems
  id = huawei_e220
  name = Huawei E220
  detect-string = huawei
  #init-string = AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0
  #init-string = ATQ0 V1 E1 S0=0 D2 +FCLASS=0
  init-string = AT+CNMI=2,1,2,2,0
  message-storage = me
  speed = 460800
  message-start = 0
 
  I had the same issue but disappeared after deleting SMS in modem
 storage
  then restarting Kannel.
 
  Regards,
 
  Emmanuel
 
  2010/9/22 Zaharia Constantin soulra...@muscel.ro
 
  yes, is in /dev/ttyUSB1.
  i have read the link above, but i don't know how to make this
 changes,
  or
  how to update the kannel using ubuntu.
 
 
   Which /dev do you use to attache the modem ? /dev/ttyUSB1 ?
  
   read this
  
   http://kerneltrap.org/node/17017
  
   Regards
  
   Emmanuel
  
   2010/9/22 Zaharia Constantin soulra...@muscel.ro
  
   hy, so, the config file is in atachment.
   i use a Huawei e160e(E220) on ubuntu. The problem with that is
 that i
   can't read the message from this modem, i get this error in log
  files:
  
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
AT+CMGR=44^M
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=44
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
AT+CMGR=45^M
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=45
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
   2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
AT+CMGR=46^M
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=46
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
AT+CMGR=47^M
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=47
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
AT+CMGR=48^M
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=48
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
AT+CMGR=49^M
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=49
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
AT+CMGR=50^M
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=50
   2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- +CMS
  ERROR:
   321
   2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS
 ERROR:
  +CMS
   ERROR: 321
   2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS
 ERROR:
   Invalid memory index - don't worry, just memory fragmentation.
 (321)
   2010

Re: how i read messages from SIM card, and how i store the message

2010-09-23 Thread Zaharia Constantin
i am using kannel from ubuntu apt-get install.
i don't know verry well hot to install from SVN.
please help me


 Hi,

 Are you using the latest kannel from svn, Because I think message-start
 was
 added to the svn version only, but not on the stable version.
 Please correct me if I'm wrong.

 Regards
 --
 Abdulmnem Benaiad
 Almontaha CTO
 Tripoli-Libya
 www.almontaha.ly


 2010/9/23 Zaharia Constantin soulra...@muscel.ro

 message-start=0






Re: how i read messages from SIM card, and how i store the message

2010-09-22 Thread Zaharia Constantin
hy, so, the config file is in atachment.
i use a Huawei e160e(E220) on ubuntu. The problem with that is that i
can't read the message from this modem, i get this error in log files:

2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=44^M
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=44
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=45^M
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=45
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=46^M
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=46
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=47^M
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=47
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=48^M
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=48
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=49^M
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=49
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=50^M
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=50
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- +CMS ERROR: 321
2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR: +CMS
ERROR: 321
2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
Invalid memory index - don't worry, just memory fragmentation. (321)
2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: failed to get
message 50.

and i can't get rid of this error.
after that i will need to concentrate on the script to get the message
from SIM card and the messages that i have send from kannel.





 Hi Zaharia
 This http://www.mail-archive.com/users@kannel.org/msg20081.html site
 should be able to solve your problem. However I suggest that you post your
 whole configuration file(you can mask the sensitve data like passwords,
 ips
 etc) so that we have a loook. Plus if you install new programes after
 kannel
 has been compiled i think it can not use them so i suggest that you
 recompile Kannel. What make is your modem? Huawei?
 Lastly this http://www.ddj.co.za/kannel-for-windows site has got a nice
 and easy installer of kannel.
 I hope this helps.


 2010/9/21 Zaharia Constantin soulra...@muscel.ro

 is not working with  message-start = 0
 what i have to do, to read the sms from sim card?
 is any problem in init string?or something else?
 i have a USB modem E160e(E220)


  Hi,
 
  Try to add:
 
  message-start = 0
 
  to your group = modems section
 
  BR,
  Tomasz
 
  W Twoim liście datowanym 20 września 2010 (14:56:44) można przeczytać:
 
  i have restart the machine, but nothing, the seam error...what is
 wrong?
 
  offtopic:
  and the sqlbox, when i starting sqlbox /etc/kannel/sqlbox.config
 
  segmentation fault
 
  whay:(
 
  Constantin Zaharia
 
 
  try restarting your machine
 
  2010/9/20 Zaharia Constantin soulra...@muscel.ro
 
  How i setup the sqlbox? i have installed using apt-get, but now i
  don't
  know what i have to do...
  is necessary to start some application?
 
  and now i get another error, regarding the read of sms from sim
 
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=43^M
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=43
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=44^M
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=44
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not
 deleted.
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=45^M
  2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=45
  2010-09-14 23:51:37

Re: how i read messages from SIM card, and how i store the message

2010-09-22 Thread Zaharia Constantin
yes, is in /dev/ttyUSB1.
i have read the link above, but i don't know how to make this changes, or
how to update the kannel using ubuntu.


 Which /dev do you use to attache the modem ? /dev/ttyUSB1 ?

 read this

 http://kerneltrap.org/node/17017

 Regards

 Emmanuel

 2010/9/22 Zaharia Constantin soulra...@muscel.ro

 hy, so, the config file is in atachment.
 i use a Huawei e160e(E220) on ubuntu. The problem with that is that i
 can't read the message from this modem, i get this error in log files:

 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44^M
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=44
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45^M
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=45
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46^M
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=46
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47^M
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=47
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48^M
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=48
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49^M
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=49
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50^M
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=50
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- +CMS ERROR:
 321
 2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR: +CMS
 ERROR: 321
 2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 Invalid memory index - don't worry, just memory fragmentation. (321)
 2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: failed to get
 message 50.

 and i can't get rid of this error.
 after that i will need to concentrate on the script to get the message
 from SIM card and the messages that i have send from kannel.





  Hi Zaharia
  This http://www.mail-archive.com/users@kannel.org/msg20081.html site
  should be able to solve your problem. However I suggest that you post
 your
  whole configuration file(you can mask the sensitve data like
 passwords,
  ips
  etc) so that we have a loook. Plus if you install new programes after
  kannel
  has been compiled i think it can not use them so i suggest that you
  recompile Kannel. What make is your modem? Huawei?
  Lastly this http://www.ddj.co.za/kannel-for-windows site has got a
 nice
  and easy installer of kannel.
  I hope this helps.
 
 
  2010/9/21 Zaharia Constantin soulra...@muscel.ro
 
  is not working with  message-start = 0
  what i have to do, to read the sms from sim card?
  is any problem in init string?or something else?
  i have a USB modem E160e(E220)
 
 
   Hi,
  
   Try to add:
  
   message-start = 0
  
   to your group = modems section
  
   BR,
   Tomasz
  
   W Twoim liście datowanym 20 września 2010 (14:56:44) można
 przeczytać:
  
   i have restart the machine, but nothing, the seam error...what is
  wrong?
  
   offtopic:
   and the sqlbox, when i starting sqlbox /etc/kannel/sqlbox.config
  
   segmentation fault
  
   whay:(
  
   Constantin Zaharia
  
  
   try restarting your machine
  
   2010/9/20 Zaharia Constantin soulra...@muscel.ro
  
   How i setup the sqlbox? i have installed using apt-get, but now
 i
   don't
   know what i have to do...
   is necessary to start some application?
  
   and now i get another error, regarding the read of sms from sim
  
   2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
   2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not
  deleted.
   2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
   AT+CMGR=43^M
   2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
   AT+CMGR=43
   2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
   2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not
  deleted.
   2010-09-14 23:51:37 [10621

Re: how i read messages from SIM card, and how i store the message

2010-09-22 Thread Zaharia Constantin
no change, and when i add the message-start = 0, kannel is not starting,
whay?
if ai add the init string like in you config, the log is verry quiet, but
i don't know how to read the message from sim, when is recived. What is
you metod to read the recived message?


 Do you still have SMS stored in modem storage ? you should see it in
 bearerbox.log:
 *
 2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: -- AT+CPMS?^M
 2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: -- +CPMS:
 ME,0,255,SM,0,60,SM,0,60
 2010-09-22 21:00:09 [1629] [20] DEBUG: AT2[huawei_e220]: -- OK
 2010-09-22 21:00:13 [1629] [20] DEBUG: AT2[huawei_e220]: --
 ^BOOT:92407792,0,0,0,6*

 For instance you may have sthg like +CPMS:
 ME,*1,255*,SM,0,60,SM,0,60

 Stop Kannel, try to check this and delete it using minicom with AT+CMGD
 command:
 some help: http://www.developershome.com/sms/cmgdCommand.asp

 Then start Kannel

 my config in modems.conf

 group = modems
 id = huawei_e220
 name = Huawei E220
 detect-string = huawei
 #init-string = AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0
 #init-string = ATQ0 V1 E1 S0=0 D2 +FCLASS=0
 init-string = AT+CNMI=2,1,2,2,0
 message-storage = me
 speed = 460800
 message-start = 0

 I had the same issue but disappeared after deleting SMS in modem storage
 then restarting Kannel.

 Regards,

 Emmanuel

 2010/9/22 Zaharia Constantin soulra...@muscel.ro

 yes, is in /dev/ttyUSB1.
 i have read the link above, but i don't know how to make this changes,
 or
 how to update the kannel using ubuntu.


  Which /dev do you use to attache the modem ? /dev/ttyUSB1 ?
 
  read this
 
  http://kerneltrap.org/node/17017
 
  Regards
 
  Emmanuel
 
  2010/9/22 Zaharia Constantin soulra...@muscel.ro
 
  hy, so, the config file is in atachment.
  i use a Huawei e160e(E220) on ubuntu. The problem with that is that i
  can't read the message from this modem, i get this error in log
 files:
 
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=44^M
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=45^M
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
  2010-09-21 16:04:41 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=46^M
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=47^M
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=48^M
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=49^M
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- OK
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: not deleted.
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
  AT+CMGR=50^M
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: -- +CMS
 ERROR:
  321
  2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 +CMS
  ERROR: 321
  2010-09-21 16:04:42 [3780] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
  Invalid memory index - don't worry, just memory fragmentation. (321)
  2010-09-21 16:04:42 [3780] [6] DEBUG: AT2[huawei_E160e]: failed to
 get
  message 50.
 
  and i can't get rid of this error.
  after that i will need to concentrate on the script to get the
 message
  from SIM card and the messages that i have send from kannel.
 
 
 
 
 
   Hi Zaharia
   This http://www.mail-archive.com/users@kannel.org/msg20081.html
 site
   should be able to solve your problem. However I suggest that you
 post
  your
   whole configuration file(you can mask the sensitve data like
  passwords,
   ips
   etc) so that we have a loook. Plus if you install new programes
 after
   kannel
   has been compiled i think it can not use them so i suggest that you
   recompile Kannel. What make is your modem? Huawei?
   Lastly this http://www.ddj.co.za/kannel-for-windows site has got
 a
  nice
   and easy installer

Re: how i read messages from SIM card, and how i store the message

2010-09-21 Thread Zaharia Constantin
is not working, when i restart the kannel is nothing happen, the log is
just frozen. no new info.

i have more init string, what is the best for the my modem.
E160e  or E220

init-string = AT+CNMI=1,2,0,0,0
#init-string = AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0
#init-string = ATZ
#init-string = ATQ0 V1 E1 S0=0 D2 +FCLASS=0
#init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
#init-string = AT+CNMI= 2,0,0,2,0
#init-string = AT+CFUN=1

what is the best init string?

 Hi,

 Try to add:

 message-start = 0

 to your group = modems section

 BR,
 Tomasz

 W Twoim liście datowanym 20 września 2010 (14:56:44) można przeczytać:

 i have restart the machine, but nothing, the seam error...what is wrong?

 offtopic:
 and the sqlbox, when i starting sqlbox /etc/kannel/sqlbox.config

 segmentation fault

 whay:(

 Constantin Zaharia


 try restarting your machine

 2010/9/20 Zaharia Constantin soulra...@muscel.ro

 How i setup the sqlbox? i have installed using apt-get, but now i
 don't
 know what i have to do...
 is necessary to start some application?

 and now i get another error, regarding the read of sms from sim

 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=43^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=43
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- +CMS
 ERROR:
 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 +CMS
 ERROR: 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 Invalid memory index - don't worry, just memory fragmentation. (321)
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: failed to
 get
 message 50.


 what is wrong ?




  Here is my answer to the exact same question from a few months ago:
 
  http://www.mail-archive.com/users@kannel.org/msg20081.html
 
 
  2010/9/17 Zaharia Constantin soulra...@muscel.ro
 
  hy,
  how i read the message from SIM card and how i store the messages.
  I want to see when a new message has arrived and store in a
 database.
 
  please help me...
 
  best regards,
  Constantin Zaharia
 
 
 
 
 
 
 
  --
  Best regards,
  Alex
 





 --
 Best regards,
 Alex








Re: how i read messages from SIM card, and how i store the message

2010-09-21 Thread Zaharia Constantin
is not working with  message-start = 0
what i have to do, to read the sms from sim card?
is any problem in init string?or something else?
i have a USB modem E160e(E220)


 Hi,

 Try to add:

 message-start = 0

 to your group = modems section

 BR,
 Tomasz

 W Twoim liście datowanym 20 września 2010 (14:56:44) można przeczytać:

 i have restart the machine, but nothing, the seam error...what is wrong?

 offtopic:
 and the sqlbox, when i starting sqlbox /etc/kannel/sqlbox.config

 segmentation fault

 whay:(

 Constantin Zaharia


 try restarting your machine

 2010/9/20 Zaharia Constantin soulra...@muscel.ro

 How i setup the sqlbox? i have installed using apt-get, but now i
 don't
 know what i have to do...
 is necessary to start some application?

 and now i get another error, regarding the read of sms from sim

 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=43^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=43
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- +CMS
 ERROR:
 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 +CMS
 ERROR: 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 Invalid memory index - don't worry, just memory fragmentation. (321)
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: failed to
 get
 message 50.


 what is wrong ?




  Here is my answer to the exact same question from a few months ago:
 
  http://www.mail-archive.com/users@kannel.org/msg20081.html
 
 
  2010/9/17 Zaharia Constantin soulra...@muscel.ro
 
  hy,
  how i read the message from SIM card and how i store the messages.
  I want to see when a new message has arrived and store in a
 database.
 
  please help me...
 
  best regards,
  Constantin Zaharia
 
 
 
 
 
 
 
  --
  Best regards,
  Alex
 





 --
 Best regards,
 Alex








Re: how i read messages from SIM card, and how i store the message

2010-09-20 Thread Zaharia Constantin
How i setup the sqlbox? i have installed using apt-get, but now i don't
know what i have to do...
is necessary to start some application?

and now i get another error, regarding the read of sms from sim

2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=43^M
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=43
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=44^M
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=44
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=45^M
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=45
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=46^M
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=46
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=47^M
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=47
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=48^M
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=48
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=49^M
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=49
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=50^M
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=50
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- +CMS ERROR: 321
2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR: +CMS
ERROR: 321
2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
Invalid memory index - don't worry, just memory fragmentation. (321)
2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: failed to get
message 50.


what is wrong ?




 Here is my answer to the exact same question from a few months ago:

 http://www.mail-archive.com/users@kannel.org/msg20081.html


 2010/9/17 Zaharia Constantin soulra...@muscel.ro

 hy,
 how i read the message from SIM card and how i store the messages.
 I want to see when a new message has arrived and store in a database.

 please help me...

 best regards,
 Constantin Zaharia







 --
 Best regards,
 Alex






Re: how i read messages from SIM card, and how i store the message

2010-09-20 Thread Zaharia Constantin
the seam error, no change.:(. Do you have any ideea whay?

and the sqlbox i give me
r...@acron:~# sqlbox /etc/kannel/sqlbox.conf
2010-09-20 14:42:47 [1442] [0] INFO: Debug_lvl = -1, log_file = none,
log_lvl = 0
2010-09-20 14:42:47 [1442] [0] DEBUG: Kannel sqlbox version `1.4.3'.
Build `Feb 14 2009 16:26:23', compiler `4.3.3'.
System Linux, release 2.6.32-21-generic-pae, version #32-Ubuntu SMP Fri
Apr 16 09:39:35 UTC 2010, machine i686.
Hostname acron, IP 127.0.1.1.
Libxml version 2.6.32.
Using OpenSSL 0.9.8g 19 Oct 2007.
Compiled with MySQL 5.0.75, using MySQL 5.1.41.
Using native malloc.

2010-09-20 14:42:47 [1442] [0] INFO: Starting to log to file
/var/log/kannel/kannel-sqlbox.log level 0
2010-09-20 14:42:47 [1442] [0] INFO: Added logfile
`/var/log/kannel/kannel-sqlbox.log' with level `0'.
Segmentation fault




do you have any ideea?


 try restarting your machine

 2010/9/20 Zaharia Constantin soulra...@muscel.ro

 How i setup the sqlbox? i have installed using apt-get, but now i don't
 know what i have to do...
 is necessary to start some application?

 and now i get another error, regarding the read of sms from sim

 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=43^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=43
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=44
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=45
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=46
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=47
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=48
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=49
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=50
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- +CMS
 ERROR:
 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 +CMS
 ERROR: 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 Invalid memory index - don't worry, just memory fragmentation. (321)
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: failed to get
 message 50.


 what is wrong ?




  Here is my answer to the exact same question from a few months ago:
 
  http://www.mail-archive.com/users@kannel.org/msg20081.html
 
 
  2010/9/17 Zaharia Constantin soulra...@muscel.ro
 
  hy,
  how i read the message from SIM card and how i store the messages.
  I want to see when a new message has arrived and store in a database.
 
  please help me...
 
  best regards,
  Constantin Zaharia
 
 
 
 
 
 
 
  --
  Best regards,
  Alex
 





 --
 Best regards,
 Alex







Re: how i read messages from SIM card, and how i store the message

2010-09-20 Thread Zaharia Constantin
i have restart the machine, but nothing, the seam error...what is wrong?

offtopic:
and the sqlbox, when i starting sqlbox /etc/kannel/sqlbox.config

segmentation fault

whay:(

Constantin Zaharia


 try restarting your machine

 2010/9/20 Zaharia Constantin soulra...@muscel.ro

 How i setup the sqlbox? i have installed using apt-get, but now i don't
 know what i have to do...
 is necessary to start some application?

 and now i get another error, regarding the read of sms from sim

 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=43^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=43
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=44^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=44
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=45^M
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=45
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:37 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=46^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=46
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=47^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=47
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=48^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=48
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=49^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=49
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- OK
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: not deleted.
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: --
 AT+CMGR=50^M
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- AT+CMGR=50
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: -- +CMS
 ERROR:
 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 +CMS
 ERROR: 321
 2010-09-14 23:51:38 [10621] [6] ERROR: AT2[huawei_E160e]: CMS ERROR:
 Invalid memory index - don't worry, just memory fragmentation. (321)
 2010-09-14 23:51:38 [10621] [6] DEBUG: AT2[huawei_E160e]: failed to get
 message 50.


 what is wrong ?




  Here is my answer to the exact same question from a few months ago:
 
  http://www.mail-archive.com/users@kannel.org/msg20081.html
 
 
  2010/9/17 Zaharia Constantin soulra...@muscel.ro
 
  hy,
  how i read the message from SIM card and how i store the messages.
  I want to see when a new message has arrived and store in a database.
 
  please help me...
 
  best regards,
  Constantin Zaharia
 
 
 
 
 
 
 
  --
  Best regards,
  Alex
 





 --
 Best regards,
 Alex






Delete message from SIM

2010-09-19 Thread Zaharia Constantin
how i delete a message from SIM card?
how i create an action when a new message has arrived?
how i list all the message from SIM card or how i list a index of the
messages from SIM card?

please help me with this questions..

Constantin Zaharia
-- 







Re: Delete message from SIM

2010-09-19 Thread Zaharia Constantin
thx, but how i delete from URL get procedure, or something like that. I
want when a new message has arrived, to be anunced about this message,
after that i want to read the message, and after that to delete the
message.


 AT+CMGD=1. Delete SMS at index 1 from SIM.

 AT+CMGL=ALL. List all SMS in SIM.

 BR,
 Nikos
 - Original Message -
 From: Zaharia Constantin soulra...@muscel.ro
 To: users@kannel.org
 Sent: Sunday, September 19, 2010 12:06 PM
 Subject: Delete message from SIM


 how i delete a message from SIM card?
 how i create an action when a new message has arrived?
 how i list all the message from SIM card or how i list a index of the
 messages from SIM card?

 please help me with this questions..

 Constantin Zaharia
 --











RE: Delete message from SIM

2010-09-19 Thread Zaharia Constantin
ok, but what setting i have to dowhere is the message stored?
is any solution to be anounced where a new messages has arrived?
how i read the message?


 Messages are deleted automatically from sim upon Kannel receiving a
 message.

 == Rene

 -Original Message-
 From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
 Of Zaharia Constantin
 Sent: Sunday, 19 September, 2010 11:22
 To: Nikos Balkanas
 Cc: users@kannel.org
 Subject: Re: Delete message from SIM

 thx, but how i delete from URL get procedure, or something like that. I
 want when a new message has arrived, to be anunced about this message,
 after that i want to read the message, and after that to delete the
 message.


 AT+CMGD=1. Delete SMS at index 1 from SIM.

 AT+CMGL=ALL. List all SMS in SIM.

 BR,
 Nikos
 - Original Message -
 From: Zaharia Constantin soulra...@muscel.ro
 To: users@kannel.org
 Sent: Sunday, September 19, 2010 12:06 PM
 Subject: Delete message from SIM


 how i delete a message from SIM card?
 how i create an action when a new message has arrived?
 how i list all the message from SIM card or how i list a index of the
 messages from SIM card?

 please help me with this questions..

 Constantin Zaharia
 --

















Error 500 on vodafone k3520

2010-09-14 Thread Zaharia Constantin
hi, i gat this error when i try to configure kannel, this is the error


2010-09-01 18:43:59 [2356] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2010-09-01 18:44:08 [2356] [6] DEBUG: AT2[huawei_e620]: -- +CMS ERROR: 500
2010-09-01 18:44:08 [2356] [6] ERROR: AT2[huawei_e620]: CMS ERROR: +CMS
ERROR: 500
2010-09-01 18:44:08 [2356] [6] ERROR: AT2[huawei_e620]: CMS ERROR: Unknown
error. - maybe Sim storage is full? I'll have a look at it. (500)

the sim is empty,

this is the config file...


# CORE
group = core
admin-port = 13000
admin-password = horizon
status-password = horizon
admin-allow-ip = 127.0.0.1;192.168.1.*
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
#wapbox-port = 13002
smsbox-port = 13001
store-location = /var/log/kannel/kannel.store
box-allow-ip = 127.0.0.1;192.168.1.*


# BASE WAPBOX CONFIG
#group = wapbox

#-
# SMSC CONNECTIONS
#
group = smsc
smsc = at
smsc-id = huawei_e620
port = 13013
modemtype = auto
device = /dev/ttyUSB0
sms-center = 40722006000
#my-number = +40722215042
connect-allow-ip = 127.0.0.1
#sim-buffering = true
#keepalive = 5
pin = 1234

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13031
sendsms-chars = 0123456789+
global-sender = 40722006000
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log


# SEND-SMS USERS
group = sendsms-user
username = 
password = x
concatenation = TRUE
max-messages = 100
user-allow-ip = 127.0.0.1,192.168.1.*


# SMS SERVICES
# there should be default always
group = sms-service
keyword = default
text = No service specified
max-messages = 0
catch-all = true

and this is the modem file

group = modems
id = huawei_e620
name = Huawei E620
detect-string = huawei
init-string = ATZ
init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
#init-string = AT+CNMI=2,1,0,0,0;+CPMS=ME,ME,ME;+CMEE=1
#init-string = AT+CFUN=1
message-storage = SM
#need-sleep = true
#speed = 460800
#no-pin = true
#reset-string = AT+CFUN=1

where is wrong configure? the configuration is good?

i am using ubuntu.

THX!!1

-- 







Kannel and POP3 google SSL

2010-08-28 Thread Zaharia Constantin
hy,
is it posible ?
i have found a pearl script for that, but is not for SSL support, and for
Gmail is not working, is it posibile to modify this script for SSL
support?
i have made some modification on the script but still not working. this is
the script...

http://www.kannel.org/pipermail/users/2008-July/005309.html

Constantin Zaharia
Romania
-- 











Re: Kannel and POP3 google SSL

2010-08-28 Thread Zaharia Constantin
sorry, i don't get any answers, i have been accepted only today in the
list. i don't know what is answer Rene.

sorry again for the spamm

 Send users mailing list submissions to
   users@kannel.org

 To subscribe or unsubscribe via the World Wide Web, visit
   http://www.kannel.org/mailman/listinfo/users
 or, via email, send a message with subject or body 'help' to
   users-requ...@kannel.org

 You can reach the person managing the list at
   users-ow...@kannel.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of users digest...


 Today's Topics:

1. Re: Getting DLR reports for AT SMSC (Nikos Balkanas)
2. Re: Kannel and POP3 google SSL (Nikos Balkanas)
3. Re: Getting DLR reports for AT SMSC (Gjergji Guri)
4. Re: Getting DLR reports for AT SMSC (Nikos Balkanas)
5. Re: Getting DLR reports for AT SMSC (Alvaro Cornejo)
6. Re: Getting DLR reports for AT SMSC (Gjergji Guri)


 --

 Message: 1
 Date: Sat, 28 Aug 2010 14:35:46 +0300
 From: Nikos Balkanas nbalka...@gmail.com
 To: Gjergji Guri gjergji.g...@facilization.com,   users@kannel.org
 Subject: Re: Getting DLR reports for AT SMSC
 Message-ID: b3686b42580048fdbfc4b2ad57c15...@drwho
 Content-Type: text/plain; format=flowed; charset=windows-1253;
   reply-type=original

 Yes, and it works. Note that using a GSM modem is more reliable than a
 phone. Some providers do not send DLRs to a phone.

 But what do you mean by http SMSc? A GSM modem is different than an HTTP
 smsc.

 BR,
 Nikos
 - Original Message -
 From: Gjergji Guri
 To: users@kannel.org
 Sent: Saturday, August 28, 2010 10:39 AM
 Subject: Getting DLR reports for AT SMSC


 Hi,

 I have no problem to get DLR report for http SMSC by setting the correct
 dlr-mask and dlr-url. Nevertheless, though my modem driver and network
 support receiving delivery reports the bearerbox do not process any
 delivery
 reports.

 At page 64 of the User Guide (Feature checklist) or Table 6-2. SMSC driver
 features I can see that for AT driver the ?Can Use DLR? is set to N.
 Nevertheless, N is set even for http request where the delivery is working
 fine in my configuration.

 Do I need to setup some specific processing for the incoming SMS delivery
 reports retrieved by the AT modem?

 Has anyone configured delivery reports with Kannel using a modem (AT SMSC
 driver)?

 Any hint, guidance?

 Cheers,
 Gjergji




 --

 Message: 2
 Date: Sat, 28 Aug 2010 14:37:31 +0300
 From: Nikos Balkanas nbalka...@gmail.com
 To: soulra...@muscel.ro,users@kannel.org
 Subject: Re: Kannel and POP3 google SSL
 Message-ID: ca645d15b4694ad59761fcefc0f27...@drwho
 Content-Type: text/plain; format=flowed; charset=windows-1253;
   reply-type=original

 Holly spam! Didn't you send 2 identical emails yesterday? And didn't Rene
 answered you?

 Spamming the list is not the way to get help.

 Nikos
 - Original Message -
 From: Zaharia Constantin soulra...@muscel.ro
 To: users@kannel.org
 Sent: Saturday, August 28, 2010 7:53 AM
 Subject: Kannel and POP3 google SSL


 hy,
 is it posible ?
 i have found a pearl script for that, but is not for SSL support, and
 for
 Gmail is not working, is it posibile to modify this script for SSL
 support?
 i have made some modification on the script but still not working. this
 is
 the script...

 http://www.kannel.org/pipermail/users/2008-July/005309.html

 Constantin Zaharia
 Romania
 --













 --

 Message: 3
 Date: Sat, 28 Aug 2010 14:30:35 +0200
 From: Gjergji Guri gjergji.g...@facilization.com
 To: Nikos Balkanas nbalka...@gmail.com
 Cc: users@kannel.org
 Subject: Re: Getting DLR reports for AT SMSC
 Message-ID:
   aanlkti=rb1eidzuvafx8ly7zb-+rt=ninjelgptag...@mail.gmail.com
 Content-Type: text/plain; charset=windows-1252

 Many thanks Nikos and good to hear that it works.

 I've configured DLR callback with Clickatell (system-type = clickatell)
 having the smsc variable set to http. This is configured as a separate
 SMSC
 and I have no problem with processing DLR.

 I've configure a HUAWEI E618 Mobile Connect - 3G Modem and can send SMS
 messages using HTTP Push service.

 In my current configuration I do not see the dlr-url to be called, when I
 use the GSM modem, which works when message is routed via clickatell.

 Do I need to make any specific configuration for the GSM modem smsc in
 order
 for the delivery status reports to be processed?


 Kind Regards,
 Gjergji



 2010/8/28 Nikos Balkanas nbalka...@gmail.com

 Yes, and it works. Note that using a GSM modem is more reliable than a
 phone. Some providers do not send DLRs to a phone.

 But what do you mean by http SMSc? A GSM modem is different than an HTTP
 smsc.

 BR,
 Nikos
 - Original Message - From: Gjergji Guri
 To: users@kannel.org
 Sent: Saturday, August 28, 2010 10:39 AM
 Subject: Getting DLR

Kannel and POP3 google SSL

2010-08-27 Thread Zaharia Constantin
hy,
is it posible ?
i have found a pearl script for that, but is not for SSL support, and for
Gmail is not working, is it posibile to modify this script for SSL
support?
i have made some modification on the script but still not working.
this is the script...

http://www.kannel.org/pipermail/users/2008-July/005309.html

Constantin Zaharia
Romania
-- 







Kannel and POP3 google SSL

2010-08-27 Thread Zaharia Constantin
hy,
is it posible ?
i have found a pearl script for that, but is not for SSL support, and for
Gmail is not working, is it posibile to modify this script for SSL
support?
i have made some modification on the script but still not working. this is
the script...

http://www.kannel.org/pipermail/users/2008-July/005309.html

Constantin Zaharia
Romania
--