Failed SMS to webhook back

When an outgoing SMS fails due to bad number (or blocked SMSC), I want to trigger a webhook that will send the failed number back to our website so that it can be processed.

Does anyone have an idea of how to do this with PlaySMS? We haven’t written the webhook code yet so it can be pretty much anything, I just need to know what the functions are in playsms.

Thanks!

How do you send SMS ? using webservices or from playSMS compose message menu ?

anton

We are using mail2sms for outbound SMS