Hello,

Thank you for answer. I tried your configuration, but result is the same -
I get the same errors :(

regards,
Martynas



> V wrote:
>
>>Hello,
>>
>>I try to use siemens tc35 modem for sending/recieving sms.
>>The last lines of debug log are:
>>
>>--------------------
>>005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CSMS=?^M
>>2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- +CSMS: (0,1)
>>2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- OK
>>2005-05-18 15:22:42 [11796] [6] INFO: AT2[modemtc35]: Phase 2+ is
>> supported
>>2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CSMS=1^M
>>2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- +CSMS: 1,1,1
>>2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- OK
>>2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: -->
>>AT+CNMI=1,2,0,1,1^M
>>2005-05-18 15:22:42 [11796] [6] DEBUG: AT2[modemtc35]: <-- OK
>>2005-05-18 15:22:42 [11796] [6] INFO: AT2[modemtc35]: AT SMSC
>> successfully
>>opened.
>>----------------------
>>
>>So, device is opened. But when I try to send sms through kannel, I get
>>these errors:
>>
>>---------------------
>>2005-05-18 15:23:00 [11815] [13] DEBUG: boxc_receiver: sms received
>>2005-05-18 15:23:00 [11815] [13] DEBUG: send_msg: sending msg to box:
>><127.0.0.1>
>>2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]:
>> TP-Validity-Period:
>>24.0 hours
>>2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: --> AT+CMGS=25^M
>>2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
>>2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: send command
>> status: 1
>>2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: -->
>>0011000B819762120242F00000A70C6276182466874162763806
>>2005-05-18 15:23:02 [11796] [6] DEBUG: AT2[modemtc35]: --> ^Z
>>2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: <-- >
>>2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: <-- ERROR
>>2005-05-18 15:23:05 [11796] [6] ERROR: AT2[modemtc35]: Error occurs:
>> ERROR
>>(error number not known to us. ask google and add it.)
>>2005-05-18 15:23:05 [11796] [6] DEBUG: AT2[modemtc35]: send command
>>status: -1
>>
>>
>>
>
> It is probably your CNMI string that is wrong.
> I use this setting for a MC35i
>
> group = modems
> id = siemens_mc35
> name = "Siemens MC35i"
> detect-string = "SIEMENS"
> detect-string2 = "MC35i"
> init-string = "AT+CNMI=2,1"
> message-storage = "SM"
> speed = 115200
> enable-hwhs = "AT\\Q3"
> need-sleep = true
>
>
> BR, Poul
>
>
>



Reply via email to