Hi,
testing with wget from command line on the jasmin server and with a short python script leads to the same broken result on the phone
# -*- coding: utf-8 -*-
import urllib
import urllib2
def main():
print "sms.py called"
baseParams = {'username':'testuser', 'password':'*****', 'to':'msisdn', 'content':'äöß@€', 'from': 'mobileapart', 'coding': '3'}
# Send an SMS-MT with minimal parameters
encoded_params = urllib.urlencode(baseParams)
print encoded_params
if __name__ == "__main__":
main()
command line output:
staff@jasmin:[~]$ python sms.py
sms.py called
username=testuser&from=mobileapart&coding=3&content=%C3%A4%C3%B6%C3%9F%40%E2%82%AC&to=msisdn&password=*****
Success "22b87686-2e17-4f0d-8417-f281b05cef55"
logfile output:
==> smppclient-manager.log <==
2015-06-23 10:35:15 INFO 725 Publishing SubmitSmPDU with routing_key=submit.sm.DEMO_HSL, priority=0
==> http-api.log <==
2015-06-23 10:35:15 INFO 725 SMS-MT [cid:DEMO_HSL] [msgid:22b87686-2e17-4f0d-8417-f281b05cef55] [prio:0] [dlr:No] [from:mobileapart] [to:msisdn] [content:äöß@€]
==> http-accesslog.log <==
"127.0.0.1" - - [23/Jun/2015:08:35:15 +0000] "GET /send?username=testuser&from=mobileapart&coding=3&content=%C3%A4%C3%B6%C3%9F%40%E2%82%AC&to=msisdn&password=***** HTTP/1.1" 200 46 "-" "Python-urllib/2.7"
==> messages.log <==
2015-06-23 10:35:15 INFO 725 SMS-MT [cid:DEMO_HSL] [queue-msgid:22b87686-2e17-4f0d-8417-f281b05cef55] [smpp-msgid:C2F752972E4E9633] [status:ESME_ROK] [prio:0] [dlr:NO_SMSC_DELIVERY_RECEIPT_REQUESTED] [validity:none] [from:mobileapart] [to:msisdn] [content:äöß@€]
Phone result:
"
¤ @ "
connector settings:
jcli : smppccm -l
#Connector id Service Session Starts Stops
#DEMO_HSL started BOUND_TRX 14 13
Total connectors: 1
jcli : smppccm -s DEMO_HSL
ripf 0
con_fail_delay 10
dlr_expiry 86400
coding 0
submit_throughput 5
elink_interval 30
bind_to 30
port *****
con_fail_retry yes
password *****
src_addr None
bind_npi 0
addr_range None
dst_ton 1
res_to 60
def_msg_id 0
priority 0
con_loss_retry yes
username *****
dst_npi 1
validity None
requeue_delay 120
host *****
src_npi 0
trx_to 300
logfile /var/log/jasmin/default-DEMO_HSL.log
systype SMPP
cid DEMO_HSL
loglevel 10
bind transceiver
proto_id None
con_loss_delay 10
bind_ton 0
pdu_red_to 10
src_ton 5