Filtrer ok

Probleme avec kannel configuration et android merci de votre aide c vraiment urgent

Bonjour,

j'ai un problème avec kannel j'ai configurer le fichier kannel.conf comme suit :

# CORE
group = core
admin-port = 13000
admin-password = amed2016
status-password = amed2016
log-file = "/var/log/kannel/kannel.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-type = file
store-file = "/var/log/kannel/kannel.store"
unified-prefix = "00225,+225,00"
#store-type = spool
#store-location = /var/spool/kannel/store
smsbox-max-pending = 100

# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+- "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
global-sender = +21623945861
sendsms-url = "/cgi-bin/sendsms"

# SMSC gsm1
#group = smsc
#smsc = at
#smsc-id = gsm1
#host = localhost
#port = 13013

#SMSC MODEM GSM
group = smsc
smsc = at
port = 13013
host = "localhost"
smsc-id = SAMSUNG
modemtype = SAMSUNG
device = /dev/ttyUSB0
speed = 96000
#sms-center = +21622000022
my-number = +21623945861
sms-center = +21622000022
#my-number = +21623945861
sim-buffering = true
#pin =0000

# SMSC fastrack
#group = smsc
#smsc = at
#smsc-id = gsm1
#allowed-smsc-id = gsm1
#preferred-smsc-id = gsm1
#modemtype = wavecom
#device = /dev/ttyUSB0
#log-file = /var/log/kannel/smsc-gsm1.log
#log-level = 0

#group = modems
#id = wavecom
#message-storage = SM
#need-sleep = true
#speed = 115200

#MODEMS
group = modems
id = SAMSUNG
name = SAMSUNG
detect-string = SAMSUNG
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
message-storage = "SM"
need-sleep = true
speed = 460800

# SENDSMS-USER
group = sendsms-user
#default-smsc = gsm1
username = amed2016
password = amed2016
#max-messages = 6
#concatenation = true

# SMS SERVICE 'default'
group = sms-service
keyword = default
assume-plain-text = true
catch-all = true
accepted-smsc = "Wedge"
accept-x-kannel-headers = true
omit-empty = true
#max-messages = 0
get-url = "http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a"

et quand je lance ./bearerbox ou smsbox j'ai des erreurs

2016-07-18 10:17:38 [30477] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2016-07-18 10:17:38 [30477] [0] WARNING: DLR: using default 'internal' for storage type.
2016-07-18 10:17:38 [30477] [0] INFO: DLR using storage type: internal
2016-07-18 10:17:38 [30477] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `0'.
2016-07-18 10:17:38 [30477] [0] INFO: Started access logfile `/var/log/kannel/access.log'.
2016-07-18 10:17:38 [30477] [0] WARNING: 'store-file' option deprecated, please use 'store-location' and 'store-type' instead.
2016-07-18 10:17:38 [30477] [0] INFO: HTTP: Opening server at port 13000.
2016-07-18 10:17:38 [30477] [0] ERROR: bind failed
2016-07-18 10:17:38 [30477] [0] ERROR: System error 98: Address already in use
2016-07-18 10:17:38 [30477] [0] INFO: Set SMS resend frequency to 60 seconds.
2016-07-18 10:17:38 [30477] [0] INFO: SMS resend retry set to unlimited.
2016-07-18 10:17:38 [30477] [0] INFO: DLR rerouting for smsc id <SAMSUNG> disabled.
2016-07-18 10:17:38 [30477] [0] INFO: AT2[SAMSUNG]: configuration shows modemtype <SAMSUNG>
2016-07-18 10:17:38 [30477] [0] INFO: AT2[SAMSUNG]: read modem definition for <SAMSUNG>
2016-07-18 10:17:38 [30477] [0] INFO: ----------------------------------------
2016-07-18 10:17:38 [30477] [0] INFO: Kannel bearerbox II version 1.4.4 starting
2016-07-18 10:17:38 [30477] [0] INFO: Loading store file `/var/log/kannel/kannel.store'
2016-07-18 10:17:38 [30477] [0] INFO: Store-file size 0, starting to unpack
2016-07-18 10:17:38 [30477] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0
2016-07-18 10:17:38 [30477] [0] INFO: MAIN: Start-up done, entering mainloop
2016-07-18 10:17:38 [30477] [5] INFO: AT2[SAMSUNG]: opening device
2016-07-18 10:17:38 [30477] [5] ERROR: AT2[SAMSUNG]: open failed! ERRNO=2
2016-07-18 10:17:38 [30477] [5] ERROR: System error 2: No such file or directory
2016-07-18 10:17:38 [30477] [5] ERROR: AT2[SAMSUNG]: at2_device_thread: open_at2_device failed.
2016-07-18 10:17:38 [30477] [5] ERROR: System error 2: No such file or directory
2016-07-18 10:17:38 [30477] [5] ERROR: AT2[SAMSUNG]: Couldn't connect (retrying in 10 seconds).
2016-07-18 10:17:38 [30477] [5] INFO: AT2[SAMSUNG]: opening device
2016-07-18 10:17:38 [30477] [5] ERROR: AT2[SAMSUNG]: open failed! ERRNO=2
2016-07-18 10:17:38 [30477] [5] ERROR: System error 2: No such file or directory
2016-07-18 10:17:38 [30477] [5] ERROR: AT2[SAMSUNG]: at2_device_thread: open_at2_device failed.
2016-07-18 10:17:38 [30477] [5] ERROR: System error 2: No such file or directory
2016-07-18 10:17:38 [30477] [5] ERROR: AT2[SAMSUNG]: Couldn't connect (retrying in 10 seconds).
2016-07-18 10:17:38 [30477] [4] ERROR: bind failed
2016-07-18 10:17:38 [30477] [4] ERROR: System error 98: Address already in use
2016-07-18 10:17:38 [30477] [4] PANIC: Could not open smsbox port 13001
2016-07-18 10:17:38 [30477] [4] PANIC: bearerbox(gw_backtrace+0xce) [0x49dc2e]
2016-07-18 10:17:38 [30477] [4] PANIC: bearerbox(gw_panic+0x16f) [0x49ddaf]
2016-07-18 10:17:38 [30477] [4] PANIC: bearerbox() [0x416055]
2016-07-18 10:17:38 [30477] [4] PANIC: bearerbox() [0x49b283]
2016-07-18 10:17:38 [30477] [4] PANIC: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76fa) [0x7f2f94a146fa]
2016-07-18 10:17:38 [30477] [4] PANIC: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2f93587b5d]
Edité le 18/07/2016 à 11:49
 
 
     
Vous devez être connecté pour écrire un message !