On Freitag, September 19, 2003, at 11:22 Uhr, Stamatopoulos Panagiotis ([EMAIL PROTECTED]) wrote:
Stipe,
Thanks for the response, BUT this is not exactly what I am asking for. I
already implemented the scenario you describe (could not fetch). In my
scenario the HTTP request is delivered to the HTTP server, BUT BEFORE the
HTTP server delivers the expected response to kannel, the connection goes
down.
who brings the connection down? Is it because kannel doesnt wait long enough or because the server closes down.
It can also be a proxy server or firewall in the middle which cuts...
So kannel thinks that everything is ok (it delivered the http requestAndreas Fink
sucessfully), BUT it gets no response-SMS and the user receives nothing in
his mobile (as the connection is down).
Any further ideas ?
Thanks in advance
Panagiotis Stamatopoulos
-----Original Message-----
From: Stipe Tolj [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 11:32 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Connection failed ?
An SMS is sent from a user's mobile phone to kannel. Kannel identifies theexpects
specific service, and a URL is requested via the GET-method. Kannel
the response from the URL, BUT, the connection between kannel and HTTPto
Server is lost, BEFORE kannel receives the response SMS, that is supposed
return as an answer to user. Is there any way to handle this situation,e.g.
sending an SMS to the user after waiting for 2 or 3 minutes and not havinga
response from the HTTP server? I understand that kannel can handle some
situations like requestfailed, couldnotfetch, requestfailed, emptymessage,
but I don't think that can handle the above scenario. Am I correct?
Do you have any ideas ? Waiting for your response. Thanks in advance
yes, Kannel (or specifically the smsbox) can handle this. smsbox can
have an HTTP request queueing mechanism where you can have several
tries to deliver the HTTP request to the HTTP server. Please see
user's guide for configuration directives.
Now as smsbox will tried all HTTP GETs as failed, when no answer is
given, it will retry to N times that you can configure. If it fails
for all N times, then the smsbox will pass a "could not fetch" message
to the user via bearerbox.
Stipe
[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
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 message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
Global Networks Switzerland AG
------------------------------------------------------------------
Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/� [EMAIL PROTECTED]
------------------------------------------------------------------
