dannigay
(usa Ubuntu)
Enviado em 14/01/2016 - 13:42h
AMIGO, ABAIXO ESTÃO MEUS ARQUIVOS COMO VOCÊ PODE VER.
MEU MODEM É UM OLIVETTI 160 DA TIM.
QUANDO EU EXECUTO O COMANDO bearerbox -v 0 /etc/kannel.conf ELE FICA ABRINDO E FECHANDO A PORTA. EU NÃO SEI O QUE ESTÁ ACONTECENDO. NÃO CONSIGO ENVIAR MENSAGENS, ELAS SÓ FICAM NA FILA DE ESPERA E SEMPRE DÁ "re-queue"
EU NÃO AGUENTO MAIS, ME AJUDA MOÇO.
*******************************************************************************
KANNEL.CONF
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = info1234
#status-password = info1234
log-file = "/var/log/kannel/bearerbox.log"
#access-log = "/kannelaccess.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
group = smsc
smsc-id = A
smsc = at
modemtype = Huawei
device = /dev/ttyUSB0
#speed = 115200
my-number = 5535991151711
sms-center = "+551181138200"
connect-allow-ip = 127.0.0.1
log-level = 0
#validityperiod = 167
group = modems
broken = true
id = huawei
name = "huawei"
detect-string = "huawei"
init-string = "AT+CNMI=2,1,0,0,0;+CMEE=1"
speed = 115200
enable-mms = true
message-storage = me
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13131
global-sender = 5535991151711
#sendsms-chars = "0123456789 +-"
#log-file = "/var/log/kannel/smsbox.log"
log-level = 0
#access-log = "/var/log/kannel/access.log"
#log-file = "/smsboxlog.log"
#immediate-sendsms-reply = true
group = sendsms-user
username = kannel
password = info1234
#default-smsc = mobiphone
concatenation = true
#max-messages = 3
max-messages = 10
group = sms-service
keyword =
accepted-smsc = A
get-url = "http://localhost/playsms/index.php?
app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q"
#accept-x-kannel-headers = true
max-messages = 0
#concatenation = true
catch-all = yes
******************************************************************************************
BEARERBOX.LOG
2016-01-14 10:22:16 [10623] [6] INFO: AT2[A]: speed set to 19200
2016-01-14 10:22:16 [10623] [6] DEBUG: AT2[A]: --> ^M
2016-01-14 10:22:18 [10623] [6] DEBUG: AT2[A]: --> AT^M
2016-01-14 10:22:25 [10623] [6] DEBUG: AT2[A]: --> AT^M
2016-01-14 10:22:31 [10623] [6] DEBUG: AT2[A]: --> AT^M
2016-01-14 10:22:36 [10623] [7] DEBUG: sms_router: gwlist_len = 1
2016-01-14 10:22:36 [10623] [7] DEBUG: sms_router: handling message (0x7f980800$
2016-01-14 10:22:36 [10623] [7] DEBUG: Routing failed, re-queued.
2016-01-14 10:22:36 [10623] [7] DEBUG: sms_router: handling message (0x7f980800$
2016-01-14 10:22:36 [10623] [7] DEBUG: Routing failed, re-queued.
2016-01-14 10:22:36 [10623] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2016-01-14 10:22:37 [10623] [6] INFO: AT2[A]: Closing device
2016-01-14 10:22:37 [10623] [6] INFO: AT2[A]: opening device
2016-01-14 10:22:37 [10623] [6] DEBUG: AT2[A]: device opened. Telnet mode = 0
2016-01-14 10:22:38 [10623] [6] DEBUG: AT2[A]: device opened
2016-01-14 10:22:38 [10623] [6] INFO: AT2[A]: speed set to 9600
2016-01-14 10:22:38 [10623] [6] DEBUG: AT2[A]: --> ^M
2016-01-14 10:22:39 [10623] [0] WARNING: Killing signal or HTTP admin command r$
2016-01-14 10:22:39 [10623] [0] DEBUG: Shutting down Kannel...
2016-01-14 10:22:39 [10623] [0] DEBUG: shutting down smsc