Operating system name and version: Ubuntu 11 32 Bits
Version of smsd: Version 3.3.1.14
Name and model of a modem / phone: Wavecom WMODD2
Interface: serial

Sorry my English. I speak spanish.

Thanks in advance. I have an error in the log and I can not send messages. CMS ERROR: 38 Network out of order. I tried with 2 simm cards, but i have no results. Can you guide me to find if I have an incorrect parameter? I'm tired of looking for the solution.


CONFIG FILE

adminmessage_device = WAVECOM
admin_to = not in use
alarmlevel = LOG_WARNING
autosplit = 3
blockafter = 3
blocktime = 3600
checked = /var/spool/sms/checked
date_filename = 0
date_filename_format = %d/%m/%y
datetime_format = %d/%m/%y
decode_unicode_text = no
delaytime = 10
devices = WAVECOM
errorsleeptime = 10
executable_check = yes
hangup_incoming_call = no
ic_purge_hours = 24
ic_purge_minutes = 0
ic_purge_read = yes
ic_purge_interval = 30
ignore_exec_output = no
ignore_outgoing_priority = no
incoming = /var/spool/sms/incoming
incoming_utf8 = yes
internal_combine = yes
internal_combine_binary = no
international_prefixes = not in use
keep_filename = no
keep_messages = no
log_charconv = no
loglevel = 7
log_read_from_modem = no
log_single_lines = yes
logtime_format = %d/%m/%y
logtime_ms = no
logtime_us = no
log_unmodified = yes/no
max_continuous_sending = 300
os_cygwin = no
outgoing = /var/spool/sms/outgoing
phonecalls =
receive_before_send = yes
regular_run_interval = 300
shell = /bin/sh
shell_test = yes
smart_logging = no
spool_directory_order = yes
stats_interval = 3600
stats_no_zeroes = no
status_include_counters = yes
status_signal_quality = yes
status_interval = 1
store_original_filename = yes
store_received_pdu = 1
store_sent_pdu = 1
terminal = no
trim_text = yes
trust_outgoing = yes
umask =
infofile = /var/run/smsd.working
pidfile = /var/run/smsd.pid
validity = 255
voicecall_hangup_ath = yes

[WAVECOM]
#init = AT+CMEE=1
init = AT+CNMI=1,0,0,2,0
baudrate = 9600
rtscts = yes
cs_convert = yes
report = yes
memory_start = 1

device = /dev/ttyS0
mode = new
incoming = yes
outgoing = yes
smsc = 5068821****
primary_memory = SM
secondary_memory = SR



LOG

21/05/12,6, WAVECOM: Pre-initializing modem
21/05/12,7, WAVECOM: -> ATE0+CMEE=1;+CREG=2
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- OK

+CREG: 1,"1400","75D1"

21/05/12,6, WAVECOM: Initializing modem
21/05/12,7, WAVECOM: -> AT+CNMI=1,0,0,2,0
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- OK

21/05/12,7, WAVECOM: -> AT+CSQ
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- +CSQ: 24,0

OK

21/05/12,6, WAVECOM: Signal Strength Indicator: (24,0) -65 dBm (Excellent), Bit Error Rate: less than 0.2 %
21/05/12,6, WAVECOM: Checking if Modem is registered to the network
21/05/12,7, WAVECOM: -> AT+CREG?
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- +CREG: 2,1,"1400","75D1"

OK

21/05/12,6, WAVECOM: Modem is registered to the network
21/05/12,6, WAVECOM: Selecting PDU mode
21/05/12,7, WAVECOM: -> AT+CMGF=0
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- OK

21/05/12,6, WAVECOM: Changing SMSC
21/05/12,7, WAVECOM: -> AT+CSCA="+50688219***"
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- OK

21/05/12,7, WAVECOM: -> AT+CMGS=23
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- >
21/05/12,7, WAVECOM: -> 0031000BA10586780648F60000FF0A5079BD2C0E83A6CD29#
21/05/12,7, WAVECOM: Command is sent, waiting for the answer
21/05/12,7, WAVECOM: <- +CMS ERROR: 38
(Network out of order)
21/05/12,3, WAVECOM: The modem answer was not OK: +CMS ERROR: 38 (Network out of order)

21/05/12,5, WAVECOM: Waiting 10 sec. before retrying
21/05/12,6, WAVECOM: Checking if modem is ready
21/05/12,7, WAVECOM: -> AT
21/05/12,7, WAVECOM: Command is sent, waiting for the answer