Hi

Difficult to know without more info. It can be a problem with the
modem itself or the network.

I dont see any init string for your modem.

Add an init-string with "at+cmee=1" or 2 to the modem config so we can
have  more verbose errors.

Also, what is the port=10000 in the at smsc for? If you are not
connecting through IP you don't need it.

Can you post the logs for the modem initialization/connection?

Regards

Alvaro



|-----------------------------------------------------------------------------------------------------------------|
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, Aug 2, 2011 at 6:44 AM, Donald Jackson <[email protected]> wrote:
> Hi there,
>
> I was wondering if anyone with some experience with GSM modems on Kannel 
> could take a look at these logs and see if there is anything we can 
> potentially configure to prevent the error.
>
> We are using Wavecom WMOD2 modems connected over USB. We are having sending 
> messages fail intermittently (some work, some don't) and we aren't sure why. 
> Below is a log with an example two messages (one worked, one didn't). I have 
> removed the phone numbers.
>
> Log:
>
> 2011-08-02 10:38:22 [4426] [95] DEBUG: AT2[wavecom_73]: TP-Validity-Period: 
> 24.0 hours
> 2011-08-02 10:38:22 [4426] [95] DEBUG: AT2[wavecom_73]: --> AT+CMGS=152^M
> 2011-08-02 10:38:22 [4426] [95] DEBUG: AT2[wavecom_73]: <-- >
> 2011-08-02 10:38:22 [4426] [95] DEBUG: AT2[wavecom_73]: send command status: 1
> 2011-08-02 10:38:22 [4426] [95] DEBUG: AT2[wavecom_73]: --> 
> 0031000B917228280820F20000A79D46F9BB0D0ACF41EC349DCE2E83C2739034E6C2C140F0B21C440EE75DA0ECBB0E1A87DDA073990EAAC3
> 41F437485A838160301808F99EC3D3F4301B340CCFD1206178BC0699E5EF3668C84E97DDF432BB0C62A6CD6517485A86B3F320E4730A4D82C26E32485C068DC36C76990C7ACB4153EA130AA2BF416F381DF4AED35D20
> 699D5D9E838270383BEF02
> 2011-08-02 10:38:22 [4426] [95] DEBUG: AT2[wavecom_73]: --> ^Z
> 2011-08-02 10:38:35 [4426] [95] DEBUG: AT2[wavecom_73]: <-- >
> 2011-08-02 10:38:35 [4426] [95] DEBUG: AT2[wavecom_73]: <-- ERROR
> 2011-08-02 10:38:35 [4426] [95] ERROR: AT2[wavecom_73]: Generic error: ERROR
> 2011-08-02 10:38:35 [4426] [95] DEBUG: AT2[wavecom_73]: send command status: 
> -1
> 2011-08-02 10:38:39 [4426] [95] DEBUG: AT2[wavecom_73]: --> AT+CPMS?^M
> 2011-08-02 10:38:39 [4426] [95] DEBUG: AT2[wavecom_73]: <-- +CPMS: 
> "SM",0,25,"SM",0,25
> 2011-08-02 10:38:39 [4426] [95] DEBUG: AT2[wavecom_73]: <-- OK
> 2011-08-02 10:39:07 [4426] [95] DEBUG: AT2[wavecom_73]: --> AT^M
> 2011-08-02 10:39:07 [4426] [95] DEBUG: AT2[wavecom_73]: <-- OK
> 2011-08-02 10:39:11 [4426] [95] DEBUG: AT2[wavecom_73]: --> AT+CPMS?^M
> 2011-08-02 10:39:11 [4426] [95] DEBUG: AT2[wavecom_73]: <-- +CPMS: 
> "SM",0,25,"SM",0,25
> 2011-08-02 10:39:11 [4426] [95] DEBUG: AT2[wavecom_73]: <-- OK
> 2011-08-02 10:39:21 [4426] [95] DEBUG: AT2[wavecom_73]: TP-Validity-Period: 
> 24.0 hours
> 2011-08-02 10:39:21 [4426] [95] DEBUG: AT2[wavecom_73]: --> AT+CMGS=152^M
> 2011-08-02 10:39:21 [4426] [95] DEBUG: AT2[wavecom_73]: <-- >
> 2011-08-02 10:39:21 [4426] [95] DEBUG: AT2[wavecom_73]: send command status: 1
> 2011-08-02 10:39:21 [4426] [95] DEBUG: AT2[wavecom_73]: --> 
> 0031000B917228187555F20000A79D46F9BB0D0ACF41EC349DCE2E83C2739034E6C2C140F0B21C440EE75DA0ECBB0E1A87DDA073990EAAC3
> 41F437485A838160301808F99EC3D3F4301B340CCFD1206178BC0699E5EF3668C84E97DDF432BB0C62A6CD6517485A86B3F320E4730A4D82C26E32485C068DC36C76990C7ACB4153EA130AA2BF416F381DF4AED35D20
> 699D5D9E838270383BEF02
> 2011-08-02 10:39:22 [4426] [95] DEBUG: AT2[wavecom_73]: --> ^Z
> 2011-08-02 10:39:27 [4426] [95] DEBUG: AT2[wavecom_73]: <-- >
> 2011-08-02 10:39:27 [4426] [95] DEBUG: AT2[wavecom_73]: <-- +CMGS: 54
> 2011-08-02 10:39:27 [4426] [95] DEBUG: AT2[wavecom_73]: <-- OK
> 2011-08-02 10:39:27 [4426] [95] DEBUG: AT2[wavecom_73]: send command status: 0
> 2011-08-02 10:39:27 [4426] [95] DEBUG: DLR[mysql]: Adding DLR 
> smsc=wavecom_73, ts=54, src=+xxxx, dst=+xxxx, mask=19, boxc=
>
> Config:
>
> group = modems
> id = wavecom
> name = Wavecom
> detect-string = "WAVECOM"
>
> group=smsc
> smsc=at
> smsc-id=wavecom_73
> allowed-smsc-id="modempool;wavecom_73"
> log-file=/var/log/kannel/wavecom_73.log
> port=10000
> modemtype=wavecom
> device=/dev/serial/by-path/pci-0000:03:00.0-usb-0:1.3.2.4.5:1.0-port0
> connect-allow-ip="*.*.*.*"
> sms-center=+xxxxx
> my-number=+xxxxx
> sim-buffering=true
> keepalive=30
>
> Thanks very much,
> Donald
>
>
>
>
>

Reply via email to