Problem with incoming sms

2002-02-12 Thread Bjoern Buettner

I've a silly problem with incomming message from D2!

D2 sends a SMS for information regardig your account or news, normally.
The problems is "no service" is specified for this message, so that kannel
cannot receive more incoming SMS (queueing  perhaps ?) it seems that kannel
cannot handle it.
Has anybody a solution ??


Bjoern

kind regards

Vodafone TeleCommerce GmbH
Architecture & Engineering
Bjoern Buettner
Daniel Goldbach Str. 17-19
40880 Ratingen

Tel. +49 (0) 21 02 / 97 20 13
Fax +49 (0) 21 02 / 97 15 14

mailto:[EMAIL PROTECTED]
www.vodafone.com
www.vodafone-telecommerce.de






Re: segmentation fault

2002-02-12 Thread Aarno Syvänen

Hi Peter,

Peter Löfman wrote:
> 
> Hi,
> 
> with latest cvs smsbox crashes with error message "segmentation fault" when i try to 
>send xml ota configuration message.
> With the EXACT same configuration with about one week old cvs it is working 
>perfectly!
> 
> What can be the problem?

Problem seems to be msg->sms.smsc_id = NULL, and the whole branch
containing it.
Just remove it, and things work nicely.

aarno




Re: Problem with incoming sms

2002-02-12 Thread Stipe Tolj

Bjoern Buettner wrote:
> 
> I've a silly problem with incomming message from D2!

I guess this is not D2 specific?!

> D2 sends a SMS for information regardig your account or news, normally.
> The problems is "no service" is specified for this message, so that kannel
> cannot receive more incoming SMS (queueing  perhaps ?) it seems that kannel
> cannot handle it.
> Has anybody a solution ??

Do you mean there is no keyword matching the incoming message?

If yes you will (or at least should) define a "default" sms-service
where all non-routed messages are going to be handled. See the user's
guide for details.

But I'm wondering what you mean by "so that kannel cannot receive more
incoming SMS..."?! Hmmm, what happens exactly?

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: [RFC] SMSC redundancy (Was: RE: [REPOST] [PATCH] emi2 driver login behaviour)

2002-02-12 Thread Stipe Tolj

Bruno David Simões Rodrigues wrote:
> 
> Has anyone picking this job? (sorry, couldn't read much of the mailing list
> lately)
> 
> I was asked to do smsc connection redudancy to emi2 and I might pick this job.

great Bruno, I'm +1 on routing this to you.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




AT driver with GSM phone.

2002-02-12 Thread ArturC

Is possible make SMSC with GSM phone like ericsson R320? 
I try that, but i can not receive any sms to kannel. Driver AT works ok.
Any ideas?

Artur






Re: AT driver with GSM phone.

2002-02-12 Thread Stipe Tolj

ArturC wrote:
> 
> Is possible make SMSC with GSM phone like ericsson R320?
> I try that, but i can not receive any sms to kannel. Driver AT works ok.
> Any ideas?

I guess yes, at least I remember sort of someone said it would work.

Has the responsible person updated the docs for that?

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: [RFC] SMSC redundancy

2002-02-12 Thread Andreas Fink

>Bruno David Simões Rodrigues wrote:
>>
>>  Has anyone picking this job? (sorry, couldn't read much of the mailing list
>>  lately)
>>
>>  I was asked to do smsc connection redudancy to emi2 and I might 
>>pick this job.
>
>great Bruno, I'm +1 on routing this to you.
>

what do you exactly mean by connection redundancy? I consider having 
4 redundant connections to the local SMSC and I didnt need anything 
to be modified in Kannel for it.


-- 

Andreas Fink
Fink-Consulting

--
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
--
Something urgent? Try http://www.smsrelay.com/  Nickname afink




AW: Problem with incoming sms

2002-02-12 Thread Bjoern Buettner

> I guess this is not D2 specific?!
right it's a normal msg.!

> Do you mean there is no keyword matching the incoming message?
>
> If yes you will (or at least should) define a "default" sms-service
> where all non-routed messages are going to be handled. See the user's
> guide for details.
that's configured yet.

group = sms-service
keyword = default
text = "No service specified"

