Sorry if I post my question in the wrong place. I just think that my problem is 
also about sending message via GSM modem.
Here is my configuration:

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#log-file = "/tmp/kannel.log"
#log-level = 0
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

group = modems
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ" 

group = smsc
smsc = at
smsc-id=nokia
modemtype = nokiaphone
device=/dev/ttyS0
my-number = xxxxxxx
sms-center = xxxxxxx
#connect-allow-ip = 127.0.0.1
log-level = 0
speed = 0

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = xxxxxx
log-level = 0

group = sendsms-user
username = user
password = user
concatenation= true
max-messages = 10

And I try to send message by:
http://localhost:13013/cgi-bin/sendsms?username=user&password=user&from=xxxxxx&to=xxxxxx&text=hello

I got the feedback as: "3: Queued for later delivery".
Could someone help me out to send message?
P/S: I use Nokia E51 as GSM modem and connect via USB cable.

I really appreciate it.

--- On Thu, 1/1/09, sangprabv <[email protected]> wrote:

> From: sangprabv <[email protected]>
> Subject: Re: Connecting a GSM Phone to Linux
> To: "Jovan Kostovski" <[email protected]>
> Cc: [email protected]
> Date: Thursday, 1 January, 2009, 12:31 AM
> Dig some archieves from users list, there's a post from
> me about
> configuring P990i as AT SMSC. TIA.
> 
> 
> Willy
> A tall, dark stranger will have more fun than you.
> 
> 
> -----Original Message-----
> From: Jovan Kostovski <[email protected]>
> To: David Edwards <[email protected]>
> Cc: [email protected]
> Subject: Re: Connecting a GSM Phone to Linux
> Date: Wed, 31 Dec 2008 18:16:49 +0100
> 
> On Wed, Dec 31, 2008 at 3:04 PM, David Edwards
> <[email protected]> wrote:
> > Hi,
> >
> > I have a very lame question, I want to use a Sony
> Ericsson P990i as a modem
> > SMSC via Kannel, but I don't know how to connect
> it to Linux?  Can someone
> > help me?  My system is as follows:
> >
> > Desktop:
> > Ubuntu 8.04 (2.6.24-22-generic)
> >
> > Kannel:
> > 1.4.1-2ubuntu1 (installed via package manager).
> >
> > I don't have bluetooth enabled on my desktop, I do
> have a USB cable for the
> > P990i.
> >
> > Sorry if this is a lame request, but I am reasonable
> new to Linux and very
> > new to Kannel, if someone could send me in the right
> direction, I would
> > appreciate it.
> 
> When you connect the phone to the computer with usb cable
> ubuntu
> should detect it (you'll see a message saying "New
> mobile broadband
> device detected" in the network manager)
> Than open a terminal and type: sudo wvdialconf
> 
> You'll get output similar to the one in wvdialconf.log
> - see the
> attachment (i'm using my SE K750i)
> 
> Take note on lines
> "ttyACM0<*1>: Modem Identifier: ATI -- Sony
> Ericsson K750" - you'll
> need this info for the modems group detection-string and
> detection
> string parameters. I presume you'll get something like
> "Sony Ericsson
> P990"
> 
> "Found an USB modem on /dev/ttyACM0" - for smsc
> group - device parameter
> 
> Create a smsc group:
> group = smsc
> smsc = at
> modemtype = auto
> device=/dev/ttyACM0
> my-number = YOUR_MOBILE_NUMBER
> connect-allow-ip = 127.0.0.1
> 
> than create a modem group
> group = modems
> id = "sonyericsson_K750"
> name = "Sony Ericsson_K750"
> detect-string = "Sony Ericsson"
> detect-string2 = "K750"
> init-string = "AT+CNMI=2,3,0,0,0"
> # speed = 9600 [Default]
> # enable-hwhs = "AT+IFC=2,2" [Default]
> # need-sleep = false [Default]
> # no-pin = false [Default]
> # no-smsc = false [Default]
> # sendline-sleep = 100 [Default, miliseconds]
> # keepalive-cmd = "AT" [Default]
> # broken = false [Default]
> # message-storage = "SM"
> # enable-mms = false [Default]
> 
> You might check the init-string and the other parameters i
> order to
> get it working.
> Usually people are experiencing problems due to bad init
> string
> 
> after this try to start the bearerbox manually in debug
> mode:
> ./bearerbox -v 0 /etc/kannel.conf
> i think that ubuntu stores the config in /etc/kannel.conf
> if not
> change it to the right file location.
> 
> Somewhere in the debug output of bearerbox between the at
> commands you
> should see something similar to:
> DEBUG: AT2[/dev/ttyACM0]: found string <Sony
> Ericsson> plus <K750>,
> using modem definition <Sony Ericsson_K750>
> 
> and at the end:
> INFO: AT2[/dev/ttyACM0]: AT SMSC successfully opened.
> 
> which means that bearerbox has successfully created
> connection to the phone.
> 
> 
> One more thing, I suggest you to download the kannel source
> and
> compile it your self to conform your needs.
> The compiled package is sort of generically compiled ;)
> 
> BR, Jovan




Reply via email to