Hi,

This is a 2 months old discussion. It is a long time to remember what was said. To facilitate things next time please keep the original thread unedited and unchanged.

1) Logs you sent are from kannel 1.4.1. I am glad you upgraded since, but please supply fresh logs at maximum detail and your whole configuration file.

2) Nokia N73: Some Nokia phones have some problems with AT+CNMI. You can use your wvdial's output for a new init-string or consult manufacturer's AT set or simply skip CNMI from your init-string. Then copy nokiaphone's definition to nokia73 (or whatever you like) and append the new init-string.

3) Ericcson: I imagine you sent this SMS from your mobile (MO). There seems to be some information missing from the logs. I see a lot about not resending the SMS to the mobile (too soon) but I can't see the original failure. Without it I can't tell the problem.

BR,
Nikos

----- Original Message ----- From: "Nagesh Anchan" <nagesh.anc...@ril.com>
To: <users@kannel.org>
Sent: Friday, September 04, 2009 4:01 PM
Subject: Re: not able to use KANNEL with NOKIA N73 and SONY Ericcson w810i.Pl. help



Hi,

1) Upgrade to latest CVS, 1.4.3. You must be ~10 yrs out of date.
-->>  We are alreday using 1.4.3. VERSION file confirms.

2) For Linux: dmesg | grep tty. For Solaris: grep tty /var/adm/messages, to get device your modem is mapped. -->> wvdialconf create output shows the device to be /dev/ttyACM0 It is also confirmed
       in case of Sony Erricson handset.

3) Establish modem connection with minicom and/or wvdial
-->> modem connection is established without problem as the wvdialconf create output shows.

4) Configure modem devices and connection parameters in kannel
-->> we are using default values already present in the config file given with Kannel.

Good luck,
Nikos



-------------------------------------------------------------------
Hello,



I have recently setup KANNEL 1.4.1. I have been trying to use phone-as-smsc feature of

kannel connecting GSM phones Nokia N73 and Sony Ericcson w810i but no

success so far. Nokia N73 could not even be opened. Sony Ericcson w810i

was opened successfully and SMS was accepted by smsbox (even by bearer box

also) but could not be sent.





I connected phone to PC (using data cable supplied by the vendor) on USB

port as usbserial.



following are the modem settings used.

.........

group = modems

id = nokiaphone

name = "Nokia Phone"

detect-string = "Nokia Mobile Phone"

need-sleep = true

keepalive-cmd = "AT+CBC;+CSQ"

enable-mms = true



group = modems

id = sonyericsson_p1i

name = "Sony Ericsson P1i"

detect-string = "Sony Ericsson P1i"

init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

message-storage = "SM"

reset-string = "ATZ"

broken = true

.........





In case of Nokia N73: device (/dev/ttyACM0) could not even be opened.

following was the SMSC AT config done in smskannel.conf



.........

include = "/root/gateway-1.4.3/doc/examples/modems.conf"

group = smsc

smsc = at

modemtype = nokiaphone

device = /dev/ttyACM0

speed = 9600

log-file = "/tmp/kannelmodem.log"

log-level = 0

.........



The logs says:

2009-07-02 15:52:00 [3910] [6] INFO: AT2[/dev/ttyACM0]: opening device

2009-07-02 15:52:00 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.

Telnet mode = 0

2009-07-02 15:52:01 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: device opened

2009-07-02 15:52:01 [3910] [6] INFO: AT2[/dev/ttyACM0]: Logging in

2009-07-02 15:52:02 [3910] [6] INFO: AT2[/dev/ttyACM0]: init device

2009-07-02 15:52:02 [3910] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CPIN?^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: READY

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -->

AT+CNMI=1,2,0,1,0^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ERROR

2009-07-02 15:52:03 [3910] [6] ERROR: AT2[/dev/ttyACM0]: Generic error: ERROR

2009-07-02 15:52:03 [3910] [6] ERROR: AT2[/dev/ttyACM0]: Initialization of device failed.

2009-07-02 15:52:03 [3910] [6] INFO: AT2[/dev/ttyACM0]: Closing device

2009-07-02 15:52:03 [3910] [6] INFO: AT2[/dev/ttyACM0]: Closing device







In case of Sony Ericcson w810i : device (/dev/ttyACM0) was successfully opened. Bearerbox and Smsbox was successfully started. but sms could not be sent using http url.

