englercj / node-esl

FreeSWITCH ESL implementation for Node.js; implements the full Event Socket Library specified in: http://wiki.freeswitch.org/wiki/Esl
http://englercj.github.com/node-esl/
MIT License
170 stars 111 forks source link

Improvement of esl.Connection.message #29

Closed abelharisov closed 10 years ago

abelharisov commented 10 years ago

Fixed: missing subject argument in esl.Connection.message. Added: deliveryConfirmation argument in esl.Connection.message

I needed to make messages delivery confirmation. So, after some researh, I founded this: if you set header 'blocking' in event SMS::SEND_MESSAGE, mod_sms will fire SMS::SEND_MESSAGE with delivery status in header 'Delivery-Failure'.

If everything is ok, could you also update package in npm?

englercj commented 10 years ago

Very cool! Thanks for the improvements, I'll release it to npm right now.