MasGiant wrote:
>
> Thx I did it in the pass post, anyway thx 4 you time :D
>
> Please change = init-string = AT+CNMI=3,2,0,0,0 to> init-string =
> AT+CNMI=3,1,0,0,0
>
> ================
>
>
> Yelisarov wrote:
>>
>> My SMSC is a GSM phone...
>>
>> I recivied the first message to my boxes correctly and reply with the
>> sms-service, but the next message is not recieved for the bearerbox, the
>> message arrives to the phone, but Kannel do nothing :s
>>
>> group = core
>> admin-port = 13000
>> smsbox-port = 13001
>> admin-password = ************
>> log-file = "/tmp/kannel.log"
>> log-level = 1
>> box-allow-ip = "*.*.*.*"
>> wdp-interface-name = "*"
>> access-log = "access.log"
>> store-file = "almacenado.log"
>>
>> group = smsc
>> smsc = at
>> smsc-id = motorola
>> modemtype = e398
>> device = /dev/ttyACM0
>> speed = 0
>> sms-center = +5294100001410
>> pin = 1111
>> sim-buffering = true
>> my-number = 9511795326
>>
>> group = modems
>> id = e398
>> name = e398
>> detect-string = e398
>> init-string = AT+CNMI=3,2,0,0,0
>> message-storage = OM
>>
>> group = smsbox
>> smsbox-id = "caja_sms"
>> bearerbox-host = localhost
>> sendsms-port = 13013
>> global-sender = 9511795326
>> log-file = "/logs/logsmsbox.log"
>> log-level = 0
>>
>> group = sms-service
>> keyword = talk
>> text = "I am talk with you"
>>
>> group = sendsms-user
>> username = tester
>> password = foobar
>> user-allow-ip = "127.0.0.1"
>>
>> group = smsbox-route
>> smsbox-id = caja_sms
>> smsc-ids = motorola
>> *********************************
>> When I recivied the first messages in the bearebox
>>
>> AT+CPMS="OM"^M
>> 2007-06-05 11:44:25 [3505] [6] DEBUG: AT2[motorola]: <-- +CPMS: 0,254
>> 2007-06-05 11:44:25 [3505] [6] DEBUG: AT2[motorola]: <-- OK
>> 2007-06-05 11:44:25 [3505] [6] INFO: AT2[motorola]: AT SMSC successfully
>> opened.
>> 2007-06-05 11:44:27 [3505] [6] DEBUG: AT2[motorola]: --> AT+CPMS?^M
>> 2007-06-05 11:44:27 [3505] [6] DEBUG: AT2[motorola]: <-- +CPMS:
>> "OM",0,254,"OM",0,254,"IM",5,254
>> 2007-06-05 11:44:27 [3505] [6] DEBUG: AT2[motorola]: <-- OK
>> 2007-06-05 11:44:33 [3505] [5] INFO: Client connected from <127.0.0.1>
>> 2007-06-05 11:44:33 [3505] [5] DEBUG: Started thread 14
>> (gw/bb_boxc.c:function)
>> 2007-06-05 11:44:33 [3505] [14] DEBUG: Thread 14 (gw/bb_boxc.c:function)
>> maps to pid 3505.
>> 2007-06-05 11:44:33 [3505] [14] DEBUG: Started thread 15
>> (gw/bb_boxc.c:boxc_sender)
>> 2007-06-05 11:44:33 [3505] [15] DEBUG: Thread 15
>> (gw/bb_boxc.c:boxc_sender) maps to pid 3505.
>> 2007-06-05 11:44:33 [3505] [14] DEBUG: boxc_receiver: got boxc_id
>> <caja_sms> from <127.0.0.1>
>> 2007-06-05 11:45:29 [3505] [6] DEBUG: AT2[motorola]: --> AT+CPMS?^M
>> 2007-06-05 11:45:29 [3505] [6] DEBUG: AT2[motorola]: <-- +CPMS:
>> "OM",0,254,"OM",0,254,"IM",5,254
>> 2007-06-05 11:45:29 [3505] [6] DEBUG: AT2[motorola]: <-- OK
>> 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: <-- +CMT: ,23
>> 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: <--
>> 0891254901001014F0040A81591141342500117060501154758E05E8B0981D06
>> 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: received message
>> from SMSC: +5294100001410
>> 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: Numeric sender
>> <9511144352>
>> 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: User data length
>> read as (5)
>> 2007-06-05 11:46:11 [3505] [6] DEBUG: AT2[motorola]: Udh decoding done
>> len=5 udhi=0 udhlen=0 udh=''
>> 2007-06-05 11:46:11 [3505] [15] DEBUG: send_msg: sending msg to boxc:
>> <caja_sms>
>> 2007-06-05 11:46:11 [3505] [15] DEBUG: boxc_sender: sent message to
>> <127.0.0.1>
>> 2007-06-05 11:46:11 [3505] [14] DEBUG: boxc_receiver: sms received
>> 2007-06-05 11:46:11 [3505] [14] DEBUG: send_msg: sending msg to boxc:
>> <caja_sms>
>> 2007-06-05 11:46:11 [3505] [14] DEBUG: boxc_receiver: got ack
>> 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: TP-Validity-Period:
>> 24.0 hours
>> 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: --> AT+CMGS=26^M
>> 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: <-- >
>> 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: send command status:
>> 1
>> 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: -->
>> 0011000A8159114134250000A70ED272BC5E9ED341C6709A5D2603
>> 2007-06-05 11:46:13 [3505] [6] DEBUG: AT2[motorola]: --> ^Z
>> 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: <-- >
>> 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: <-- +CMGS: 39
>> 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: <-- OK
>> 2007-06-05 11:46:17 [3505] [6] DEBUG: AT2[motorola]: send command status:
>> 0
>> 2007-06-05 11:46:22 [3505] [13] DEBUG: Dumping 0 messages to store
>>
>> *********************************
>>
>> but when I recivied the second messages do nothing
>>
>> In the smsbox I see
>>
>> 2007-06-05 11:46:11 [3551] [4] WARNING: No translation found for <talk>
>> from <9511144352> to <1234>
>> 2007-06-05 11:46:11 [3551] [4] ERROR: request failed
>> 2007-06-05 11:46:11 [3551] [4] DEBUG: message length 14, sending 1
>> messages
>> 2007-06-05 11:46:11 [3551] [0] DEBUG: Got ACK (0) of
>> b2316659-b197-4d48-bb35-9d83f0b14f1f
>> 2007-06-05 11:46:11 [3551] [0] DEBUG: No client - multi-send or ACK to
>> pull-reply
>>
>> I have 2 weeks search for this, please help me, I read the User guide, I
>> search in the web, I search in the archiquecture, but i dont find nothing
>> about this
>>
>
>
--
View this message in context:
http://www.nabble.com/Problem-with-sms-service-tf3873013.html#a11010460
Sent from the Kannel - User mailing list archive at Nabble.com.