Hi Tony

I did use rawtcp connection to a series of modems using a terminal server.
Indeed you need to configure your raw connection in kannel but also need to
define modem config. I don't know if  'auto' will work with your modem
unless you add an entry for it.

Also add a log file to your AT SMSC config so you can better view what
happen with that connection.

This is my RAW SMSC AT config:


################################
# SMSC ENFORA XYPLEX (Puerto 3)
group = smsc
smsc = at
smsc-id = t4
modemtype = auto
speed = 115200
log-level = 0
log-file = "/var/log/kannel/enforats3.log"
allowed-smsc-id = t;t4;t2_3
sim-buffering = false
keepalive = 60
max-error-count = 8
################################
## SETTINGS PARA ACCESO VIA
## TERMINAL SERVER
device = rawtcp
host = 10.10.5.3
port = 2300
and this is my modem definition:
(what modemtype=auto will find/search for)

group = modems
id = Enfora1218
name = Enfora1218
detect-string = "Enfora"
init-string = AT+CNMI=2,1,2,1,0; +CMEE=2
#Default Kannel CNMI = 1,2,0,1,0
message-storage = SM
keepalive-cmd = AT+CSQ;CMEE=2
reset-string = AT$RESET
need-sleep = true
sendline-sleep = 127
Also, for testing purposes, try telneting to your modem from kannel box and
once conneted send some ATI, ATI1 or just enter to see if you are really
connected to your modem. In my case

'telnet 10.10.5.3 2300' you should get someting like:

[EMAIL PROTECTED] ~]# telnet 10.10.5.3 2300
Trying 10.10.5.3...
Connected to 10.10.5.3 (10.10.5.3).
Escape character is '^]'.
OK
telnet> close
Connection closed.
[EMAIL PROTECTED] ~]#

if you do get a connection, problem might be in kannel config. Browse
your modem log to debug. If not, problem might be on
routing/permisions/firewall??

If needed further support add your log files

Regards

Alvaro

-- 
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y
GPRS online
Visitenos en www.smsglobal.com.mx y www.pravcom.com

Reply via email to