Java程序自动拨打电话卡电话号码,输入卡号时出现问题

发布于 2024-08-10 04:37:26 字数 207 浏览 5 评论 0原文

我写了一个Java程序来模仿拨打电话号码的声音,它工作正常,除了当涉及到电话卡时,它需要先拨打本地号码(没问题,它成功连接到本地号码),然后它需要输入卡号,问题是另一端不接受卡号生成的声音,它只需要手动输入卡号(我必须手动输入手机键盘上的数字),为什么它可以接受电话通过声音获取号码,但无法获取卡号的声音?有熟悉电话系统的人可以回答这个问题吗?我能做些什么让我的 Java 程序能够模仿卡号的输入吗?

I wrote a Java program to mimic the sounds to dial phone numbers, it works fine except when it comes to phone cards, it needs to dial a local number first (no problem, it successfully connects to a local number), then it needs to enter the card number, problem is the other end won't accept the generated sounds for the card numbers, it only takes hand entered card numbers (I had to physically enter the digits on the phone keypad by hand), why can it take phone number by sounds while not being able to take sounds for the card numbers ? Anyone familiar with the phone system can answer this question ? Anything I can do so my Java program will be able to mimic the entering of the card numbers ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

独行侠 2024-08-17 04:37:26

是的,“重要的是音调(或两个音调;查找 DTMF)”,我调高了扬声器音量,现在它可以工作了。

Yes, "it's the tone (or two tones; look up DTMF) that matters", I turned up the speaker volume and now it works.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文