Faxes with PDF files are not sending

Options

We are using the fax api to send faxes (https://test2messaging.easylink.com/soap/sync). Faxes with word or tiff files are processed fine. However, faxes that include a pdf remain in job status of PROCESSING -- never being sent. 

One of the job ids is XDN: test2 MRN: 100666328

This is the code that attaches the documents. The document.Data is a byte array of the file, and the DocType is being set to PDF. As mentioned above, it works fine for word and tiff files, but not for pdf files. Please help. Thanks

                // Add the documents and content

                var index = 0;

                foreach (var document in outboundFax.Documents)

                {

                    // Setup reusable variables for the document

                    var docData = new DocDataType();

                    jsDocuments[index] = new DocumentType();

                    // Setup Document

                    docData.format = DocEncodingFormat.base64;
                    docData.Value = Convert.ToBase64String(document.Data, 0, document.Data.Length);

                    jsDocuments[index].Item = docData;

                    var docFileName = new EasyLinkJobSubmit.EncodableStringType()

                    {

                        Value = document.Name.IsNullOrEmpty() ? "doc" + index : Path.GetFileName(document.Name)

                    };

                    jsDocuments[index].Filename = docFileName;

                    jsDocuments[index].DocType = EasyLinkDocType(document.Type); 

                    jsDocuments[index].ItemElementName = EasyLinkJobSubmit.ItemChoiceType.DocData;

                    jsDocuments[index].@ref = "Doc" + index;

 

                    // Setup Content

                    jsContent[index] = new ContentPartType

                    {

                        Item = jsDocuments[index].@ref,

                        Treatment = index == 0 ? TreatmentType.body : TreatmentType.attachment,

                        TreatmentSpecified = true

                    };

 

                    index = index + 1;

                }

Comments