天道酬勤,学无止境

caller-id

Fax "from" and "callerId" parameters missing from RingCentral fax API

I've been trying to send fax using RingCentral API but there is no way to specify the From fax phone number to send the fax. It is only sending the fax using company fax number. I am not able to find the option to use fax from number. I am using the following end point for sending fax: https://platform.ringcentral.com/restapi/v1.0/account/:accountId/extension/:extensionId/fax

2022-04-29 10:01:20    分类:问答    api   post   fax   ringcentral   caller-id

在 Android 9 中获取来电显示(Getting the caller ID in Android 9)

问题 我一直在BroadcastReceiver使用以下代码来获取来电的来电显示: @Override public void onReceive(Context aContext, Intent aIntent) { String action = aIntent.getAction(); if (action==null) return; if (!action.equals("android.intent.action.PHONE_STATE")) return; String curState = aIntent.getStringExtra(TelephonyManager.EXTRA_STATE); if ((TelephonyManager.EXTRA_STATE_RINGING.equals(curState)) &&(TelephonyManager.EXTRA_STATE_IDLE.equals(oldState)))){ String incNumber = aIntent.getStringExtra(TelephonyManager.EXTRA_INCOMING_NUMBER); // do something here } oldState=curState; } 不幸的是,这已在Android 9.0 (API 28)停止工作。 更具体地说,

2021-11-24 15:18:46    分类:技术分享    android   broadcastreceiver   android-9.0-pie   caller-id

Getting the caller ID in Android 9

I have been using the following code in a BroadcastReceiver to get the caller ID of incoming calls: @Override public void onReceive(Context aContext, Intent aIntent) { String action = aIntent.getAction(); if (action==null) return; if (!action.equals("android.intent.action.PHONE_STATE")) return; String curState = aIntent.getStringExtra(TelephonyManager.EXTRA_STATE); if ((TelephonyManager.EXTRA_STATE_RINGING.equals(curState)) &&(TelephonyManager.EXTRA_STATE_IDLE.equals(oldState)))){ String incNumber = aIntent.getStringExtra(TelephonyManager.EXTRA_INCOMING_NUMBER); // do something here } oldState

2021-11-15 13:43:20    分类:问答    android   broadcastreceiver   android-9.0-pie   caller-id

如何在我的 Java 应用程序中获取电话号码?(How can I get the phone calling number in my Java application?)

问题 我正在开发一个 Java 应用程序来获取电话号码。 我使用的是 USRobotics 5639 调制解调器(支持来电显示),我的电话公司提供来电显示服务。 当我使用超级终端时,我得到了呼叫的号码、时间和日期: https://imgur.com/wwwRHa7 但是当我尝试在我的应用程序中做同样的事情时,我只会得到以下信息: 自动售货机好的 AT+VCID=1 好的这就是我目前所拥有的: import gnu.io.CommPortIdentifier; import gnu.io.PortInUseException; import gnu.io.SerialPort; import gnu.io.UnsupportedCommOperationException; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Enumeration; public class Rxtx { static CommPortIdentifier portId; static CommPortIdentifier saveportId; static

2021-10-25 02:15:26    分类:技术分享    java   serial-port   caller-id

How can I get the phone calling number in my Java application?

I am developing a Java application to get the phone calling number. I'm using a USRobotics 5639 modem (caller ID capable) and I do have the caller id service from my phone company. When I use hyperterminal, I get the number, time and date of the call: https://imgur.com/wwwRHa7 But when I try to do the same in my app, I only get the following: ATZ OK AT+VCID=1 OK This is what I have at the moment: import gnu.io.CommPortIdentifier; import gnu.io.PortInUseException; import gnu.io.SerialPort; import gnu.io.UnsupportedCommOperationException; import java.io.BufferedInputStream; import java.io

2021-10-12 03:09:06    分类:问答    java   serial-port   caller-id

How does “Phone” app show information of contacts that are not on the address book?

Background In the "Phone" app of Google, there is an option "Caller ID & spam" : So, if you get a call from someone or some organization that isn't on the address book, yet it is identified somehow, you get a name for it, as such (called "+972-035283487") : Ever since Android M (6.0 - API 23) , apps can replace the default phone app, and then also providing alternative UI when you call someone or get a phone call, by extending InCallService class, as demonstrated here which is based on here. The problem I want to try to show the same information as on the Phone app, meaning the name of the

2021-06-15 08:13:29    分类:问答    android   android-dialer   caller-id

如何在C#中获取来电显示?(How to get Caller ID in C#?)

问题 我想使用56K调制解调器来获取拨打家庭电话的电话号码。 有没有办法用C#做到这一点? 回答1 并非所有调制解调器都支持呼叫者ID。 对于那些这样做的厂商,其实现因制造商而异。 呼叫者ID通过串行数据传递,因此您必须使用TAPI库(或Windows的超级终端进行测试)。 呼叫者ID号通常出现在第一和第二振铃之间。 您将需要向调制解调器发出命令以激活呼叫者ID。 通常: AT#CID=1 (或AT+VCID=1 ) 好的 检查调制解调器的文档。 当有电话打进来时,调制解调器将收到一个电话字符串。 通常: RING 然后,将显示呼叫者ID文本。如果我没有记错的话,它将采用以下形式: NMBR=XXXXXXXXXX [我正在寻找参考。 我会在找到链接后发布一个链接] 更新:啊,找到一个。 签出此页面以获取各种调制解调器的命令和连接字符串: 如何测试调制解调器的来电显示支持 回答2 可能,但是您应该注意一些事情: 您仍然必须拥有运营商/提供商所支持的呼叫者ID。 除非运营商已做了一些额外的添加工作,否则基本的POTS线路将不会包含此信息。 因此,您不能这样做来避免支付额外的呼叫者ID费用。 它不是内置于.Net中。 您必须调用基本的TAPI库。 我从来没有亲自使用过这个库,所以就可以告诉您很多。 回答3 serialPort1.Open(); serialPort1.WriteLine

2021-04-21 19:06:50    分类:技术分享    c#   serial-port   modem   hardware-interface   caller-id

How to get Caller ID in C#?

I want to use 56K modem for getting telephone number of who calls the home phone. Is there a way to achieve this with C# ?

2021-04-15 06:40:20    分类:问答    c#   serial-port   modem   hardware-interface   caller-id