Hi Serge,
First of all, make some basics verification such as :
- is your modem is connected on the good tty, it could be verified
using minicom and basic command such as ATZ, please refer to minicom help
page for details informations,
- is your modem got the pin sim card ?
Hope that help
-----Original Message-----
From: Beaulois serge Yoboué [mailto:[EMAIL PROTECTED]
Sent: mardi 2 octobre 2007 13:39
To: [email protected]
Subject: virtual smsc
Hello
I need help
I can not send sms using a virtual smsc
My modem is Wavecom
When I send sms message
This error appear in bearerbox terminal
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]:
TP-Validity-Period: 24.0 hours
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: --> AT+CMGS=34^M
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: -->
0011000881702503640000A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: --> ^Z
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: <-- ERROR
2007-10-02 22:36:22 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: send command status:
-1
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: --> AT+CMGS=34^M
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: -->
0011000881702503640000A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964
2007-10-02 22:36:23 [9337] [6] DEBUG: AT2[smsserver]: --> ^Z
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: <-- ERROR
2007-10-02 22:36:28 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: send command status:
-1
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: --> AT+CMGS=34^M
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: -->
0011000881702503640000A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: --> ^Z
2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: <-- ERROR
2007-10-02 22:36:34 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR
2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: send command status:
-1
Please help me
This my conf file
# Fichier de config pour Modem GSM connecte sur le port /dev/ttyS0
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = abc
#status-password = foo
#admin-deny-ip = ""
admin-allow-ip = ""
log-file = "kannel.log"
log-level = 0
box-deny-ip = ""
box-allow-ip = "127.0.0.1"
#unified-prefix = "+225"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8081
sms-resend-freq = 2
sms-resend-retry = -1
#maximum-queue-length =-1
access-log = "access.log"
#store-file = "bearer.store"
#wdp-interface-name = '*'
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
include = "/etc/kannel/modem.conf"
# SMSC CONNECTIONS
# Groupe permettant à un modem de se connecter comme un centre de
service data virtuel
group = smsc
smsc = at
host = localhost
port = 13013
smsc-id = smsserver
modemtype = wavecom
sms-center = +22566277851
#sms-center = +22507523046
device = /dev/ttyS0
speed = 9600
#pin = 1234
#sim-buffering = true
#validityperiod = 167
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 15013
global-sender = +22566277851
sendsms-chars = "0123456789 +-"
log-file = "smsbox.log"
log-level = 0
access-log = "access.log"
sendsms-url = /cgi-bin/sendsms
# SEND-SMS USERS
group = sendsms-user
username =foot
password = nfoot
#user-deny-ip = ""
#user-allow-ip = ""
#name = service_kannel
#forced-smsc = wavecom
#user-deny-ip = ""
#user-allow-ip = "*.*.*.*"
max-messages = 3
concatenation = true
# SERVICES
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
_____
Antivirus avast! <http://www.avast.com> : message Sortant sain.
Base de donnees virale (VPS) : 000778-1, 02/10/2007
Analyse le : 02/10/2007 18:10:58
avast! - copyright (c) 1988-2007 ALWIL Software.