Oh Yes, Niel, I already did that thanks for the suggestion in the first place. It will do for now, until I need something a little more complex.
Best Regards, Michael C. Nwaogu ________________________________ From: Niel <[email protected]> To: [email protected] Sent: Friday, February 24, 2012 8:33 AM Subject: Re: Forged downstream Delivery Report Niel Smith <daniel.alfred.smith <at> gmail.com> writes: > > > Hi Mike,I've had some success injecting DLR into the generic http smsc.Assuming your http smsc port is set to 1234, the following will inject a delivered dlr: > > > http://servername:1234/sms?username=user&password=pass&dlr-mask=1&dlr-mid=5e2a4d0f-2b51-4fa9-8cf3-028a51678c4a > > I use the generic-foreign-id-regex parameter to set a external ID when > sending, but you can always just grab the kannel one. Supply this with the dlr-mid > parameter.It appears that dlr-mask=1 is delivered, anything other that 1 is failed / not delivered. When kannel accepts the SMS, the status is accepted / queued, then, if the sendsms does not return an error, the status is submitted / pending.I've also found that you need to let kannel finish the sendsms call before you can inject a delivery report.Regards,On 3 January 2012 17:22, Mike Nwaogu <michael_nwaogu <at> yahoo.com> wrote: > > Hello Guys, > I have a small concern. I have the 3 SMPP providers and 2 HTTP providers somehow, most of my messages are sent out through the HTTP connection as such I don't get delivery reports real time. > > > > > My question, is there someway I can return a sort of delivery report of any of the status "ACCEPTED" | "ENROUTE" | "DELIVERED" for messages which have been sent out via the HTTP route. > > > > > Regards,Michael C. Nwaogu > > > > > Hi Mike, Found a problem with this approach, there is some issue related to generic-http which does not swap source and destination addresses when builing the Delivery Report String. I don't want to get into building the string myself, so I'm prolly going to take the cowards way out and have a script swap the src & dest fields inside the database before submitting....
