Are you sure to get modem answer if you are using minicom?
Usb are not like common serial connection and usually are managed through
hotplug process.
Regards
-----Original Message-----
From: "Indunil Jayasooriya"<[EMAIL PROTECTED]>
Sent: 02/06/07 07:16:09
To: "[email protected]"<[email protected]>
Subject: USB Mobile phone + Kannel -- Help
Hi,
I attached a mobile phone (its name I-MATE SMART PHONE) to a box running
CentOS 5 by using a usb cable which came with that phone.
I installed Kannel RPM. Pls see below for installed RPMs.
[EMAIL PROTECTED] ~]# rpm -qa |grep kannel
kannel-1.4.1-2.rf
kannel-debuginfo-1.4.1-2.rf
kannel-devel-1.4.1-2.rf
Now, it shows /dev/ttyUSB0
Here is my /etc/kannel.conf file
[EMAIL PROTECTED] ~]# cat /etc/kannel.conf
#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# It is run like this:
#
# 1% gw/bearerbox gw/smskannel.conf
# 2% gw/smsbox gw/smskannel.conf
# 3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, send email to [email protected]
#
# Kalle Marjola May 2000
# Changed for new fakesmsc version by Uoti Urpala Jan 2001
# Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001
#
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/var/log/kannel.log"
#log-level = 0
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "00358,0"
#access-log = "access.log"
#store-file = "kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
# SMSC CONNECTIONS
#
#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
#connect-allow-ip = 127.0.0.1
#NOKIA 7110
#group = smsc
###smsc = at2
#smsc = at
#smsc-id = 7110
#modemtype=nokiaphone
#device=/dev/ttyS0
#speed = 19200
#pin=1234
#include=/usr/local/etc/modems.conf
#GSM modem
#This driver allows a GSM Modem or Phone to be connected to Kannel and work
as a virtual SMSC
group = smsc
smsc = at
modemtype = auto
#device = /dev/ttyS0
device = /dev/ttyUSB0
speed = 115200
#speed = 9600
#pin = 2345
connect-allow-ip = 127.0.0.1
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
# this sender is for Kannel relay testing (http_smsc)
group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
# SERVICES
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
# this service is for Kannel relay testing, when this Kannel
# works as relay gateway
group = sms-service
keyword = relay
get-url = "
http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=% r"
max-messages = 0
# there should be default always
group = sms-service
keyword = default
text = "No service specified"
Now, I want to send a sms to my friends. How can I do that?
It has a web interface called sendsms.php. I copied it to /var/www/cgi-bin.
Then I accessed as below.
http://localhost/cgi-bin/sendsms.php
I got the interface. So I entered my mobile number and a text message. Then
, I clicked submit button. But, It went black. No responce. How can I solve
this issue?
--
Thank you
Indunil Jayasooriya