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