It'd be nice to re-factor the callback code.  In general, our functions either use the decode_ril_error() approach or the macro approach, yet this function seems to mix and match these approaches.

Also, same comment as above applies to the ofono_error() call.  Please add the function name, or the name of the RIL request to the message.