Wilhelm Ellmann schrieb:
> Hi,
> 
> I was wondering if someone could help me.
> I have two servers each run kannel, I would like to send an http request
> from my one server to the other to send a message ( the reason is that
> my service provider only accepts sending requests from one of my servers
> ). My setup is as follows
> 
> On server 1 I have set up a http group and sms user
> 
> group = smsc
> smsc = http
> smsc-id = server2_http
> system-type = kannel
> smsc-username = server2_http
> smsc-password = "password"
> port = 13020
> send-url = "http://server2:13013/cgi-bin/sendsms";
> allowed-smsc-id = server2_http
> 
> # SEND-SMS USERS
> group = sendsms-user
> username = server2_user
> password = ""
> user-deny-ip = *.*.*.*
> user-allow-ip = 127.0.0.1
> forced-smsc = server2_http
> concatenation = true
> max-messages = 4
> 
> 
> On my second server I have the following user account to accept the
> request.
> # SEND-SMS USERS
> group = sendsms-user
> username = server2_http
> password = "password"
> forced-smsc = SMSSERVER
> user-deny-ip = *.*.*.*
> user-allow-ip = [server1]
> concatenation = true
> max-messages = 4
> split-chars = " "
> split-suffix = "..."
> 
> group = smsc
> throughput = 5
> smsc = smpp
> smsc-id = SMSSERVER
> host = [IP]
> msg-id-type = 03
> transceiver-mode = 1
> port = 1200
> enquire-link-interval = 30
> interface-version = 34
> smsc-username = [username]
> smsc-password = [password]
> dest-addr-ton=1
> dest-addr-npi=1
> alt-charset = ISO_8859-1
> system-type = "235509"
> allowed-smsc-id = SMSSERVER
> 
> 
> 
> What I have found is that messages are being sent correctly, but in the
> bearer box log I get the following message. Could anyone please tell me
> what settings I have gotten wrong that I get this error message
> 
> 2008-11-11 17:52:19 *FAILED* Send SMS [SMSC:server2_http] [SVC:ftpsms]
> [ACT:] [BINF:] [from: 33035] [to:27826194098] [flags:-1:0:-1:-1:31]
> [msg:131:You have been entered into the Smart Swipe Competition.  Stay
> tuned to Tyrone and Nigel on Hope FM to find out if you're a winner.]
> [udh:0:]
> 
> 2008-11-11 17:52:19 DLR SMS [SMSC:server2_http] [SVC:ftpsms] [ACT:]
> [BINF:] [from: 33035] [to:27826194098] [flags:-1:-1:-1:-1:16]
> [msg:29:*NACK*/0: Accepted for delivery] [udh:0:]

config "seems" ok from a fast glance. Can you provide us logs from the server2
smsbox.log, which get's the HTTP request from the server1 (via the SMSC HTTP 
route).

Obviously the HTTP response from smsbox2 is either a) not fetched, or b) parsing
gives us an error here.

Stipe

-- 
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to