RE: write failed with errno 11

Stephane Pointu <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
So, here is my config file:

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 9201
wdp-interface-name = "*"
admin-password = *****
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;10.1.*.*"
log-file = "/var/log/kannel/kannel.log"
log-level = 0
box-deny-ip = ""
box-allow-ip = "*.*.*.*"
unified-prefix = "0033,0"
access-log = "/var/log/kannel/access.log"

# SMSC CONNECTIONS
include = "/root/gateway-1.2.0/doc/modems.conf"
group = smsc
smsc = at2
smsc-id = T68
modemtype = ericsson_t68
device = /dev/ircomm0
speed = 19200
pin = 2345

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

# SEND-SMS USERS
group = sendsms-user
username = *******
password = *******
max-messages = 10
concatenation = true


Here is my error message from bearerbox log:

2002-08-06 18:32:04 [14] DEBUG: boxc_receiver: sms received
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: international starting with 00
(0033666666666)
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: TP-Validity-Period: 24.0 hours
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: --> AT+CMGS=148^M
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: <-- >
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: send command status: 1
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: -->
0051000B913366666666F60004A786060504C34FC002010604039481EA000145C606018712FF
0187131103010000010001000500000187146101872111030008080808080808080800018722
7001872311030000000000000187241103000000000000000000018728FF0187296B01018607
110300000000000000000000000000010000000001C608018715110300000100010101
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: --> ^Z
2002-08-06 18:32:06 [5] DEBUG: AT2[T68]: write failed with errno 11


And this is what i get in smsbox log:

2002-08-06 18:32:04 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2002-08-06 18:32:04 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <
127.0.0.1>
2002-08-06 18:32:04 [3] INFO: sendsms used by <*****>
2002-08-06 18:32:04 [3] INFO: sendsms sender:<penguin:0677777777>
(127.0.0.1) to
:<0666666666> msg:<^A^F^D^C<94><81>ê>
2002-08-06 18:32:04 [3] DEBUG: message length 127, sending 1 messages
2002-08-06 18:32:04 [3] DEBUG: Status: 202 Answer: <Sent.>
2002-08-06 18:32:04 [3] DEBUG: HTTP: Destroying HTTPClient area 0x80a0b88.
2002-08-06 18:32:04 [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.


I run kannel 1.2.0 on a Redhat 7.3 Linux and use an Ericsson T68 via IRDA as
SMSC. I have also tried kannel's daily snapshots and the problem was not
solved.
Does that help? I already talked about my problem in users mailing list and
we could not find a solution.

Thanks a lot for helping,
Stephane.

-----Original Message-----
From: Stipe Tolj [mailto:[email protected]]
Sent: 08 August 2002 12:33
To: Stephane Pointu
Cc: [email protected]
Subject: Re: write failed with errno 11


Stephane Pointu wrote:
> 
> I have problems sending sms's longer than 125 characters. I get this error
> message:
> "write failed with errno 11"
> 
> Can anybody tell me where i can change the code to split the sms in 125
> character long pieces.

first of all, telling us what smsc type you use is helpfull and an
actual snapshot of the bearerbox and smsbox log would help too.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.