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 <[email protected]> wrote:

From: Rene Kluwen <[email protected]>
Subject: RE: kannel as smpp server
To: "'ishagh ouldbah'" <[email protected]>, [email protected]
Date: Friday, July 9, 2010, 5:40 AM




 
 






Could you post your configuration? 

   



From: ishagh ouldbah
[mailto:[email protected]] 

Sent: vrijdag 9 juli 2010 14:28

To: [email protected]; 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 <[email protected]>
  wrote: 
  

  From: Rene Kluwen <[email protected]>

  Subject: RE: kannel as smpp server

  To: "'ishagh ouldbah'" <[email protected]>,
  [email protected]

  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:[email protected]] 

  Sent: donderdag 8 juli 2010 14:30

  To: [email protected]; 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 <[email protected]>
    wrote: 
    

    From: Rene Kluwen <[email protected]>

    Subject: RE: kannel as smpp server

    To: "'ishagh ouldbah'" <[email protected]>,
    [email protected]

    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: [email protected]
    [mailto:[email protected]] On Behalf Of ishagh ouldbah

    Sent: woensdag 7 juli 2010 19:04

    To: [email protected]

    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