Dear users, my goal is to manually inject DLR to kannel. for this is have created a http generic smsc with send-url, i am getting proper data in my php file.
after parsing my message data in need to inject DLR back to my http smsc, ,but when i try that i face "Unknown DLR, not accepted" here is my http smsc conf and the data i am receiving in my php and the URL to inject DLR, can anyone advise me what wrong i am doing? ############# # My generic SMSC ############# group = smsc smsc = http system-type = generic smsc-id = localpars log-file = "/var/log/kannel/generic.log" port = 8998 send-url = " http://localhost/asd.php?date=%t&unified_sender=%Q&unified_receiver=%q&message=%a&localsmsc=%i&dlr-mask=%d&service=%n&binfo=%B&sender=%P&receiver=%p&mid=%I&dlr-url=%R&coding=%c&charset=%C&FID=%F&mclass=%m " connect-allow-ip = "*.*.*.*" reroute-dlr = true smsc-username = user smsc-password = pass status-success-regex = "" status-permfail-regex = "failure" status-tempfail-regex = "retry later" ######################### # data received in my php file ######################### Array ( [date] => 2012-12-07 07:47:20 [unified_sender] => 21234A [unified_receiver] => +9XXXXXXXXX [message] => test rerout message [localsmsc] => localpars [dlr-mask] => 19 [service] => ali [binfo] => 11223 [sender] => 21234A [receiver] => +9XXXXXXXX [mid] => 6f0087b5-7d98-4175-95e2-fd637dff63ba [dlr-url] => 6f0087b5 [coding] => 0 [charset] => UTF-8 [FID] => 6f0087b5 [mclass] => 1 ) ############################## # URL which should injects the DLR ############################## http://172.18.4.24:8998/sms?username=user&password=pass&dlr-mask=1&dlr-mid=6f0087b5-7d98-4175-95e2-fd637dff63ba&to=+9xxxxxxxxx or (without + in to parameter) http://172.18.4.24:8998/sms?username=user&password=pass&dlr-mask=1&dlr-mid=6f0087b5-7d98-4175-95e2-fd637dff63ba&to=9xxxxxxxxx ############################## # http smsc log when i call above URL ############################## 2012-12-07 08:07:06 [22756] [7] DEBUG: HTTP[localpars]: Got request `/sms' 2012-12-07 08:07:06 [22756] [7] DEBUG: HTTP[localpars]: Received an HTTP request 2012-12-07 08:07:06 [22756] [7] DEBUG: DLR[internal]: Looking for DLR smsc=localpars, ts=6f0087b5-7d98-4175-95e2-fd637dff63ba, dst= 9xxxxxxx, type=1 2012-12-07 08:07:06 [22756] [7] WARNING: DLR[internal]: DLR from SMSC<localpars> for DST< 923219473162> not found. 2012-12-07 08:07:06 [22756] [7] ERROR: HTTP[localpars]: Got DLR but could not find message or was not interested in it id<6f0087b5-7d98-4175-95e2-fd637dff63ba> dst< 9xxxxxxx>, type<1> 2012-12-07 08:07:06 [22756] [7] DEBUG: HTTP[localpars]: Sending reply Thank Ali
