[kannel] envoi de message [Fermé]

Messages postés
528
Date d'inscription
samedi 10 février 2007
Statut
Membre
Dernière intervention
9 août 2017
-
Bonjour, j'ai installé la passerelle sms kannel, mais je rencontre quelque difficulté pour envoyer un message.
quand je lance la bearerbox et le smsbox, il n'y a aucune erreur.
pour tester l'envoi de message, au niveau de mon navigateur, je fait :

http://localhost/...

au niveau de la fenetre où j'ai lancé le smsbox, il me met wait for bearerbox

et rien ne se passe.

j'aimerais savoir ce qui cause ça.
voici mon fichier de configuration

[QUOTE]group = core
admin-port = 13001
admin-password = password
status-password = password
#admin-deny-ip = "127.0.0.1"
admin-allow-ip = "*.*.*.*"
log-file = "/tmp/kannel.log"
log-level = 1
access-log = "access.log"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"


# SMSC GSM
group = smsc
smsc = at
modemtype = SAMSUNG SGH-J700
device = /dev/ttyACM0
speed=9600
sms-center="+22676600150"
#pin = 1234
validityperiod = 167
host=localhost
port=13015

group = modems
id = SAMSUNG SGH-J700
name = "SAMSUNG SGH-J700"
detect-string = "SAMSUNG SGH-J700"
init-string=AT+CNMI="1,2,0,1,0"
#need-sleep = true
#keepalive-cmd = "AT+CBC;+CSQ"


# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
#sendsms-chars = "0123456789+"
global-sender = +22676176226
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "access.log"
#white-list =
#black-list =
#reply-couldnotfetch =
#reply-couldnotrepresent =
#reply-requestfailed =
#reply-emptymessage =


# SEND-SMS USERS

group = sendsms-user
username = brudao
password = password
#user-deny-ip = ""
#user-allow-ip = ""

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = brudao
password = password
#user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
#name = service_kannel
#forced-smsc = ID
#default-smsc = ID
#faked-sended = 1
max-messages = 3
concatenation = true
#split-chars =
#split-suffix =
omit-empty = 1
header = icom
footer = merci
#allowed-prefix =
#denied-prefix =
#white-list =
#black-list =



# SMS SERVICES

# SMS SERVICE GET-URL EXAMPLE
group = sms-service
keyword = www
post-url = "http://localhost/DaoBruno
#get-url = "http://%s"


# SMS SERVICE GET-URL EXAMPLE
group = sms-service
keyword = m-banking
post-url = "http://localhost/DaoBruno


# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
text = "No service specified"
[/QUOTE

Merci
Afficher la suite