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. > > >