I see..
but how about if i want to save all messages in my database (mysql, postgre), can (sendsms) do it?
or i should create some script to do the list??

Kyriacos Sakkas wrote:

/cgi-bin/ is "created" on the specified port by kannel, you do not need
to create anything.

As for where the delivery is to be made to, you never mentioned, if you
wish to put a different delivery number feel free to put that in the
get-url. The configuration I gave is just an example, it is very likely
it has other errors too.
If you need to do anything more inteligent than a prefix re write on the
number (which can be done in the smsc group via the unified-prefix
parameter) you will need an external script/aplication to do the
translation/mapping.

Kyriacos Sakkas.

Ricky Wibowo wrote:

By the way,
sorry if i'm wrong, your configuration seems that if any incoming
messages, it will be send again to the sender (MO)...

thanx

Kyriacos Sakkas wrote:

although a number of solutions are possible, I would consider the
following to be the simplest:
configure both smsc's as normal, then configure an smsbox tha can be
used to post to both.
then create a default service for each of the smsc's, which has a url
pointing  to  the smsbox, and also passes the smsc to be delivered from.
Here is a pseudo config:
#########################################
group   = smsc
smsc   = smpp
smsc-id   = SMSC-1

group  = smsc
smsc  = smpp
smsc-id    = SMSC-2

group   = sms-service
keyword  = default
get-url  =
"http://localhost:8080/cgi-bin/sendsms?smsc=SMSC-2&?username=test2&password=test2&sender=%p&text=%a&recipient=%P";

accepted-smsc   = SMSC-1

group   = sms-service
keyword   = default
get-url   =
"http://localhost:8080/cgi-bin/sendsms?smsc=SMSC-1&username=test2&password=test2&sender=%p&text=%a&recipient=%P";

accepted-smsc   = SMSC-2

group = smsbox
bearerbox-host = localhost
sendsms-port = 8080

group = sendsms-user
name = "Test"
username = test2
password = test2
#########################################################

Hope this helps,
  Kyriacos Sakkas

Pablo Salinas wrote:



Hi there,
   I want Kannel to work as an SMS Gateway between different SMSCs.
But I don't know how to set on the config file so that messages from
SMSC A are routed to SMSC B and viceversa. Could you send me a
sample configuration file?

Thanks in advance.

regards,
   Pablo Salinas


Advertencia:
Este mensaje contiene la opinión personal del remitente y no implica
asumir
obligacion alguna en nombre de Hutchison Telecom Paraguay S.A. Los
accionistas, directores y gerentes de Hutchison Telecom Paraguay
S.A. no
asumen responsabilidad alguna con relación al contenido del presente
mensaje.
_______________________________________________________________________
Disclaimer:
This message represents the personal views and opinion of the
individual
sender and under no circumstances represents those of Hutchison Telecom
Paraguay S.A. The shareholders, directors and management of Hutchison
Telecom Paraguay S.A. accept no responsibility and accordingly shall
have no
liability to any party whatsoever with respect to the contents of this
message.







Reply via email to