Java程序自动拨打电话卡电话号码,输入卡号时出现问题
我写了一个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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,“重要的是音调(或两个音调;查找 DTMF)”,我调高了扬声器音量,现在它可以工作了。
Yes, "it's the tone (or two tones; look up DTMF) that matters", I turned up the speaker volume and now it works.