group = sendsms-user
faked-sender = 3253686237
username = xxx
password = xxx
#user-deny-ip = ""
user-allow-ip = "x.x.x.x"
max-messages = 2
concatenation = true
#footer = "   Thank you for using this vodafone service don't call back by
this number!"
#footer = "+Happy new year. This is a vodafone SMS service, don't use this
number for callback!+"
footer = "++This is a service by vodafone, don't callback!++"

Seems it dosn't work?
The main problem is, if a user sends a sms via Kannel to a recipient, the
recipient sends a msg. back to the phone number (to SMS modem), Kannel said
"No service specified"(should the recipient get the msg. normally?)that's
ok, but I guess if Kannel get's too much message with no service, Kannel
cannot read the other msg with have a service specified.?!
SIM card full, or something like that perhaps, is it possible!?

The "fake-sender" attribute dosn't work also (TC35 Problem ?)

> But I'm wondering what you mean by "so that kannel cannot receive more
> incoming SMS..."?! Hmmm, what happens exactly?
I mean, if a D2 msg arrives, (and no service is specified) it seems that the
msg. hangs in the storefile.

I always have a problem with incomming msg. which have no service. Equal to
D2 msg. or msg recieved by user to the modem.


Bjoern


kind regards

Vodafone TeleCommerce GmbH
Architecture & Engineering
Bjoern Buettner
Daniel Goldbach Str. 17-19
40880 Ratingen

Tel. +49 (0) 21 02 / 97 20 13
Fax +49 (0) 21 02 / 97 15 14

mailto:[EMAIL PROTECTED]
www.vodafone.com
www.vodafone-telecommerce.de


