Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
fcrochik
Posts: 20
Registered: ‎02-20-2012
My Device: Z10/Playbook
My Carrier: NFA

How to get incoming call phone number ("caller id")?

[ Edited ]

Monitoring the callUpdated signal for the 

bb::system::phone::Phone

I can detect all state changes for a call but it doesn't include any property with the caller id for the incoming call. 

 

Is this a limitation of the current API or is there another way to get this information?

 

Thanks

Please use plain text.
BlackBerry Development Advisor (Retired)
psapra
Posts: 74
Registered: ‎07-22-2008
My Device: BlackBerry Z10
My Carrier: N/A

Re: How to get incoming call phone number ("caller id")?

I don't think the Phone API currently supports this.  If you need this functionality I would recommend logging it as a feature request on the Developer Issue Tracker. 

 

https://www.blackberry.com/jira/secure/Dashboard.jspa

 

Thanks,
Pratik Sapra
Gaming & Apps Consultant
Developer Relations
@pratiksapra
Please use plain text.
BlackBerry Development Advisor (Retired)
gsandhu
Posts: 41
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to get incoming call phone number ("caller id")?

Hi, can you please share your use case for access to phone number for incoming call?

 

Thanks,
Gurtej
VoIP & Telephony Apps Consultant
Developer Relations
_GurtejSandhu

Please use plain text.
New Developer
fcrochik
Posts: 20
Registered: ‎02-20-2012
My Device: Z10/Playbook
My Carrier: NFA

Re: How to get incoming call phone number ("caller id")?

I can think of many use cases:
* call log (with extra features)
* auto answer calls with text, email, ...
* auto reject calls (blacklist)
* ...

But my simple first problem is that the callupdated.signal only give you a Call without access to Line and or number. For instance I wrote an app to send dtmf automatically after calling a number. I can assume that when I get a callupdated for an outgoing call that it is the same I initiated but can't be certain. Among other things because the inituatecall present the user with a confirmation dialog I can see many scenarios where assuming is a bad - my app may end up sending the tones on the wrong call (user tries to place a call with my app, click cancel on the confirmation dialog and then places another call). BTW, it would be great to allow the user to grant one application access to initiate calls without the extra prompt.

On the same topic: my LE with the last official update from AT&T will only show the dialer if the phone application is already running (when requesting it using the method on the phone class)
Please use plain text.
BlackBerry Development Advisor (Retired)
gsandhu
Posts: 41
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to get incoming call phone number ("caller id")?

 

Can you please elaborate on "auto answer calls with text, email"? Is it for creating a "paper trail" for auditing purpose.

 

Thanks,


Gurtej
VoIP & Telephony Apps Consultant
Developer Relations
_GurtejSandhu

Please use plain text.
New Developer
fcrochik
Posts: 20
Registered: ‎02-20-2012
My Device: Z10/Playbook
My Carrier: NFA

Re: How to get incoming call phone number ("caller id")?

No...not auditing... 

 

It could be something like: "when I am out of the office and get a call from some client of mine, send the call to the voice mail and send an email or text letting them know to call my secretary" or "if someone calls me that is not on my address book, reject the call and send a text telling them to reply with the subject" (call screening).... 

 

and so on...just ideas... 

Please use plain text.
Contributor
bryanwang
Posts: 22
Registered: ‎03-01-2010
My Device: Z10
My Carrier: Bell Canada

Re: How to get incoming call phone number ("caller id")?

My company is looking into this functionality as well. For us this is for an auditing app. We have an app for the BB OS as well as Android and our customer is asking for BB10 support. Thanks. 

Please use plain text.
New Developer
fcrochik
Posts: 20
Registered: ‎02-20-2012
My Device: Z10/Playbook
My Carrier: NFA

Re: How to get incoming call phone number ("caller id")?

Just filed feature request on JIRA: https://www.blackberry.com/jira/browse/BBTEN-1287

Please use plain text.
Developer
Zymatic
Posts: 144
Registered: ‎12-18-2010
My Device: Limited Edition Z10 & Blackberry Playbook
My Carrier: Rogers Wireless

Re: How to get incoming call phone number ("caller id")?

This issue needs to be made public so other can vote on it.

Playbook Apps:
Touch Painter, LinkShrink

BB10 Apps:
NoteToSelf , LinkShrink
Please use plain text.
New Contributor
hp28s
Posts: 6
Registered: ‎07-03-2013
My Device: Q10, Z10

Re: How to get incoming call phone number ("caller id")?

 

Hi,

 

I am not able to load this link from Firefox nor from Internet Explorer.

https://www.blackberry.com/jira/secure/Dashboard.jspa

 

The link is kept being re-loaded by firefox but no data content.

Please use plain text.