Hey guys, I think this should probably be sent to the developers list but
here it goes:

Most of the HTTP gateways out there use a callback URL to send DLR updastes.
Some of them include a message ID in the HTTP response (mostly the body) so
we can enable a URL where the gateway posts back DLR updates using that
message ID.

What about creating a callback function into the HTTP generic SMSC interface
that:

- Captures the HTTP response from the SMSC/Gateway
- Parses it using Regex
- Generates an HTTP call to a callback URL configured by the user, including
this captured message body/parameters
- This way we would a option for DLR support into the HTTP generic SMSC

I recently connected to a gateway that behaved like this: Replied to the
requests by HTTP generic SMSC with a message ID. Then updated the message
status to a callback URL I provided to them. I needed a way to capture the
message ID from the reply so I could create a database record for them to
update.

My solution was to create a web application that acted as a proxy between
the HTTP generic SMSC and the gateway, so I captured the message status
before returning the actual response to Kannel. This my end up being
problematic as there is an extra HTTP call for each message and an
additional point of failure.

Let me know if someone is interested in doing this :)

Eduardo

-- 
Eduardo Raad
Gerente General
Metromovil

móvil   + 593 93978888
oficina + 593 42329455 x 1099

Av. 10 de Agosto 511 y Chimborazo
Edificio Equinoxcorp, Piso 3
Guayaquil, Ecuador

Reply via email to