Re: sendsms and smsc parameter

2002-04-26 Thread Stipe Tolj

Yes the docs tell the truth.

In general specifying a "&smsc=foobar" in the GET request should route
the message to the specific smsc-id = "foobar".

Can you provide us a kannel.conf setup and example GET request where
this is failing?

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: sendsms and smsc parameter

2002-04-26 Thread Andrea Viscovich

Well, I'm sorry Stipe.
I just thought that setting smsc was enought, instead I realized that I
should
set preferred-smsc-id to themselves for each smsc group, and now it works.
Just one question.
Now I have
..
smsc-id = A
preferred-smsc-id = A
..
..
smsc-id = B
preferred-smsc-id = B
...
etc. for each modem.
If I send 10 sms setting smsc=A they will be all delivered by A or after the
first one kannel detects
A is busy and forward it to B?
Thanks
Andrea


- Original Message -
From: "Stipe Tolj" <[EMAIL PROTECTED]>
To: "Andrea Viscovich" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 6:35 PM
Subject: Re: sendsms and smsc parameter


> Yes the docs tell the truth.
>
> In general specifying a "&smsc=foobar" in the GET request should route
> the message to the specific smsc-id = "foobar".
>
> Can you provide us a kannel.conf setup and example GET request where
> this is failing?
>
> 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: sendsms and smsc parameter

2002-04-26 Thread Angel Fradejas

Kannel will route the messages to smsc-id=A, unless it is offline
(status=connecting,reconnecting), in that case it would route it to
smsc-id=B.

If you want to avoid that possibility, use allowed-smsc-id.

smsc-id = A
preferred-smsc-id = A
allowed-smsc-id = A
..
..
smsc-id = B
preferred-smsc-id = B
allowed-smsc-id = B



Angel Fradejas
Mediafusión España, S.A.
[EMAIL PROTECTED]
www.mediafusion.es
Tel. +34 91 252 32 00
Fax +34 91 572 27 08



-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
nombre de Andrea Viscovich
Enviado el: viernes 26 de abril de 2002 20:26
Para: Stipe Tolj
CC: [EMAIL PROTECTED]
Asunto: Re: sendsms and smsc parameter


Well, I'm sorry Stipe.
I just thought that setting smsc was enought, instead I realized that I
should
set preferred-smsc-id to themselves for each smsc group, and now it works.
Just one question.
Now I have
..
smsc-id = A
preferred-smsc-id = A
..
..
smsc-id = B
preferred-smsc-id = B
...
etc. for each modem.
If I send 10 sms setting smsc=A they will be all delivered by A or after the
first one kannel detects
A is busy and forward it to B?
Thanks
Andrea


- Original Message -
From: "Stipe Tolj" <[EMAIL PROTECTED]>
To: "Andrea Viscovich" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 6:35 PM
Subject: Re: sendsms and smsc parameter


> Yes the docs tell the truth.
>
> In general specifying a "&smsc=foobar" in the GET request should route
> the message to the specific smsc-id = "foobar".
>
> Can you provide us a kannel.conf setup and example GET request where
> this is failing?
>
> 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: sendsms and smsc parameter

2002-04-27 Thread Nisan Bloch

At 11:49 AM 4/26/02 +0200, Andrea Viscovich wrote:
As
someone pointed out sometime ago,
if you have multiple smsc, the parameter smsc
in sendsms url does not work.
I know the routing  can be done by
properly write the kannel conf file,
but I would like to choose it from a web page
time by time, so the only thing is
to have the parameter
working.
this does work.. I use it all the time..
As in the
conf file the name is smsc-id not smsc, I hope the doc tell the truth
saying
the parameter name in sendsms is
smsc.
It's difficult to solve
it?
when you call smsbox use..
http://./sendsms?.&smsc=
In your Kannel config, you must allocate smsc-ids to each SMSC. These
dont have to be unique; this is usefull to group SMSCs.
Then in the Kannel config you either use: denied-smsc-id OR
allowed-smsc-id. If using denied-smsc-id no messages with those smsc-ids
set in sendsms will be routed to that SMSC. Alternatively if you use
allowed-smsc-id in the kannel conf then only messages with that
particular smsc_id will be sent through this SMSC.
eg.
group=smsc
smsc-id=A
denied-smsc-id=X;Y;Z
group=smsc
smsc-id=X
allowed-smsc-id=X
will allow any message with smsc-id other than X,Y,Z to be sent through
SMSC A
will only allow messages with smsc-id set to X be sent through SMSC
X
nisan