获取在SIP来电ID [英] Get the Sip Incoming call id

查看:149
本文介绍了获取在SIP来电ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道我怎样才能让来电ID当SIP来电是received.I有使用电话和电话经理,但在两种情况下我,因为我没有使用手机的拨号得到了空状态垫。

I want to know how can i get the incoming call id when the sip incoming call is received.I have use the Telephony and Phone manager but in both the cases the state i got the null because i am not using the phone's dial pad.

先谢谢了。

推荐答案

我正在寻找这一点,并没有发现任何的答案,示例应用程序(sipDemo)不处理来电了。幸运的是我找到了答案:

I was searching for this and not found any answer, the sample app (sipDemo) do not handle incoming call too. Fortunately I found the answer:

mSipManager.getSessionFor(意向).getPeerProfile()。getUserName()

祝你好运;)

这篇关于获取在SIP来电ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