Your modem memory said there are no messages stored on it:

2011-09-06 15:07:30 [7447] [6] DEBUG: AT2[aircel]: --> AT+CPMS?^M
2011-09-06 15:07:30 [7447] [6] DEBUG: AT2[aircel]: <-- +CPMS:
"MT",0,100,"ME",0,100,"ME",0,100

So there is nothing kannel can fetch

Are you able to receive messages when kannel is directly connected to
the modem when an MT is received?



|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Tue, Sep 6, 2011 at 7:44 AM, Anshu Sah <[email protected]> wrote:
> Hi!,
>
> I am unable to receive / fetch those SMSs which were sent when GSM Modem was
> not connected with Kannel.
>
>  When We send Sms to GSM modem while It shows delivered at sender mobile.
> But when we connect GSM modem with kannel, i couldn't fetch the Unread SMS
> is there any way i could read those untouched SMSs.
>
> I am pasting my modem Configuration below.
>
> CONFIG
>
> group = smsc
> smsc = at
> modemtype = zte
> smsc-id = aircel
> device = /dev/ttyUSB1
> my-number = "+XXXXXXXXXXXXX"
> speed = 9600
> #pin = 1234
> sim-buffering = true
> keepalive = 5
> log-file = "/projects/kannel/logs/XXXXXXXXXX.log"
> log-level = 0
>
> # MODEM DEFINITIONS
> group = modems
> id = zte
> name = "ZTE MODEM"
> init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> init-string = "AT+CMGL=0,1,2"
> message-storage = "MT" # I Have also tried with SM , but no change.
> speed = 9600
>
>
>
> LOGS
>
> 2011-09-06 15:07:16 [7447] [6] INFO: AT2[aircel]: opening device
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: device opened. Telnet
> mode = 0
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: device opened
> 2011-09-06 15:07:16 [7447] [6] INFO: AT2[aircel]: Logging in
> 2011-09-06 15:07:16 [7447] [6] INFO: AT2[aircel]: init device
> 2011-09-06 15:07:16 [7447] [6] INFO: AT2[aircel]: speed set to 9600
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: --> ATZ^M
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: --> AT^M
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: --> AT&F^M
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:16 [7447] [6] DEBUG: AT2[aircel]: --> ATE0^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT+IFC=2,2^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT+CPIN?^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- +CPIN: READY
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT+CMGF=0^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT+CSMS=?^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT+CMGL=0,1,2^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- +CSMS: (0-1)
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT+CPMS="MT"^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] INFO: AT2[aircel]: AT SMSC successfully
> opened.
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- +CPMS:
> 0,100,0,100,0,100
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: --> AT+CPMS?^M
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- +CPMS:
> "MT",0,100,"ME",0,100,"ME",0,100
> 2011-09-06 15:07:17 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:23 [7447] [6] DEBUG: AT2[aircel]: --> AT^M
> 2011-09-06 15:07:23 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:23 [7447] [6] DEBUG: AT2[aircel]: --> AT+CPMS?^M
> 2011-09-06 15:07:24 [7447] [6] DEBUG: AT2[aircel]: <-- +CPMS:
> "MT",0,100,"ME",0,100,"ME",0,100
> 2011-09-06 15:07:24 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:30 [7447] [6] DEBUG: AT2[aircel]: --> AT^M
> 2011-09-06 15:07:30 [7447] [6] DEBUG: AT2[aircel]: <-- OK
> 2011-09-06 15:07:30 [7447] [6] DEBUG: AT2[aircel]: --> AT+CPMS?^M
> 2011-09-06 15:07:30 [7447] [6] DEBUG: AT2[aircel]: <-- +CPMS:
> "MT",0,100,"ME",0,100,"ME",0,100
> 2011-09-06 15:07:30 [7447] [6] DEBUG: AT2[aircel]: <-- OK
>
>
>
> Regards
> Anshu
>

Reply via email to