Hi All, 

 

I have a quick question: can the Nokia 6021 mobile telephone forward
received SMS messages to Kannel? Do all mobile terminals support this
feature? (two questions, in fact)

 

I have developed one application that has to read received messages from
Kannel and process them. SMSs are received by the mobile phone acting as
the SMSC, and the idea is to forward them to Kannel.  My test setup
consists in one computer, one CA-42 cable to connect my computer with
the mobile phone, and the Nokia 6021. 

 

I can send SMSs from my application through Kannel and the mobile phone
to other mobile phones, but the received SMSs by the Nokia terminal are
never forwarded to Kannel. 

 

I have configured one service SMS in the kannel configuration file that
is supposed to trigger by any word, but still I can not see it is
working. 

This is the configuration file I am using: 

 

            # CORE GROUP

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = xxxxxxxx

admin-allow-ip = "127.0.0.1"

log-file = "/root/gateway-1.4.1/logs/bearerbox.log"

log-level = 0

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

access-log = "/root/gateway-1.4.1/logs/bearerboxAccesss.log"

store-file = "/root/gateway-1.4.1/logs/bearerboxStore.txt"

 

      # SMSC GROUP

group = smsc

smsc = at

modemtype = nokiaphone

device = /dev/ttyACM0

speed = 9600 

my-number = number_of_the_sim_card_in_Nokia6021(SMSC)

connect-allow-ip = 127.0.0.1

log-file = "/root/gateway-1.4.1/logs/smsc.log"

log-level = 0

 

      # SMSBOX GROUP

group = smsbox

bearerbox-host = 127.0.0.1

sendsms-port = 13010

log-file = "/root/gateway-1.4.1/logs/smsbox.log"

log-level = 0

access-log = "/root/gateway-1.4.1/logs/smsboxAccess.log"

global-sender = same_number_as_my_number_in_SMSC_GROUP

sendsms-chars = "0123456789+-"

 

 

      # SENDSMS-USER

group = sendsms-user

username = xxxxxxx      

password = xxxxxxx 

max-messages = 10

concatenation = true

 

      # SMS-SERVICE GROUP

group = sms-service

keyword = any_keyword_will_do 

keyword-regex =. 

catch-all = yes

max-messages = 0

name = "Servicio_CGL"

accepted-smsc = "nokia6021"

get-url = http://localhost/test_php?phone=%p&text=%a
<http://localhost/test_php?phone=%25p&text=%25a> 

 

group = sms-service

keyword = default

text = "Answer by default"

 

      # MODEMS

group = modems

id = nokiaphone 

name = nokiaphone

detect-string = "NOKIA"

#detect-string2 = "6021"

init-string = "AT+CNMI=0,0,0,0,0"

#need-sleep = true

keepalive-cmd = "AT+CBC;+CSQ"

message-storage = SM

 

 

Thank you in advance for your help. 

Reply via email to