Ok, Very simple.

I have an SMPP connection to an Operator (GSM).

I want to receive messages from it and I also want to be able to send
messages to it.

>From the document/manual I read, I understand if messages are sent from the
http://host:sms-port/cgi-bin/sendsms will direct the message to the SMSBox
associated with the username used in sending the message and the Box will
forward the message to either the specified SMSC in the request or the
forced SMSC associated with the user.
For this purpose, I created an SMSBox and I have a dedicated transmitter
(only) SMPP link to my provider. Note: I linked (in the routing group) this
SMSC with this SMSBox and made this SMSC the forced SMSC for a username I
created (called telconame). 

However, I have another SMPP link binded in a transceiver mode. I want the
message received on this link (SMSC) to be routed to another SMSC (HTTP
type) which - uses the field send-url to - send message to desire
application. However, I need to test that messages sent to this SMSC are
routed to the apt SMSC (the HTTP type SMSC) and hence apt application. I
created another SMSBox and routed it to the  receiver SMSC; to accept
incoming messages. I tested this, it worked. (But do I need this second
SMSBox; I don't think so.). I created another username (called appname) and
link this Receiver (SMPP) SMSC with it. 

It actually worked, however, I noticed that when I send a message with the
the sms-user appname it goes to the desired HTTP SMSC but I noticed that at
times, it sends the message to the telco operator, even though it is suppose
to re-route to the HTTP SMSC.

I read it is possible to run multiple SMSBox; is this on different smsbox
port or the same, how is the config for this done?
I also understand sendsms-user are within the scope of SMSBoxes, which means
each SMSBox can have its sendsms-user. How can this be achieved.

The doc you referred me to, only explained BearerBox and WapBox
Architecture. I understand how Bearerbox handles SMSCs (Bearerbox holds al
SMSC links and receives messages), however, the role of SMSboxes are still
vague.

What happens to messages that is not linked with an SMSBox?  
Are SMSBoxes actually associated with or contains sendsms-users and
sms-services?


Cheers.




Rodrigo Cremaschi wrote:
> 
> I don't quite understant your architecture.
> Why would you need more than one SMSbox?
> 
> On 9/2/07, lekkie <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for your reply.
>> I ve gone thru the doc.
>> So, if I want to set up multiple SMSBox, how do I do that.
>> I tried setting up two SMSBoxes my make two SMSBox config file and
>> assigning
>> different sms-port numbers to them, but it was only the second SMSBox
>> that
>> was up.
>> How do I do this?
>>
>> Thanks once again.
>>
>>
>> Rodrigo Cremaschi wrote:
>> >
>> > YES, it is possible.
>> > PLEASE, take some time to read the userguide AND the following
>> document:
>> > http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html
>> > Many of the terms defined there apply also to SMS.
>> > Then, come back with any problems that may araise.
>> > Regards,
>> > R.
>> >
>> > On 8/31/07, lekkie <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Please, I need a help here.
>> >>
>> >> I want to to be able to receive message from a telco's SMPP SMSC and
>> only
>> >> pass it to a url.
>> >> I also need another SMPP SMSC that will only deliver mesage to the
>> same
>> >> telco.
>> >>
>> >> Is this possible?
>> >>
>> >>
>> >> lekkie wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > Below is my config file.
>> >> >
>> >> > However, what'd like is a single HTTP connection to an application
>> to
>> >> send
>> >> > and receive SMS from the application
>> >> >
>> >> >
>> >> > I'd also like 3 links to 3 telcos over SMPP binding as transceivers,
>> so
>> >> > that they can receive and send messages.
>> >> >
>> >> > How can I make sure a message coming from a telco SMSC link will be
>> >> > forwarded to another SMSC or to a URL.
>> >> > I also want to be able to receive message from this application and
>> >> > forward it to an SMSC. (This I can do my specifying the user)
>> >> >
>> >> > Thanks.
>> >> >
>> >> > group = core
>> >> > admin-port = 13000
>> >> > smsbox-port = 13001
>> >> > admin-password = password
>> >> > #status-password = password
>> >> > admin-allow-ip = 127.0.0.1
>> >> > log-file = "/var/smsgateway/log/kannel.log"
>> >> > log-level = 0
>> >> > box-deny-ip = "*.*.*.*"
>> >> > box-allow-ip = 127.0.0.1
>> >> > unified-prefix = "+234,0"
>> >> > access-log = "/var/smsgateway/log/access.log"
>> >> > #store-file = "/var/smsgateway/kannel/kannel.store"
>> >> >
>> >> >
>> >> > group = smsc
>> >> > smsc = smpp
>> >> > host = [telco-ip]
>> >> > port = [telco-port]
>> >> > receive-port = [same-port-as-above]
>> >> > transceiver-mode = true
>> >> > smsc-id = TelcoSmppLink
>> >> > smsc-username = uname
>> >> > smsc-password = pword
>> >> > system-type = [system-type]
>> >> > service-type = smpp
>> >> > allowed-prefix = +234803;+234806;+234703;0803;0806;0703
>> >> > denied-prefix = *
>> >> > unified-prefix = "+234,0,234"
>> >> > log-file = "/var/smsgateway/log/kannel.log"
>> >> > log-level = 0
>> >> > address-range = 0
>> >> > connect-allow-ip = "127.0.0.1;[telco-ip]"
>> >> >
>> >> >
>> >> > # SMSC Link to send SMS to app
>> >> > group = smsc
>> >> > smsc = http
>> >> > port = 0
>> >> > smsc-id = HttpLinkToApp
>> >> > system-type = kannel
>> >> > smsc-username = http
>> >> > smsc-password = http
>> >> > send-url =
>> >> >
>> >>
>> "http://[app-server-ip]/app/smexpress?smsvendor=kannel&from=%P&to=%p&text=%b&id=%I";
>> >> > allowed-prefix =
>> >> >
>> >>
>> "+234803;+234806;+234703;0803;0806;0703;+234805;+234807;0805;0807;+234802;+234808;0802;0808"
>> >> > denied-prefix = *
>> >> > preferred-smsc-id = HttpLinkToApp
>> >> > unified-prefix = "+234,0,234"
>> >> > log-file = "/var/smsgateway/log/kannel.log"
>> >> > log-level = 0
>> >> > address-range = 0
>> >> > connect-allow-ip = "127.0.0.1"
>> >> >
>> >> >
>> >> > # SMSC Link to receive SMS from app
>> >> > group = smsc
>> >> > smsc = http
>> >> > port = 8080
>> >> > smsc-id = HttpLinkFromPayphone
>> >> > system-type = kannel
>> >> > smsc-username = http
>> >> > smsc-password = http
>> >> > send-url =
>> >> >
>> >>
>> "http://localhost:13013/cgi-bin/sendsms?username=telco&password=telco&from=AppName&to=%p&text=%b";
>> >> > allowed-prefix = "+234803;+234806;+234703;0803;0806;0703"
>> >> > denied-prefix = *
>> >> > preferred-smsc-id = HttpLinkFromApp
>> >> > unified-prefix = "+234,0,234"
>> >> > log-file = "/var/smsgateway/log/kannel.log"
>> >> > log-level = 0
>> >> > address-range = 0
>> >> > connect-allow-ip = "127.0.0.1;[app-server-ip]"
>> >> >
>> >> >
>> >> > group = smsbox
>> >> > smsbox-id = LinktoTelcoSMSBox
>> >> > bearerbox-host = "127.0.0.1"
>> >> > sendsms-port = 13013
>> >> > global-sender = "App"
>> >> > #sendsms-chars = "0123456789 +-"
>> >> > log-file = "/var/smsgateway/log/smsbox.log"
>> >> > log-level = 0
>> >> > access-log = "/var/smsgateway/log/access.log"
>> >> >
>> >> >
>> >> > group = smsbox
>> >> > smsbox-id = LinktoAppNameSMSBox
>> >> > bearerbox-host = "172.16.10.249"
>> >> > sendsms-port = 13013
>> >> > global-sender = "App"
>> >> > #sendsms-chars = "0123456789 +-"
>> >> > log-file = "/var/smsgateway/log/smsbox.log"
>> >> > log-level = 0
>> >> > access-log = "/var/smsgateway/log/access.log
>> >> >
>> >> >
>> >> > group = smsbox-route
>> >> > smsbox-id = LinktoTelcoSMSBox
>> >> > smsc-ids = TelcoSmppLink
>> >> >
>> >> >
>> >> > # SEND-SMS USERS
>> >> > group = sendsms-user
>> >> > username = mtn
>> >> > password = mtn
>> >> > forced-smsc = TelcoSmppLink
>> >> > allowed-prefix = "+234803;+234806;+234703;0803;0806;0703"
>> >> > #user-deny-ip = ""
>> >> > #user-allow-ip = ""
>> >> >
>> >> >
>> >> > # SEND-SMS USERS
>> >> > group = sendsms-user
>> >> > username = appname
>> >> > password = appname
>> >> > forced-smsc = SmscToApp
>> >> > allowed-prefix =
>> >> >
>> >>
>> "+234803;+234806;+234703;0803;0806;0703;+234805;+234807;0805;0807;+234802;+234808;0802;0808"
>> >> > #user-deny-ip = ""
>> >> > #user-allow-ip = ""
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Rodrigo Cremaschi wrote:
>> >> >>
>> >> >> Hi Lekkie,
>> >> >>
>> >> >>     Tell us what have you done so far, and what problems have you
>> >> >> encountered. If you talked to the the carrier guys, what did they
>> say?
>> >> >> So we can find out if Kannel, or the connection, or the SMSC has
>> any
>> >> >> kind of problem.
>> >> >>
>> >> >>     Regards,
>> >> >> Rodrigo.
>> >> >>
>> >> >> On 8/31/07, lekkie <[EMAIL PROTECTED]> wrote:
>> >> >>>
>> >> >>> How do I route incoming messages from SMPP Link?
>> >> >>>
>> >> >>>
>> >> >>> Rodrigo Cremaschi wrote:
>> >> >>> >
>> >> >>> > In that case, you must declare "transceiver-mode" variable to
>> >> "true".
>> >> >>> > Omit "receive-port" variable.
>> >> >>> >
>> >> >>> > Check the userguide, under SMPP 3.4 section.
>> >> >>> >
>> >> >>> > Regards.
>> >> >>> >
>> >> >>> > On 8/29/07, lekkie omotayo <[EMAIL PROTECTED]> wrote:
>> >> >>> >> Thanks for quick response.
>> >> >>> >>
>> >> >>> >> Yes, they have transceiver.
>> >> >>> >>
>> >> >>> >> If the operator has a transceiver connection, how can I can get
>> >> the
>> >> >>> >> inbound
>> >> >>> >> messages from my operator?
>> >> >>> >> How to I set up the config?
>> >> >>> >>
>> >> >>> >> What if my operator only supports transmitter/Receiver
>> connection?
>> >> >>> >>
>> >> >>> >> Kind regards,
>> >> >>> >>
>> >> >>> >> Lekkie
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> On 8/29/07, Rodrigo Cremaschi <[EMAIL PROTECTED]>
>> wrote:
>> >> >>> >> > > Could this be because of the kannel version I am using
>> >> (1.4.1)?
>> >> >>> >> > No
>> >> >>> >> >
>> >> >>> >> > > Is it possible to receive SMS on SMPP connection?
>> >> >>> >> > Yes, that's what Kannel is for.
>> >> >>> >> >
>> >> >>> >> > Are you sure your operator needs 2 connetcions Tx and Rx? Or
>> is
>> >> it
>> >> >>> a
>> >> >>> >> > transceiver?
>> >> >>> >> >
>> >> >>> >> > On 8/29/07, lekkie <[EMAIL PROTECTED] > wrote:
>> >> >>> >> > >
>> >> >>> >> > > Hi guys,
>> >> >>> >> > >
>> >> >>> >> > > I am trying to connect kannel to my mobile operator through
>> an
>> >> >>> SMPP
>> >> >>> >> > > connection.
>> >> >>> >> > >
>> >> >>> >> > > However, my kannel box seem not to be listening on the
>> >> receiver
>> >> >>> port
>> >> >>> >> I
>> >> >>> >> > > specified. It ws able to connect to my operator on the
>> >> >>> transmitter
>> >> >>> >> port,
>> >> >>> >> but
>> >> >>> >> > > it never listen on the specified receive-port.
>> >> >>> >> > >
>> >> >>> >> > > With some googling, I found out, I can only get a receiver
>> >> >>> connection
>> >> >>> >> by
>> >> >>> >> > > creating two separate SMSC configs using one as a
>> transmitter
>> >> the
>> >> >>> >> other
>> >> >>> >> as a
>> >> >>> >> > > receiver. I was advised to set transceiver mode to "no", 
>> set
>> >> the
>> >> >>> >> > > receive-port option to 0 (set transmit port) if I want to
>> >> >>> transmit
>> >> >>> >> and
>> >> >>> >> set
>> >> >>> >> > > transmit port to 0 if I want to receive (set receive port
>> to
>> >> >>> 2001).
>> >> >>> >> When
>> >> >>> >> I
>> >> >>> >> > > did this, the log file told me I had a receiver bind
>> however,
>> >> >>> kannel
>> >> >>> >> > > connects to the operator's SMSC on the receiver port even
>> >> though
>> >> >>> >> transmitter
>> >> >>> >> > > port is set to 0.
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> > > However, when I tried setting both port to same port, I
>> ended
>> >> up
>> >> >>> >> having
>> >> >>> >> two
>> >> >>> >> > > connections to SMSC both connection to the operator's port
>> >> while
>> >> >>> >> source
>> >> >>> >> port
>> >> >>> >> > > was not open
>> >> >>> >> > >
>> >> >>> >> > > However, when I tried setting both port to diff port, I
>> ended
>> >> up
>> >> >>> >> having
>> >> >>> >> one
>> >> >>> >> > > connection to SMSC.
>> >> >>> >> > >
>> >> >>> >> > > I am afraid my config file may be wrong.
>> >> >>> >> > >
>> >> >>> >> > > Is there a way I can do this.
>> >> >>> >> > >
>> >> >>> >> > > Do I need 1 smsc config to achieve both transmitter and
>> >> receiver
>> >> >>> >> connection?
>> >> >>> >> > > Do I need 1 smsbox config to achieve both transmitter and
>> >> >>> receiver
>> >> >>> >> > > connection?
>> >> >>> >> > >
>> >> >>> >> > > Could this be because of the kannel version I am using (
>> >> 1.4.1)?
>> >> >>> >> > >
>> >> >>> >> > > Is it possible to receive SMS on SMPP connection?
>> >> >>> >> > >
>> >> >>> >> > > Thanks.
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> > > --
>> >> >>> >> > > View this message in context:
>> >> >>> >>
>> >> >>>
>> >>
>> http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12394561
>> >> >>> >> > > Sent from the Kannel - User mailing list archive at
>> >> Nabble.com.
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >>
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>>
>> >> >>> --
>> >> >>> View this message in context:
>> >> >>>
>> >>
>> http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12426727
>> >> >>> Sent from the Kannel - User mailing list archive at Nabble.com.
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12433703
>> >> Sent from the Kannel - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12449107
>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>
>>
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-receive-MO-on-an-SMPP-link-tf4350019.html#a12450240
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to