Hi All,

I have set up a HTTP SMSC as per the UG [config below]. When I call the
sendsms url I, I can't see the url defined in the send-url directive being
invoked.

What could be the problem?

== http-smsc config ==
group = smsc
smsc = http
smsc-id = HTTP_SMSC
system-type = generic
port = 13015
send-url = "http://
{host}/sdpApps/services/sendsms/sdp-sms-client.php?from=%P&to=%p&text=%b"
status-success-regex = "200"
status-permfail-regex = "500"
status-tempfail-regex = "542"
generic-message-sent = "Message sent with ID: %I"
log-file = "/var/log/kannel/HTTP_SMSC.log"
log-level = 0
allowed-prefix =25470;25471;25472


== sendsms request ==

http://localhost:13015/cgi-bin/sendsms?&user=****&pass=****&from=22301&to=254712171204&text=test+message&dlr-mask=15&dlr-url=http%3A%2F%2Flocalhost%2Fcgi-bin%2Fproc-dlr.pl%3FmsgID%3DAPI_MSG559_3%26status%3D%25d%26clid%3D3&account=3&smsc=HTTP_SMSC


== Log extract ==

2013-11-25 20:05:45 [48886] [14] DEBUG: HTTP[HTTP_SMSC]: Got request
`/cgi-bin/sendsms?&=&user=****&pass=****&from=22301&to=254712171204&text=test+message&dlr-mask=15&dlr-url=http%3A%2F%2Flocalhost%2Fcgi-bin%2Fproc-dlr.pl%3FmsgID%3DAPI_MSG559_3%26status%3D%25d%26clid%3D3&account=3&smsc=HTTP_SMSC'
2013-11-25 20:05:45 [48886] [14] DEBUG: HTTP[HTTP_SMSC]: Received an HTTP
request
2013-11-25 20:05:45 [48886] [14] DEBUG: HTTP[HTTP_SMSC]: Constructing new
SMS
2013-11-25 20:05:45 [48886] [14] DEBUG: HTTP[HTTP_SMSC]: Sending reply
2013-11-25 20:05:45 [48886] [14] DEBUG: HTTP: Destroying HTTPClient area
0x7fa878000ad0.
2013-11-25 20:05:45 [48886] [14] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2013-11-25 20:05:45 [48886] [14] DEBUG: HTTP[HTTP_SMSC]: Destroying client
information

Reply via email to