> -Ursprüngliche Nachricht-
> Von: Stipe Tolj [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 12. Februar 2002 11:59
> An: Bjoern Buettner
> Cc: [EMAIL PROTECTED]
> Betreff: Re: Problem with incoming sms
>
>
> Bjoern Buettner wrote:
> >
> > I've a silly problem with incomming message from D2!
>
> I guess this is not D2 specific?!
>
> > D2 sends a SMS for information regardig your account or news, normally.
> > The problems is "no service" is specified for this message, so
> that kannel
> > cannot receive more incoming SMS (queueing  perhaps ?) it seems
> that kannel
> > cannot handle it.
> > Has anybody a solution ??
>
> Do you mean there is no keyword matching the incoming message?
>
> If yes you will (or at least should) define a "default" sms-service
> where all non-routed messages are going to be handled. See the user's
> guide for details.
>
> But I'm wondering what you mean by "so that kannel cannot receive more
> incoming SMS..."?! Hmmm, what happens exactly?
>
> Stipe
>
> [EMAIL PROTECTED]
> ---
> Wapme Systems AG
>
> Münsterstr. 248
> 40470 Düsseldorf
>
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
>
> E-Mail: [EMAIL PROTECTED]
> Internet: http://www.wapme-systems.de
> ---
> wapme.net - wherever you are
>
>
> -
> This Mail has been checked for Viruses
> Attention: Encrypted mails can NOT be checked!
>
> **
>
> Diese Mail wurde auf Viren geprueft
> Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
> -
>





Re: AW: Problem with incoming sms

2002-02-12 Thread Andreas Fink

>  > I guess this is not D2 specific?!
>right it's a normal msg.!
>
>>  Do you mean there is no keyword matching the incoming message?
>>
>>  If yes you will (or at least should) define a "default" sms-service
>>  where all non-routed messages are going to be handled. See the user's
>>  guide for details.
>that's configured yet.
>
>group = sms-service
>keyword = default
>text = "No service specified"


That will reply to any unknow keyword and that definitively works.
you might want to add a max-messages=0 to suppress any message being sent.

>Seems it dosn't work?
>The main problem is, if a user sends a sms via Kannel to a recipient, the
>recipient sends a msg. back to the phone number (to SMS modem), Kannel said
>"No service specified"(should the recipient get the msg. normally?)that's
>ok, but I guess if Kannel get's too much message with no service, Kannel
>cannot read the other msg with have a service specified.?!
>SIM card full, or something like that perhaps, is it possible!?

No. 1st, your messages dont go through your sim card but straight 
into kannel so it can not be full. however the mobile can not take 
more than a certain message amount per minute. So if houndrets of 
people send you messages at the same time, some of the might no tbe 
able to be delivered.

>The "fake-sender" attribute dosn't work also (TC35 Problem ?)

No. This is normal for SIM card operation as the SIM card is the 
entity which locks you to a specific sender-id. You can only set the 
sender-id on non GSM-modem connections.


>I mean, if a D2 msg arrives, (and no service is specified) it seems that the
>msg. hangs in the storefile.

Shouldnt be the case. What is the source of the incoming message?

>I always have a problem with incomming msg. which have no service. Equal to
>D2 msg. or msg recieved by user to the modem.
>

-- 

Andreas Fink
Fink-Consulting

--
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
--
Something urgent? Try http://www.smsrelay.com/  Nickname afink




RE: AW: Problem with incoming sms

2002-02-12 Thread Oded Arbel



> -Original Message-
> From: Andreas Fink [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 12, 2002 5:27 PM
> To: Bjoern Buettner
> Cc: [EMAIL PROTECTED]
> Subject: Re: AW: Problem with incoming sms
> 
> >ok, but I guess if Kannel get's too much message with no 
> service, Kannel
> >cannot read the other msg with have a service specified.?!
> >SIM card full, or something like that perhaps, is it possible!?
> 
> No. 1st, your messages dont go through your sim card but straight 
> into kannel so it can not be full. however the mobile can not take 
> more than a certain message amount per minute. So if houndrets of 
> people send you messages at the same time, some of the might no tbe 
> able to be delivered.

This is not exactly correct. in our setups we have noticed that under
heavy load sometimes messages are not deliverd to Kannel but instead
dropped in the SIM memory (we've seen this behaviour using two different
modems). then if the SIM memory is filled up, no SMs will be recieved
anymore - even if the link is no longer busy. 

That is exactly the problem I tried to solve with the AT2 patch I will
next submit...

Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

--
Why do they call them "apartments" when they are all stuck together? 
-- Why Why Why n°28




RE: About AT modules and buffering through SIM memory again

2002-02-12 Thread Oded Arbel



> -Original Message-
> From: Stipe Tolj [mailto:[EMAIL PROTECTED]]
> Subject: Re: About AT modules and buffering through SIM memory again
> 
> >From my side, as long as basic functionality is not harmed and
> stability is improved, please submit and we will review it.

Ok, here's the m-Wise version of Matthew Flex's SIM buffering - it's a
patch against smsc_at2.c and I tried to stay away from touching anything
not inside an #ifdef. there are a few places where I couldn't help
myself ( ;-> ), but most is pretty self explanatory, except in one case
: I had to change at2_wait_modem_command to return the number of
messages received and processed during the call, and I found no other
easy way to do it, w/o rewriting major functionality or submitting to
ugly non-procedural programming style.

Oh, also the timestamp patches are applied with a bit of a change - I
used a swap_nibbles helper function as suggested by Richard Braakman.

Cheers

Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

--
A low level language is one whose programs require attention to the
irrelevant.




RE: About AT modules and buffering through SIM memory again

2002-02-12 Thread Oded Arbel

Did I just forgot to attach the patch ? yes I did :-)

Sorry

Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

--
Boris: "In addition to our summer and winter estate, he owned a
valuable piece of land. True, it was a small piece, but he
carried it with him wherever he went."
-- from 'Love and Death'

> > -Original Message-
> > From: Stipe Tolj [mailto:[EMAIL PROTECTED]]
> > Subject: Re: About AT modules and buffering through SIM memory again
> > 
> > >From my side, as long as basic functionality is not harmed and
> > stability is improved, please submit and we will review it.
> 
> Ok, here's the m-Wise version of Matthew Flex's SIM buffering 
> - it's a patch against smsc_at2.c and I tried to stay away 
> from touching anything not inside an #ifdef. there are a few 
> places where I couldn't help myself ( ;-> ), but most is 
> pretty self explanatory, except in one case : I had to change 
> at2_wait_modem_command to return the number of messages 
> received and processed during the call, and I found no other 
> easy way to do it, w/o rewriting major functionality or 
> submitting to ugly non-procedural programming style.
> 
> Oh, also the timestamp patches are applied with a bit of a 
> change - I used a swap_nibbles helper function as suggested 
> by Richard Braakman.
> 
> Cheers
> 
> Oded Arbel
> m-Wise Inc.
> [EMAIL PROTECTED]
> 
> --
> A low level language is one whose programs require attention 
> to the irrelevant.
> 



smsc_at2.patch
Description: smsc_at2.patch