SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Fri Nov 22, 2024 02:28
SMSTools3 Community » Help and support Bottom

[solved] +CMS ERROR: 330 (SMSC address unknown)

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jul 2010
Location: New Zealand
Operating system name and version: Ubuntu 10.04
Version of smsd: 3.1.11
Smsd installed from: package repository
Name and model of a modem / phone: New Zealand Vodafone Vodem stick
Interface: /dev/ttyUSB1

Hi,

I tried to send sms from Vodem but always got ERROR:330 (SMSC address unknown) appear in the smsd.log:

2010-07-12 21:47:21,5, smsd: Moved file /var/spool/sms/outgoing/send_1n9OmR to /var/spool/sms/checked
2010-07-12 21:47:21,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_1n9OmR
2010-07-12 21:47:21,6, GSM1: Sending SMS from to 64211073707
2010-07-12 21:47:21,6, GSM1: Checking if modem is ready
2010-07-12 21:47:21,7, GSM1: -> AT
2010-07-12 21:47:21,7, GSM1: Command is sent, waiting for the answer
2010-07-12 21:47:22,7, GSM1: <- AT OK
2010-07-12 21:47:22,6, GSM1: Initializing modem
2010-07-12 21:47:22,7, GSM1: -> ATZ
2010-07-12 21:47:22,7, GSM1: Command is sent, waiting for the answer
2010-07-12 21:47:22,7, GSM1: <- ATZ OK
2010-07-12 21:47:22,7, GSM1: -> AT+CSQ
2010-07-12 21:47:22,7, GSM1: Command is sent, waiting for the answer
2010-07-12 21:47:23,7, GSM1: <- AT+CSQ +CSQ: 10,99 OK
2010-07-12 21:47:23,6, GSM1: Checking if Modem is registered to the network
2010-07-12 21:47:23,7, GSM1: -> AT+CREG?
2010-07-12 21:47:23,7, GSM1: Command is sent, waiting for the answer
2010-07-12 21:47:23,7, GSM1: <- AT+CREG? +CREG: 0,1 OK
2010-07-12 21:47:23,6, GSM1: Modem is registered to the network
2010-07-12 21:47:23,6, GSM1: Selecting PDU mode
2010-07-12 21:47:23,7, GSM1: -> AT+CMGF=0
2010-07-12 21:47:23,7, GSM1: Command is sent, waiting for the answer
2010-07-12 21:47:24,7, GSM1: <- AT+CMGF=0 OK
2010-07-12 21:47:24,7, GSM1: -> AT+CMGS=19
2010-07-12 21:47:24,7, GSM1: Command is sent, waiting for the answer
2010-07-12 21:47:24,7, GSM1: <- AT+CMGS=19 >
2010-07-12 21:47:24,7, GSM1: -> 0011000B914612013808F60000FF05C8329BFD06^Z
2010-07-12 21:47:24,7, GSM1: Command is sent, waiting for the answer
2010-07-12 21:47:25,7, GSM1: <- 0011000B914612013808F60000FF05C8329BFD06 +CMS ERROR: 330 (SMSC address unknown)
2010-07-12 21:47:25,3, GSM1: The modem answer was not OK: 0011000B914612013808F60000FF05C8329BFD06+CMS ERROR: 330 (SMSC address unknown)


my smsd.conf

devices = GSM1
outgoing = /var/spool/sms/outgoing
#failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
#mypath = /usr/local/bin
#logfile = /var/log/smsd.log
loglevel = 7
#alarmhandler = /usr/local/bin/alarmevent
alarmlevel = 4
delaytime = 10
errorsleeptime = 10
blocktime = 120
#eventhandler = /usr/local/bin/smsevent
#stats = /var/log/smsd_stats
#stats_interval = 3600
#blacklist = /etc/smsd.black
#whitelist = /etc/smsd.white
#checkhandler = /usr/local/bin/smscheck
receive_before_send = no
#number_parts = yes

#[queues]
#OTHER = /var/spool/sms/OTHER

#[provider]
#OTHER = 0,1,2,3,4,5,6,7,8,9

[GSM1]
device = /dev/ttyUSB1
init = ATZ
incoming = yes
memory_start = 1
pre_init = no
#pin = 1111
mode = new
baudrate = 115200
rtscts = yes
cs_convert = yes
report = no
#eventhandler = /usr/local/bin/smsevent

Much appreciate your kind help on this issue.

Thanks

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Try this setting for a modem:

smsc = 6421600600

If you still get the same error, put the SIM into your handset and try if sending works with it. If it works, check what is the correct number of SMSC.

Btw: Why you have disabled pre_init and use init = ATZ? Usually this should not be done.

Member
Registered:
Jul 2010
Location: New Zealand
Topic owner
Hi Keke,

Thanks very much for your reply.

After i added smsc = 6421600600 i now can send and receive sms with the modem.

I found out the modem doesn't require pre_init and init settings.

Much appreciated

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.