Logs are attached.
  ----- Original Message ----- 
  From: Nikos Balkanas 
  To: Pavan Gupta ; [email protected] 
  Sent: Monday, October 05, 2009 12:01 AM
  Subject: Re: Unable to receive SMS


  Excellent...

  Now, you have tried CNMI:

  1,2,0,0,0
  1,2,2,2,1

  Let's try without CNMI:

  Comment out init-string (you will need it later) and add right below:

  init-string = "ATE0 &F +IFC=2,2;+CPIN;+CMGF=0;+CSMS=?"

  and repost logs.

  BR,
  Nikos

    ----- Original Message ----- 
    From: Pavan Gupta 
    To: Nikos Balkanas ; [email protected] 
    Sent: Sunday, October 04, 2009 8:59 PM
    Subject: Re: Unable to receive SMS


    Hello,
    I tried your suggestions. It didn't work. Logs have been attached to the 
email.
    Pavan
      ----- Original Message ----- 
      From: Nikos Balkanas 
      To: Pavan Gupta ; [email protected] 
      Sent: Sunday, October 04, 2009 11:21 PM
      Subject: Re: Unable to receive SMS


      Thanks,

      It is clear that you need a custom modem definition. 

      1) Copy the nokiaphone modem group from the modems.conf file to your 
kannel.conf.
      2) Change:

      id = nokia_5200

      in that group (in kannel.conf).

      3) add variable:

      init-string = "AT+CNMI=1,2,2,2,1"

      in the same group.

      4) update smsc group. Change:

      modemtype = nokia_5200

      5) Retest and repost logs. No need for more configuration files for now.

      BR,
      Nikos
        ----- Original Message ----- 
        From: Pavan Gupta 
        To: Nikos Balkanas ; [email protected] 
        Sent: Sunday, October 04, 2009 8:25 PM
        Subject: Re: Unable to receive SMS


        Hello,
        I have followed your instructions:

        1. Remove port from smsc
        2. set modemtype = nokiaphone

        kannel.log is attached to this email.
        It didn't work.
        Regards,
        Pavan Gupta
          ----- Original Message ----- 
          From: Nikos Balkanas 
          To: Pavan Gupta ; [email protected] 
          Sent: Sunday, October 04, 2009 10:12 PM
          Subject: Re: Unable to receive SMS


          Sorry, modemtype should be nokiaphone, not nokia.

          Nikos
            ----- Original Message ----- 
            From: Nikos Balkanas 
            To: Pavan Gupta ; [email protected] 
            Sent: Sunday, October 04, 2009 7:41 PM
            Subject: Re: Unable to receive SMS


            Hi,

            Do not overwrite generic modem configuration. It is needed for 
other phones. 

            1) Start with the original modems.conf file under docs/examples. 
Include that to your main kannel.conf.
            2) Change:

            modemtype = nokia

            in your smsc configuration.

            3) Also you shouldn't use port in your SMSc with a modem.
            4) Test and post detailed bearerbox logs from startup, and if it 
succeeds, the attempt to send an sms.

            BR,
            Nikos
              ----- Original Message ----- 
              From: Pavan Gupta 
              To: [email protected] 
              Sent: Sunday, October 04, 2009 6:09 PM
              Subject: Unable to receive SMS


              Hello,
              I have setup Kannel with Nokia 5200 cell phone. Kannel doesn't 
receive SMS. I have pasted the modem and beare config. Also, attached is bearer 
log. I would appreciate if someone could help out.

              1. Modem Config is:
              group = modems

              id = generic

              name = "Generic Modem"

              detect-string = "NOKIA"

              detect-string2 = "5200"

              init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

              #keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0?

              reset-string = "ATZ"

              message-storage = "SM"

              2. Bearer config:

              group = core

              admin-port = 13000

              smsbox-port = 13001

              admin-password = bar

              status-password = foo

              admin-deny-ip = "*.*.*.*"

              admin-allow-ip = "127.0.0.1"

              #log-file = "/tmp/kannel.log"

              #log-level = 0

              log-file = "kannel.log"

              log-level = 0

              box-deny-ip = "*.*.*.*"

              box-allow-ip = "127.0.0.1"

              #unified-prefix = "+358,00358,0;+,00"

              #access-log = "/tmp/access.log"

              #store-file = "kannel.store"

              access-log = "access.log"

              store-type = file

              store-location = 
"/cygdrive/c/kannel/gateway-1.4.3/gw/kannel.store"

              Regards,

              Pavan Gupta

Attachment: kannel.log
Description: Binary data

Reply via email to