Я настроил канал как поддельный SMS-центр. Но когда я пытаюсь отправить смс, я получаю следующую ошибку:
2010-02-24 15:12:30 [932] [12] DEBUG: send_msg: sending msg to box:
2010-02-24 15:12:30 [932] [12] ERROR: Error writing 16 octets to fd 34:
2010-02-24 15:12:30 [932] [12] ERROR: System error 104: Connection reset by peer
2010-02-24 15:12:30 [932] [12] ERROR: Couldn't write Msg to box , disconnecting
2010-02-24 15:12:30 [932] [12] DEBUG: Thread 12 (gw/bb_boxc.c:boxc_sender) terminates.
2010-02-24 15:12:30 [932] [11] ERROR: Error writing 16 octets to fd 34:
2010-02-24 15:12:30 [932] [11] ERROR: System error 104: Connection reset by peer
2010-02-24 15:12:30 [932] [11] DEBUG: Thread 11 (gw/bb_boxc.c:function) terminates.
2010-02-24 15:12:35 [932] [15] ERROR: Error reading from fd 39:
2010-02-24 15:12:35 [932] [15] ERROR: System error 104: Connection reset by peer
2010-02-24 15:12:35 [932] [15] ERROR: Error reading from fd 39:
2010-02-24 15:12:35 [932] [15] ERROR: System error 104: Connection reset by peer
Что не так?
URL для отправки смс:
http://localhost:13003/cgi-bin/sendsms?username=&password=&to=0123456&text=Hello+world
Я запускал kannel под cygwin и red hat, на каждой системной ошибке одинаково.
My kannel.conf
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access_kannel.log
store-file = /var/log/kannel/store_sms
group = smsc
smsc = fake
port = 13004
connect-allow-ip = "*.*.*.*"
group = smsbox
bearerbox-host = localhost
sendsms-port = 13003
global-sender = 13003
smsbox-id = "my smsbox"
log-file = /var/log/kannel/smsbox.log
log-level = 0
group = sendsms-user
username =
password =
group = sms-service
keyword = default
text = "No service specified"