My configuration is to get proper delivery status report on SM
successfully delivered to phone:

kannel.conf:

(....)

group = smsc
smsc = at2
modemtype = siemens_tc35
sim-buffering = false
keepalive = 30
speed = 19200
pin = 1234
device = /dev/cua0

(....)

group = modems
id = siemens_tc35
#name = "Siemens TC35"
#detect-string = "SIEMENS"
#detect-string2 = "TC35"
init-string = "AT+CNMI=1,2,0,1,1" <--- HERE IS THE DIFFERENCE
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true
message-storage = "SM"

(....)


Kannel is 1.2.1.

I think it works.

Cheers,
Andras

On Mon, 2002-11-25 at 17:14, Oded Arbel wrote:
> 
> You're welcome.
> 
> Can you please supply your modem group configuration, so we may commit it to the CVS?
> 
> --
> Oded Arbel
> m-Wise mobile solutions
> [EMAIL PROTECTED]
> 
> +972-9-9581711 (116)
> +972-67-340014
> 
> ::..
> Where's the Rheinheitsgoben when you need it? 
>       --SubG 
> 
> 
> 
> > -----Original Message-----
> > From: Fogarasi Andras [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, November 25, 2002 5:53 PM
> > To: Oded Arbel
> > Cc: Kannel-users
> > Subject: RE: Delivery status report - Siemens C35i
> > 
> > 
> > Hi!
> > 
> > 
> > 
> > I have had a new try: "AT+CNMI=1,2,0,1,1" works for for 
> > delivery status
> > message - the default in configuration file is 1,2,0,0,1.
> > 
> > 
> > 
> > Thanks,
> > Andras
> > 
> > On Sun, 2002-11-24 at 15:16, Oded Arbel wrote:
> > > 
> > > Maybe the modem init string is wrong, and it does not set 
> > correctly the delivery of +CDS notifications directly to the 
> > TE. I'm using a Siemens M20 with the default M20 init string 
> > w/o a hitch, but you might want to check your modem's user 
> > manual for the correct init string.
> > > 
> > > --
> > > Oded Arbel
> > > m-Wise mobile solutions
> > > [EMAIL PROTECTED]
> > > 
> > > +972-9-9581711 (116)
> > > +972-67-340014
> > > 
> > > ::..
> > > A mathematician is a machine for converting coffee into theorems.
> > > 
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: Fogarasi Andras [mailto:[EMAIL PROTECTED]]
> > > > Sent: Sunday, November 24, 2002 11:54 AM
> > > > To: Oded Arbel
> > > > Cc: Kannel-users
> > > > Subject: Re: Delivery status report - Siemens C35i
> > > > 
> > > > 
> > > > Hello!
> > > > 
> > > > 
> > > > Meanwhile I made some tests.
> > > > 
> > > > I made tries with a Nokia 6310, and everything is OK (the 
> > > > difference is
> > > > that the modemtype setting is nokiaphone) but Siemens doesn't...
> > > > 
> > > > On Siemens the status report comes back - but it appears on 
> > > > the display
> > > > of the phone instead of the modem.
> > > > 
> > > > So, Nokia is OK.
> > > > 
> > > > 
> > > > Andras
> > > > 
> > > > On Sun, 2002-11-24 at 09:48, Oded Arbel wrote:
> > > > > Your dlrurl need to be URL encoded.
> > > > > Also - its quite possible that your network provider does 
> > > > not support
> > > > > status reports to cellular modems - we work with several 
> > > > provider who
> > > > > don't.
> > > > > 
> > > > > --
> > > > > Oded Arbel
> > > > > m-Wise mobile solutions
> > > > > 
> > > > > On Sat, 2002-11-23 at 10:59, Fogarasi Andras wrote:
> > > > > 
> > > > > > Hi!
> > > > > > 
> > > > > > urpmi 
> > > > > > 
> > > > > > I use Kannel 1.2.1, and  Siemens C35i. I set Kannel 
> > to use AT2.
> > > > > > 
> > > > > > I shouled get delivery status reports on the delivery of 
> > > > the message to
> > > > > > the other phone, but I cannot set is.
> > > > > > 
> > > > > > I send sms using:
> > > > > > 
> > > > > >  wget
> > > > > > 
> > > > "http://localhost:13013/cgi-bin/sendsms?user=sprint&password=s
> > > print&text
> > > > > > 
> > > > =izenet&from=9972829&to=2378124&dlrmask=1&dlrurl=http://www.fo
> > > > garasi.com/smsvissza%25P"
> > > > > > 
> > > > > > the kannel.conf:
> > > > > > 
> > > > > > group = core
> > > > > > admin-port=13000
> > > > > > smsbox-port=13001
> > > > > > admin-password=valami
> > > > > > log-file=/var/log/kannel/kannel.log
> > > > > > log-level=3
> > > > > > dlr-storage = internal
> > > > > > 
> > > > > > group = smsbox
> > > > > > bearerbox-host = localhost
> > > > > > sendsms-port = 13013
> > > > > > log-file=/var/log/kannel/smsbox.log
> > > > > > log-level=3
> > > > > > 
> > > > > > group = smsc
> > > > > > smsc = at2
> > > > > > modemtype = siemens_tc35
> > > > > > sim-buffering = false
> > > > > > keepalive = 30
> > > > > > speed = 19200
> > > > > > pin = 1234
> > > > > > device = /dev/cua0
> > > > > > 
> > > > > > group = sendsms-user
> > > > > > username = sprint
> > > > > > password = sprint
> > > > > > 
> > > > > > group = sms-service
> > > > > > keyword = default
> > > > > > exec = "/sprint/sms/inbound.pl %p %a"
> > > > > > max-messages = 0
> > > > > > 
> > > > > > (... and modem settings from modems.conf ...)
> > > > > > 
> > > > > > 
> > > > > > What is worng? What is my fault? Kannel 1.2.1 can do dlr 
> > > > on at2, can't
> > > > > > it?
> > > > > > 
> > > > > > 
> > > > > > Thanks,
> > > > > > Andras
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > 
> > > > > ______________________________________________________
> > > > >  Scanned and protected by Inflex and McAfee AntiVirus
> > > > -- 
> > > > 
> > _____________________________________________________________________
> > > > Fogarasi, Andr�s  informatikus m�rn�k, k�zgazd�sz szakm�rn�k/
> > > >                   information technology engineer, engineer of economics
> > > > http://www.fogarasi.com/
> > > > Mobile: +36 30 2378124
> > > > PGP key: http://www.fogarasi.com/gpg/fog-pub.html
> > > > 
> > _____________________________________________________________________
> > > > Unix/Linux system administration, system programming,
> > > > web development, system integration, consultancy
> > > > 
> > _____________________________________________________________________
> > > > 
> > > > 
> > > ______________________________________________________
> > >  Scanned and protected by Inflex and McAfee AntiVirus
> > > 
> > -- 
> > _____________________________________________________________________
> > Fogarasi, Andr�s  informatikus m�rn�k, k�zgazd�sz szakm�rn�k/
> >               information technology engineer, engineer of economics
> > http://www.fogarasi.com/
> > Mobile: +36 30 2378124
> > PGP key: http://www.fogarasi.com/gpg/fog-pub.html
> > _____________________________________________________________________
> > Unix/Linux system administration, system programming,
> > web development, system integration, consultancy
> > _____________________________________________________________________
> > 
> > 
> ______________________________________________________
>  Scanned and protected by Inflex and McAfee AntiVirus
> 
-- 
_____________________________________________________________________
Fogarasi, Andr�s  informatikus m�rn�k, k�zgazd�sz szakm�rn�k/
                  information technology engineer, engineer of economics
http://www.fogarasi.com/
Mobile: +36 30 2378124
PGP key: http://www.fogarasi.com/gpg/fog-pub.html
_____________________________________________________________________
Unix/Linux system administration, system programming,
web development, system integration, consultancy
_____________________________________________________________________


Reply via email to