Hi,

You need to configure a an smsbox-route group. Check User's Guide.

BR,
Nikos
  ----- Original Message ----- 
  From: naryam smith 
  To: [email protected] 
  Sent: Wednesday, December 02, 2009 8:16 AM
  Subject: smsbox_list empty - fopen failed kannel.store - W580i


        Hi,

        I have been trying to make this configuration to work for hours and 
looked in mailing lists but did not find a solution. I would appreciate your 
help. I do not have smsbox-id that was mentioned in some posts.

        The same configuration works on another laptop. I am using debian sarge 
and kannel 1.4.. I am using a sony ericsson phone W580i.

        When I send a SMS to the phone, it gets. I see it in the debug mode. 
But it does not send a message back based on the provided keyword.

        I cannot see all the message

        *** I get:
        Dumping X messages to store
        smsbox_list empty

        *** I have also another message in the log:
        fopen failed cannot open /var/kannel/kannel.store

        How can I solve this latter problem?

        My configuration in kannel.conf is here:

        group = core
        admin-port = 13000
        smsbox-port = 13001
        admin-password = 123456
        log-file = "/var/kannel/kannel.log"
        box-deny-ip = "*.*.*.*"
        box-allow-ip = "127.0.0.1;192.168.0.10"
        access-log = "/var/kannel/access.log"
        store-file = "/var/kannel/kannel.store"

        include = "/etc/kannel/modems.conf"

        # SMSC CONNECTIONS

        group = smsc
        smsc = at
        modemtype = w580i
        device = /dev/ttyACM0
        speed = 9600

        # SMSBOX SETUP

        group = smsbox
        bearerbox-host = localhost
        sendsms-port = 13013
        global-sender = 13013
        log-file = "/var/kannel/smsbox.log"
        access-log = "/var/kannel/access.log"

        # SEND-SMS USERS

        group = sendsms-user
        username = user1
        password = bidon

        # SERVICES
        group = sms-service
        keyword = nop
        text = "You asked nothing and I did it!"

        group = modems
        id = w580i
        name = "w580i"
        detect-string = "SonyEricsson"
        keepalive-cmd = "AT+CMGL"
        init-string = "at+CNMI=2,1"

        modems.conf contains:

        group = modems
        id = w580i
        name = "w580i"
        detect-string = "SonyEricsson"
        keepalive-cmd = "AT+CMGL"
        init-string = "at+CNMI=2,1"

        sms.conf contains:

        # Fichier de config pour Modem GSM connecte sur le port USB - 05/03/2005
        group = core
        admin-port = 13000
        smsbox-port = 13001
        admin-password = 123456
        log-file = "/var/kannel/kannel.log"
        box-deny-ip = "*.*.*.*"
        box-allow-ip = "127.0.0.1;192.168.0.10"
        access-log = "/var/kannel/access.log"
        store-file = "/var/kannel/kannel.store"

        include = "/etc/kannel/modems.conf"

        # SMSC CONNECTIONS

        group = smsc
        smsc = at
        modemtype = w580i
        device = /dev/rfcomm0
        speed = 9600

        # SMSBOX SETUP

        group = smsbox
        bearerbox-host = localhost
        sendsms-port = 13013
        global-sender = 13013
        log-file = "/var/kannel/smsbox.log"
        access-log = "/var/kannel/access.log"

        # SEND-SMS USERS

        group = sendsms-user
        username = user1
        password = bidon

        # SERVICES
        group = sms-service
        keyword = nop
        text = "You asked nothing and I did it!"

        Thanks in advance
       

Reply via email to