StatusCallback when sending a fax

When sending a fax you can specify a StatusCallback URL. If you do so, your specified URL will receive POST requests with the following parameters:

RemoteStationId optionalThe transmitting subscriber identification (TSID) reported by the fax machine that sent in the fax.
FaxStatus optionalThe status of the fax.
OriginalMediaUrl optionalThe original URL passed when a fax is sent.
NumPages optionalThe number of pages received from a successful fax.
MediaSid optionalThe SID that uniquely identifies the fax media.
MediaUrl optionalThe media URL to request to retrieve incoming media.
ErrorCode optionalThe error code provides more information on a failed fax.
ErrorMessage optionalThe message explaining the reason for fax failure.