Following was the SMSC AT config done in smskannel.conf



.........

include = "/root/gateway-1.4.3/doc/examples/modems.conf"

group = smsc

smsc = at

modemtype = sonyericsson_p1i

device = /dev/ttyACM0

speed = 9600

log-file = "/tmp/kannelmodem.log"

log-level = 0

.........



BEARERBOX log says:

2009-07-02 16:15:21 [3222] [6] INFO: AT2[/dev/ttyACM0]: opening device

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.

Telnet mode = 0

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: device opened

2009-07-02 16:15:21 [3222] [6] INFO: AT2[/dev/ttyACM0]: Logging in

2009-07-02 16:15:21 [3222] [6] INFO: AT2[/dev/ttyACM0]: init device

2009-07-02 16:15:21 [3222] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CPIN?^M

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: READY

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M

2009-07-02 16:15:22 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK

2009-07-02 16:15:22 [3222] [6] INFO: AT2[/dev/ttyACM0]: AT SMSC successfully opened.

.......

2009-07-02 16:23:37 [3222] [8] DEBUG: boxc_receiver: sms received

2009-07-02 16:23:37 [3222] [8] DEBUG: send_msg: sending msg to box:

<127.0.0.1>

2009-07-02 16:23:38 [3222] [7] DEBUG: sms_router: handling message (0x142810e0 vs 0x142810e0)

2009-07-02 16:23:38 [3222] [7] DEBUG: re-queing SMS not-yet-to-be resent

2009-07-02 16:23:38 [3222] [7] DEBUG: sms_router: handling message (0x142810e0 vs 0x142810e0)

2009-07-02 16:23:38 [3222] [7] DEBUG: re-queing SMS not-yet-to-be resent

2009-07-02 16:23:38 [3222] [7] DEBUG: sms_router: time to sleep 30.00 secs.

2009-07-02 16:23:38 [3222] [7] DEBUG: sms_router: gwlist_len = 1

2009-07-02 16:26:12 [3222] [7] DEBUG: sms_router: handling message (0x14280a00 vs 0x14280a00)

2009-07-02 16:26:12 [3222] [7] DEBUG: re-queing SMS not-yet-to-be resent

2009-07-02 16:26:12 [3222] [7] DEBUG: sms_router: handling message (0x14280a00 vs 0x14280a00)

2009-07-02 16:26:12 [3222] [7] DEBUG: re-queing SMS not-yet-to-be resent

2009-07-02 16:26:12 [3222] [7] DEBUG: sms_router: time to sleep 30.00 secs.

2009-07-02 16:26:42 [3222] [7] DEBUG: sms_router: gwlist_len = 1 .......





SMSBOX log says:

2009-07-02 16:16:05 [3234] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001.

..............

2009-07-02 16:23:37 [3234] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.

2009-07-02 16:23:37 [3234] [2] DEBUG: HTTP: Created HTTPClient area 0x170929f0.

2009-07-02 16:23:37 [3234] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>

2009-07-02 16:23:37 [3234] [3] INFO: sendsms used by <tester>

2009-07-02 16:23:37 [3234] [3] INFO: sendsms sender:<tester:13013>

(127.0.0.1) to:<9987702344> msg:<Hello SMS>

2009-07-02 16:23:37 [3234] [3] DEBUG: Stored UUID

4aa08500-6970-439e-9812-8299b23e0b13

2009-07-02 16:23:37 [3234] [3] DEBUG: message length 9, sending 1 messages

2009-07-02 16:23:37 [3234] [3] DEBUG: Status: 202 Answer: <Sent.>

2009-07-02 16:23:37 [3234] [3] DEBUG: Delayed reply - wait for bearerbox

2009-07-02 16:23:37 [3234] [0] DEBUG: Got ACK (0) of

4aa08500-6970-439e-9812-8299b23e0b13

2009-07-02 16:23:37 [3234] [0] DEBUG: HTTP: Destroying HTTPClient area 0x170929f0.

2009-07-02 16:23:37 [3234] [0] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.



"Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s). are confidential. and may be privileged. If you are not the intended recipient. you are hereby notified that any review. re-transmission. conversion to hard copy. copying. circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient. please notify the sender immediately by return email.
and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email. The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."



Reply via email to