Hi, I tried to send sms's with the next url: http://host:port/cgi-bin/sendsms?username=tester&password=foobar&from=root&to=+12345&text=hello&dlr-mask=7&dlr-url=http%3A%2F%2Fhost%2Fdlr%2Fdlr.php%3Ftype%3D%25d
The dlr-url is encoded with php: <? $drl_url="http://host/dlr/dlr.php?type=%d"; $e_dlr_url=rawurlencode($drl_url); echo $e_dlr_url; ?> The dlr.php file is here: <? $stringData=$_GET['type']; $handle = fopen("./file.txt", "w"); fwrite($handle, $stringData); ?> Main configuration file is here: group = core admin-port = 12000 admin-password = pr0theu5 status-password = pr0theu5 smsbox-port = 12001 log-file = "/opt/kannel/logs/bearerbox_server.log" #log-level = 1 #dlr-storage = mysql dlr-storage = internal include = "/opt/kannel/etc/smsc.d/smsc.conf" group = smsbox bearerbox-host = localhost sendsms-port = 12013 log-file = "/opt/kannel/logs/smsbox_server.log" #log-level = 1 access-log = "/opt/kannel/logs/access_smsbox_server.log" group = sendsms-user username = tester password = foobar concatenation = yes max-messages = 10 The smsc.conf file is here: group = smsc smsc = smpp smsc-id = smpp host = host port = 1234 receive-port = 1235 system-type = "smpp" smsc-username = tester smsc-password = foobar source-addr-ton = 0 source-addr-npi = 1 source-addr-autodetect = yes dest-addr-ton = 1 dest-addr-npi = 1 I received the sms's, but did not receive any dlr's. Can u help me? > > in core group set > dlr-storage = internal > > > Anytime you want to send a msg to an smsbox, add the dlr-mask field > (dlr-mask=7) and add the dlr-url field > (url-field=www.host.domain/logsmsreply) > > > > kannel wrote: >> >> >> >> Hi everybody, >> >> Can somebody help me with detailed documentation about how to set kannel >> to receive dlr's. >> >> Regards >> >> -- >> Ezen uzenet virusellenorzesen esett at, es virusmentesnek bizonyult. >> >> >> >> >> > > -- > View this message in context: > http://www.nabble.com/dlr-help-tp15072112p15074486.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > > > -- > Ezen uzenet virusellenorzesen esett at, es virusmentesnek bizonyult. > > -- Ezen uzenet virusellenorzesen esett at, es virusmentesnek bizonyult.
