Hi

Check on this:

http://www.multitech.com/support/resolutionid/3928

Else you can hack kannel and disable CNMA response. Note that if you do so,
it might affect other modems that need that command.

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.com

On Tue, Oct 4, 2016 at 11:42 AM, Hakim Bimazgane <
hakim.bimazg...@vitalliance.fr> wrote:

> Ho,
>
> I use a MultiTech MultiConnect Cell 100 (MTC-H5-B03-KIT) as GSM modem.
> I'm using the version 1.5.0 on a Debian x64.
>
> It seems to work well mostly, but I got CMS ERROR 340 everytime kannel
> send a AT+CNMA to it:
>
> 2016-10-04 18:29:56 [16918] [6] DEBUG: AT2[multic1]: TP-Validity-Period:
> 24.0 hours
> 2016-10-04 18:29:56 [16918] [6] DEBUG: AT2[multic1]: --> AT+CMGS=154^M
> 2016-10-04 18:29:56 [16918] [6] DEBUG: AT2[multic1]: <-- >
> 2016-10-04 18:29:56 [16918] [6] DEBUG: AT2[multic1]: send command status: 1
> 2016-10-04 18:29:56 [16918] [6] DEBUG: AT2[multic1]: -->
> 0071000B913367102579F10008A78C0500038903010042006A0072002C00
> 2000720065006D0070006C006100630065006D0065006E00740020006D00
> 650072006300720065006400690020003400200065007400200076006500
> 6E00640072006500640069002000370020006F00630074006F0062007200
> 65002000640065002000320030006800330030002000E0002000320032006800200063
> 2016-10-04 18:29:56 [16918] [6] DEBUG: AT2[multic1]: --> ^Z
> 2016-10-04 18:29:58 [16918] [6] DEBUG: AT2[multic1]: <-- >
> 2016-10-04 18:29:58 [16918] [6] DEBUG: AT2[multic1]: <-- +CMGS: 249
> 2016-10-04 18:29:58 [16918] [6] DEBUG: AT2[multic1]: <-- OK
> 2016-10-04 18:29:58 [16918] [6] DEBUG: AT2[multic1]: send command status: 0
> 2016-10-04 18:29:58 [16918] [6] DEBUG: DLR[internal]: Adding DLR
> smsc=multic1, ts=249, src=1234, dst=+33760152971, mask=31, boxc=
> 2016-10-04 18:29:59 [16918] [6] DEBUG: AT2[multic1]: <-- +CDS: 25
> 2016-10-04 18:29:59 [16918] [6] DEBUG: AT2[multic1]: <--
> 07913366003000F006F90B913367102579F1610140818284806101408182058000
> 2016-10-04 18:29:59 [16918] [6] DEBUG: AT2[multic1]: received message from
> SMSC: +33660003000
> 2016-10-04 18:29:59 [16918] [6] DEBUG: AT2[multic1]: got STATUS-REPORT for
> message <249>:
> 2016-10-04 18:29:59 [16918] [6] DEBUG: AT2[multic1]: Numeric receiver
> (international) <+33760152971>
> 2016-10-04 18:29:59 [16918] [6] DEBUG: DLR[internal]: Looking for DLR
> smsc=multic1, ts=249, dst=+33760152971, type=1
> 2016-10-04 18:29:59 [16918] [6] DEBUG: DLR[internal]: created DLR message
> for URL <http://localhost/playsms/index.php?app=call&cat=
> gateway&plugin=kannel&access=dlr&type=%d&smslog_id=9745&uid=1&smsc=kannel>
> 2016-10-04 18:29:59 [16918] [6] DEBUG: AT2[multic1]: --> AT+CNMA^M
> 2016-10-04 18:29:59 [16918] [6] DEBUG: AT2[multic1]: <-- +CMS ERROR: 340
> 2016-10-04 18:29:59 [16918] [6] ERROR: AT2[multic1]: +CMS ERROR: +CMS
> ERROR: 340
> 2016-10-04 18:29:59 [16918] [6] ERROR: AT2[multic1]: +CMS ERROR: There is
> no need to send message ack by the AT command +CNMA (340)
>
> I'm not sure if it can cause problem to Kannel, but it's the only CMS
> error I get in my logs and sometimes, I got some DLR that don't match, so
> maybe this CMS error is the source of the problem:
>
> 2016-10-04 17:59:29 [16918] [6] DEBUG: DLR[internal]: Adding DLR
> smsc=multic1, ts=170, src=1234, dst=+33601641280, mask=31, boxc=
> 2016-10-04 17:59:31 [16918] [6] DEBUG: AT2[multic1]: TP-Validity-Period:
> 24.0 hours
> 2016-10-04 17:59:31 [16918] [6] DEBUG: AT2[multic1]: --> AT+CMGS=154^M
> 2016-10-04 17:59:31 [16918] [6] DEBUG: AT2[multic1]: <-- >
> 2016-10-04 17:59:31 [16918] [6] DEBUG: AT2[multic1]: send command status: 1
> 2016-10-04 17:59:31 [16918] [6] DEBUG: AT2[multic1]: -->
> 0051000B913306611482F00008A78C050003820402006F0075006A006F00
> 7500720073002000700061007300200072006500E7007500200076006F00
> 73002000660069006300680065007300200064006500200070007200E900
> 730065006E0063006500200070006F007500720020004C00610075007200
> 65006E007400200043004800410052005200410053002E000A000A004D006500720063
> 2016-10-04 17:59:31 [16918] [6] DEBUG: AT2[multic1]: --> ^Z
> 2016-10-04 17:59:32 [16918] [6] DEBUG: AT2[multic1]: <-- >
> 2016-10-04 17:59:32 [16918] [6] DEBUG: AT2[multic1]: <-- +CMGS: 171
> 2016-10-04 17:59:32 [16918] [6] DEBUG: AT2[multic1]: <-- OK
> 2016-10-04 17:59:32 [16918] [6] DEBUG: AT2[multic1]: send command status: 0
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: <-- +CDS: 25
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: <--
> 07913366003000F006A90B913306611482F0610140718591806101407185428000
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: received message from
> SMSC: +33660003000
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: got STATUS-REPORT for
> message <169>:
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: Numeric receiver
> (international) <+33601641280>
> 2016-10-04 17:59:33 [16918] [6] DEBUG: DLR[internal]: Looking for DLR
> smsc=multic1, ts=169, dst=+33601641280, type=1
> 2016-10-04 17:59:33 [16918] [6] WARNING: DLR[internal]: DLR from
> SMSC<multic1> for DST<+33601641280> not found.
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: Received delivery
> notification but can't find that ID in the DLR storage
> 2016-10-04 17:59:33 [16918] [6] DEBUG: System error 1: Operation not
> permitted
> 2016-10-04 17:59:33 [16918] [6] ERROR: AT2[multic1]: could not decode PDU
> to a message.
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: --> AT+CNMA^M
> 2016-10-04 17:59:33 [16918] [6] DEBUG: AT2[multic1]: <-- +CMS ERROR: 340
> 2016-10-04 17:59:33 [16918] [6] ERROR: AT2[multic1]: +CMS ERROR: +CMS
> ERROR: 340
> 2016-10-04 17:59:33 [16918] [6] ERROR: AT2[multic1]: +CMS ERROR: There is
> no need to send message ack by the AT command +CNMA (340)
>
> So, I want to know if there is a way to stop the sendings of AT+CNMA
> commands in Kannel ?
>
> Thank you,
>
>
> *Hakim BIMAZGANE*
> *Lead Développeur*
>
> Vit*alliance*
> *              Service professionnel d'aide à domicile*
>

Reply via email to