使用 C# 或第 3 方库发出传真?
我正在开发一个传真解决方案,其中应用程序发送传真。 我一直在研究如何处理另一条线路由人接听(而不是传真握手)的情况。 你是如何处理这个案子的?
I'm developing a fax solution wherein the application sends out fax. I have been researching about how to handle cases where the other line is answered by a person (and not a fax handshake). How did you handle this case?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用具有 C# API (Facsys) 的传真服务器 - 首先我使用 API 调用向其发送传真(GIF 格式)。 然后,每 5 分钟轮询一次,我询问 API 该传真的状态是什么:成功、号码错误、无应答、无握手(例如,有人应答)等。效果很好。
我们的研究为我们提供了两个主要选择,即 FacSys 和 MessageManager。 我在 FacSys 方面取得了一定的成功,但我听说 MM 拥有更好的支持。
I use a fax server that has a C# API (Facsys) - firstly i use an API call to send it a fax (in GIF format). Then, polling every 5 minutes, i ask the API what the status of that fax was: success, wrong number, no answer, no handshake (eg a person answered), etc. Works quite well.
Our research gave us two main options, being FacSys and MessageManager. I've had reasonable success with FacSys, but i've heard MM has better support.
我只使用电子传真服务。 我的 C# 应用程序只是发送一封电子邮件,其中包含要传真的 pdf 文档的附件以及主题中的传真号码。 我不知道这是否适合您的情况,但这比从头开始编写整个传真客户端要容易得多。
如果您确实想开发自己的解决方案,可能有一些现有的库可以帮助您与传真机进行通信,但甚至还有具有灵活 API 的电子传真解决方案,可以让您执行所需的任何操作,而无需费力使用调制解调器等等。
I just use an E-fax service. My C# application just sends out an email with the pdf document to fax in an attachment, and the fax number in the subject. I don't know if that would work for your case, but it's so much easier than writing a whole fax client from scratch.
If you really want to develop your own solution, there are probably some existing libraries that would help you communicate with the fax machines, but there are even E-fax solutions with flexible APIs that would let you do anything you need without futzing around with modems and whatnot.