Even if you want to establish a RX connection to SMSC, your Kannel gateway has to initiate a BIND_RX to your SMSC. So its not that for RX connection, SMSC will connect to your IP/Port with a user/pass supplied by you. Do note that SMSC always acts as server, so IP/Port and user/password are always provided by SMSC admin.

For your requirement, configure your Kannel gateway as:

group = smsc
smsc = smpp
smsc-id = ThisSMSC
host=<SMSC IP address. note: This is *not* your gateway machine IP>
port = <any dummy port number...can be set to 0...this will result in Kannel to continuously retry connection after retry interval. You may choose to ignore these retries but note that specification of this parameter is mandatory in configuration file>
receive-port = <your receive port>
smsc-username = <userid as given by SMSC provider or the one agreed between you and ur provider>
smsc-password = <password as given by SMSC provider or the one agreed between you and ur provider>
Please note that for RX connection, SMSC will not originate a BIND_RX, so do not wait for any authentication request on your RX port. Its your Kannel gateway which will send a BIND_RX towards SMSC for authentication.

HTH,
Jeetendra

Amin Abbaspour wrote:
Hi,

I set the below config, but kannel complaines that not 'host' is
specified. When I set 'host=<my-ip>', kannel tries to bind to it(and not
to LISTEN on that port!)

Do you have the kannel LISTEN on receive-port with below config?

Thanks

  
I have smsc accounts with tx/rx access but i use kannel only for rx and
use
a self developed smpp gateway for tx.

I set port=0 and receive-port=<port given by smsc admin>

Here is a sample portion from a smskannel.conf:
group = smsc
smsc = smpp
smsc-id = ThisSMSC
port = 0
receive-port = 1234
smsc-username = "userid"
smsc-password = "password"

Regards,

Ambar Roy

One97 Communications (P) Ltd.
701-702, Arunachal Building,
19 Barakhamba Road,
New Delhi - 110 001

98100-94479
[EMAIL PROTECTED]
----- Original Message -----
From: "Amin Abbaspour" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 10, 2004 6:21 PM
Subject: Kannel as SMPP receiver(again)


    
Hi all,

This question seems to be asked several times, and as I searched the
list,
the answer is 'yes', but no where I can find a clear answer.

My Question is:
If I wanna receive SMS from another SMSC(they do not support 'tr') with
SMPP protocol, where should I define my port number and user/password(In
my machine).

I looked at the user guide's SMPP part, and noticed that
port/receiver-port are both about the other side SMPP, not my machine.
for
example when I set my receive-port, kannel tries to bind to remote host
in
that port.

If this can be done, would you please exactly mention the place where
port
and username/password of my kannel box for SMPP can be set. are they the
same as smsbox user/pass?

Thanks in advance
Amin




      


  

Reply via email to