Thanks Diego. I’ll try that and let you know how it went.

 

Nii Amon,

 

Rancard Solutions Ltd.,

web: HYPERLINK
"http://www.rancardsolutions.com"http://www.rancardsolutions.com

cell: +233.27.617.6997

office: +233.21.782.949

   _____  

From: Diego Helmann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 22, 2006 2:00 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Max-messages and omit-empty

 

Hi

Are you sure that you are falling in the rigth sms-service?

How you tryed:

omit-empty = true

max-messages = 0

at the 2 of the servicies? Just in the case you are using the other one.

 

Regards

 

 

Diego

 

On 11/21/06, Nii Amon Dsane <HYPERLINK
"mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]> wrote: 

Hi

 

I have a problem with Kannel [current version is 1.4.1] pulling responses on
certain services. I have a number of services in my Kannel conf file, two of
which I'm considering. Now one of them accepts from all shortcodes and the
other is specific to a particular shortcode. On that service I do not want
Kannel to pull responses to requests. The configurations for the two
services are listed below: 

 

group = sms-service

keyword = default

catch-all = true

get-url = "HYPERLINK
"http://server:port/processor?keyword=%25k&from=%25p&text=%25r&time=%25t&to=
%25P&smsc=%25i&msg=%25a" \n
http://server:port/processor?keyword=%k&from=%p&text=%r&time=%t&to=%P&smsc=%
i&msg=%a"

 

## Silent Shortcodes -- Kannel should not pull responses to messages sent to
these numbers

 

group = sms-service

keyword = default

catch-all = true

get-url = "HYPERLINK
"http://server:port/processor?keyword=%25k&from=%25p&text=%25r&time=%25t&to=
%25P&smsc=%25i&msg=%25a" \n
http://server:port/processor?keyword=%k&from=%p&text=%r&time=%t&to=%P&smsc=%
i&msg=%a"

omit-empty = true

max-messages = 0

allowed-receiver-prefix = "xxx"

 

I have set the omit-empty parameter on the silent service to true such that
the Kannel will not pull any < Empty reply from service provider> responses
for requests sent to this shortcode. I have also set max-messages parameter
to 0 to make sure that no responses are pulled for requests sent to this
service. The allowed-receiver-prefix dictates how the service routing is
done. 

 

Now I have set up a page that produces an empty page to test. When I send
requests to the silent service [for which kannel should not pull any
responses], I ironically get the <Empty reply from service provider>
response. I would have thought that the omit-empty and max-messages will
definitely ensure that absolutely no responses are sent back to the user. 

 

1.      I have to ask a question though: the kannel documentation states
that max-messages parameter works only when the response is not an error
message in which case Kannel ignores the parameter setting and pulls a
response to the user. If that is the case it would then mean that the <Empty
reply from service provider> is an error message and so Kannel pulls the
response to the user. Is this the case? 
2.      Is there a hierarchy in the message pull parameter usage such that
one of the parameters can override the other i.e. when both omit-empty and
max-messages are set and the response is <Empty reply from service
provider>, then max-messages overrides omit-empty and pulls a response to
the user because it interprets <Empty reply from service provider> as an
error message. 

 

How can I set up these services such that absolutely no messages are pulled
to the user on the second service?

 

Thanks for all your help.

Nii Amon,

 

Rancard Solutions Ltd.,

web: HYPERLINK "http://www.rancardsolutions.com/";
\nhttp://www.rancardsolutions.com

cell: +233.27.617.6997

office: +233.21.782.949

 

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/543 - Release Date: 11/20/2006

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.12/545 - Release Date: 11/21/2006


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.12/545 - Release Date: 11/21/2006
 

Reply via email to