send sms via http

cgi-bin/sendsms?charset=UTF-16&coding=2&text=%FF%FE%09NkQ

smsc is http and received text value is garbled.  When smsc is smpp, the text 
value is no problem.  


test.php?text=N%09Qk&to=...


http smsc configuration

group = smsc
smsc = http
smsc-id = abc
system-type = generic
port = 13015
send-url = "http://domain.com/sms/test.php?from=%P&to=%p&text=%b";
log-level = 0
log-file = "/var/log/kannel/smsc-http.log"
status-success-regex = "ok"
status-permfail-regex = "failure"
status-tempfail-regex = "retry later"
generic-foreign-id-regex = "<id>(.+)</id>"
generic-param-from = "phoneNumber"
generic-param-to =
 "shortCode"
generic-message-sent = "Message sent with ID: %I"
generic-status-sent = 200
generic-status-error = 404

Reply via email to