Smsbox-route should be part of bearerbox config, and not of smsbox.conf.

But since you include this file that should not be the real problem.

 

Maybe you can post more of bearerbox log as well as smppbox log? So we can nail 
this problem down.

 

If what you posted below is something of your smppbox.log then bearerbox 
routing seems to be okay.

 

== Rene

 

 

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: vrijdag 9 juli 2010 21:27
To: Rene Kluwen; users@kannel.org
Subject: Re: kannel as smpp server

 

It is VMA in my smpplogins.txt 
However My client is connected to me and I have no problem with that
My client can send sms to me
my only problem is that I can not send sms to my client
Regards

 

  _____  

From: Rene Kluwen <rene.klu...@chimit.nl>
To: ishagh ouldbah <ishagh...@yahoo.com>; users@kannel.org
Sent: Fri, July 9, 2010 7:02:55 PM
Subject: RE: kannel as smpp server

Take a look at the following:

 

group = smsbox-route
smsbox-id = VMA
smsc-id = l7

 

The smsbox-id shouldn’t necessarily be “VMA” but rather the system-type that is 
declared in your /root/smpplogins.txt.

 

== Rene

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: vrijdag 9 juli 2010 18:37
To: users@kannel.org; Rene Kluwen
Subject: RE: kannel as smpp server

 


Hi these are my configurations
group = core
dlr-storage = mysql
admin-port = 13000
smsbox-port = 13001
admin-password = ******
status-password = ******
log-file = "/var/log/kannel/bearerbox-smpp.log"
access-log = "/var/log/kannel/bearerbox-smpp.access"
box-allow-ip = "*.*.*.*"


include = "/etc/kannel/smsc.conf"
include = "/etc/kannel/smsbox.conf"
#include = "/etc/kannel/smppbox.conf"

group = sendsms-user
username="user"
password="password"
############SMSC##################
############Motorola################
group = smsc
smsc = at
smsc-id = l7
modemtype = Motorola
device = /dev/ttyUSB0
speed = 9600
sms-center = +2226398000
sim-buffering = true

group = modems
id = Motorola
name = "Motorola"
#init-string = "AT+CGDCONT=1"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#need-sleep = true
#enable-mms = true
speed = 9600
##############smsbox#############

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/smsbox.access"
mo-recode = true

group = smsbox-route
smsbox-id = VMA
smsc-id = l7

####################smppbox######################
# sample smppbox.conf

group = core
dlr-storage = mysql

# this group defines your smppbox
group = smppbox
# our boxc type
smppbox-id = abcd
# the port to listen on for smpp connections
smppbox-port = 16000
# we connect to the following host as a box
bearerbox-host = localhost
bearerbox-port = 13001
log-level = 0
log-file = /var/log/kannel/smppbox.log
our-system-id = VMA
route-to-smsc = l7
# see sample smpplogins.txt
smpp-logins = "/root/smpplogins.txt"



--- On Fri, 7/9/10, Rene Kluwen <rene.klu...@chimit.nl> wrote:


From: Rene Kluwen <rene.klu...@chimit.nl>
Subject: RE: kannel as smpp server
To: "'ishagh ouldbah'" <ishagh...@yahoo.com>, users@kannel.org
Date: Friday, July 9, 2010, 5:40 AM

Could you post your configuration?

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: vrijdag 9 juli 2010 14:28
To: users@kannel.org; Rene Kluwen
Subject: RE: kannel as smpp server

 


Hi Rene
This solved one part of the problem
msgs coming from client go via the modem to their destination, good
but messages coming to the modem are not forwarded to the client 
in smpp server log i see somthing like
2010-07-09 12:11:59 Receive SMS [SMSC:l7] [SVC:] [ACT:] [BINF:] [FID:] [META:] 
[from:+**********] [to:1234] [flags:-1:0:-1:0:-1] [msg:7:Test] [udh:0:]
why do i get always [to:1234] and what does it mean
can i replace it with the ip address of the client
Regads


--- On Thu, 7/8/10, Rene Kluwen <rene.klu...@chimit.nl> wrote:


From: Rene Kluwen <rene.klu...@chimit.nl>
Subject: RE: kannel as smpp server
To: "'ishagh ouldbah'" <ishagh...@yahoo.com>, users@kannel.org
Date: Thursday, July 8, 2010, 6:03 AM

In your group = smppbox, include:

 

route-to-smsc = (your smsc, type=modem).

 

And also:

 

group = smsbox-route

smsbox-id = system-type of smppbox-user

smsc-id = (your smsc, type = modem)

 

Something like this.

 

From: ishagh ouldbah [mailto:ishagh...@yahoo.com] 
Sent: donderdag 8 juli 2010 14:30
To: users@kannel.org; Rene Kluwen
Subject: RE: kannel as smpp server

 


thans but the userguid does not contain any thing about smppbox

my question is does smppbox send msgs coming to it from
bearerbox to connected client

Regards

--- On Wed, 7/7/10, Rene Kluwen <rene.klu...@chimit.nl> wrote:


From: Rene Kluwen <rene.klu...@chimit.nl>
Subject: RE: kannel as smpp server
To: "'ishagh ouldbah'" <ishagh...@yahoo.com>, users@kannel.org
Date: Wednesday, July 7, 2010, 11:11 AM

I would suggest reading the users’ manual a little bit and maybe also the 
architecture document.

 

http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html

 

If you have specific questions that are not covered there, you can post them 
here.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
ishagh ouldbah
Sent: woensdag 7 juli 2010 19:04
To: users@kannel.org
Subject: kannel as smpp server

 

Hi all 
I want to run kannel as smpp server
I have two question regarding this
My situation is
I recieve sms on a modem and forward it to smpp client and vice versa
I know that I can tell smppbox to forward to the modem but how to tell the 
modem to forward to smppbox
How would I keep truck of messages passing through my server
And finally, I recive sms in binary format would it be transfered in the same 
format and how to add udh to it
Regards

 

 

 

 

 

Reply via email to