On Fri, 2012-02-10 at 20:23, Ashish Agarwal wrote:
> I am trying to work on http dlr inject. I managed to send dlr on port 13015
> with SUCCESS(DELIVRD)/UNDELIV status but I am not able to change the
> err:XXX and status:XXX value.

Where did you read it can be done at all?
 
> http smsc configuration
> 
> group = smsc
> smsc = http
> smsc-id = http
> system-type = generic
> port = 13015
> connect-allow-ip = "*.*.*.*"
> send-url = "http://172.16.1.130/smppbox/receive.php";
> #send-url = "http://localhost/vm/receive.php?send=%P&msg=%b&dest=%p";
> status-success-regex = "ok"
> status-permfail-regex = "failure"
> status-tempfail-regex = "retry later"
> generic-foreign-id-regex = "<id>(.+)</id>"
> generic-param-from = "senderID"
> generic-param-to = "to"
> generic-param-text = "text"
> generic-param-dlr-mask = "DLRStatus"
> generic-param-dlr-mid = "msgID"
> generic-param-dlr-url = "DLRUrl"
> generic-param-flash = "flash"
> generic-param-mclass = "mclass"
> generic-param-mwi = "mwi"
> generic-param-coding = "coding"
> generic-param-validity = "validity"
> generic-param-deferred = "deferred"
> generic-param-foreign-id = "foreignID"
> #generic-message-sent = "Message sent with ID: %I"
> generic-status-sent = 200
> generic-status-error = 404
> 
> wherein I am trying to inject dlr in the following format
> 
> http://XXX.XXX.XXX.XXX:13015/?DLRStatus=2&msgID=e3989a62-e72d-cded-9b29-9ca98f820a11&to=919900000147&text=id%3Ae3989a62-e72d-cded-9b29-9ca98f820a11+sub%3A001+dlvrd%3A000+submit+date%3A1202101816+done+date%3A1202101821+stat%3AUNDELIV+err%3A051+text%3A
> 
> Though I have mentioned the err value as 051 but the esme receives in the
> following format
> 
> 2012-02-10 18:29:01 Receive DLR [SMSC:XXX] [SVC:XXXX] [ACT:test] [BINF:]
> [FID:0b3404f5] [META:?smpp?dlr_err=000&] [from:BULKSMS] [to:XXXXXXXXX]
> [flags:-1:-1:-1:-1:2] [msg:112:id:0b3404f5 sub:001 dlvrd:000 submit
> date:1202101827 done date:1202101829 stat:UNDELIV err:000 text:
>  ] [udh:0:]
> 
> Please help me with this.
> 
> -- 
> Regards,
> 
> Ashish

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)

Reply via email to