First of all, thanks everybody for all the responses. Now, let me be
more specific on the my network scenario:
As I said before, I need Kannel to work as an SMS-Gateway, this is the
network configuration:
Foreign Operator A
----------
--------- Server SMPP V3.4 Client-----------------
| My SMSC | | SMS GW
|-----------------------------| Routing Prefix| | |
| |
| 222 |
| Routing |Server SMPP V 3.4 Client | |
--------------------
| Prefix |------------------------------------------| Kannel |
| | |
|Server SMPP V3.4 Client--------------
| 111 | |
|-----------------------------| Routing Prefix|
-------------------
---------------- | 333 |
---------------------
Foreign Operator B
Numbers on my Network start with prefix 111, while I have two other
Operators (A and B) connected to my SMS GW with number prefixes 222
and 333.
I need SMSs from my SMSC to be routed to Operator A or B depending on
the Destination Number Prefix. And I need SMSs coming from Operators A
and B to be routed to my SMSC (In case its destinated to Numbers with
Prefix 111).
As you can see, only "My SMSC" works as an SMPP server, the other two
network operators get connected to my SMS GW as SMPP Clients.
I've tried the sendsms script in order to send SMSs to my SMSC, but
it's not working, I'm getting an "Unknown request." response. Although
the reception from SMS sent to my SMSC are working fine.
Also, let me say that only connection from my SMSC to SMS GW is
private, connections from other Operators are public, so security
issues should be taken into account.
Find attached my configuration file:
# Core Configuration
####################
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = xxx
box-allow-ip = "*.*.*.*"
access-log = "/var/log/kannel/access.log"
######################################################################################
# SMSC CONNECTIONS
###################
# My SMSC
group = smsc
smsc = smpp
smsc-id = MYSMSC
host = xxx.xxx.xxx.xxx
port = xxxx
receive-port = xxxx
smsc-username = "xxx"
smsc-password = "xxx"
system-type = ""
address-range = ""
########################################################################################
# SMSBOX SETUP
###############
# This part of the configuration file defines the SMS properties of Kannel
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
# there should be default always
########################################################################################
# SEND-SMS USERS
################
# This part of the configuration file enable an SMS push. Each of
these sendsms-user groups define one account,
# which can be used for the SMS push, via HTTP interface
group = sendsms-user
username = xxx
password = xxx
#######################################################################################
# SERVICES
############
group = sms-service
keyword = default
text = "No service specified"
Can you give me more hints on how to implement my network configuration?
Why the sendsms script isn't working?
Thanks again.
regards,
Pablo Salinas
-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre
de Kyriacos Sakkas
Enviado el: miƩrcoles, 22 de junio de 2005 4:36
Para: [email protected]
Asunto: Spam:Re: Configuring Kannel as an SMS Gateway
Beats mine for simplicity...
Kyriacos "must re read the docs" Sakkas.
Gareth Reakes wrote:
> Hey,
>
> Take a look at reroute properties for SMS centers. I have not used
> them but they look like they should do what you want.
>
>
> http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN1085
>
>
> Cheers,
>
> Gareth
>
> Ricky Wibowo wrote:
>
>>
>>
>> Gareth Reakes wrote:
>>
>>> Hi,
>>>
>>> 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?
>>>
>>>
>>>
>>>
>>> It depends what protocols each are speaking. For example, if it was
>>> HTTP create a new http type in smsc_http and then either match all
>>> incoming messages from that smsc and send to another smsc in the
>>> geturl parameter. This is all explained in the docs (although it is
>>> hard to understand sometimes). What particular part of the docs are
>>> you having problems with?
>>>
>> How about SMPP Prtotocol that used?? If we want to fetch all incoming
>> messages from smsc, get-url paramater needed??
>> Or it's only for smsc_http type? I'm still confuse about this...
>>
>> thanx
>>
>
--
Kyriacos Sakkas
Development Team
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email: [EMAIL PROTECTED]
http://www.netsmart.com.cy
Taking Business to a New Level!
** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender at [EMAIL PROTECTED] **