Generic SMS Gateway and Delivery report

Hello.
How can I get delivery report in Generic gateways ?
Thank you.