krunal09 / sample

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

When integrated with the android dialer, only present call type options when account(s) is(are) successfully registered #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable dialer integration
2. De-activate all SIP accounts from CSipSimple
3. Go to the contact list
4. Attempt to call any contact

What is the expected output? What do you see instead?
The expected output is a direct call through the phone system, no questions 
asked.  Instead, and even though there's no way to call with CSipSimple b/c 
there are no accounts registered, the integration dialog still asks to see how 
the call should be executed: via phone or via SIP.

What version of the product are you using? On what operating system?
Version 0.00-11 on Nexus One (AT&T), Android 2.1-update1 (Eclair)

Please provide any additional information below.

Original issue reported on code.google.com by goatbo...@gmail.com on 22 Jun 2010 at 2:36

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 22 Jun 2010 at 7:05

GoogleCodeExporter commented 9 years ago
This looks like one I might actually be able to fix...

Original comment by dc3de...@gmail.com on 16 Jul 2010 at 2:40

GoogleCodeExporter commented 9 years ago
Fixed the issue, and also hide unusable accounts (inactive, not registered, 
etc.) even if the chooser does appear. Committed via r149. 

Original comment by dc3de...@gmail.com on 16 Jul 2010 at 9:20

GoogleCodeExporter commented 9 years ago
Issue 59 has been merged into this issue.

Original comment by dc3de...@gmail.com on 16 Jul 2010 at 9:25

GoogleCodeExporter commented 9 years ago
See r157. I changed the DBAdapter so it will include accounts with status 
PJSIP_SC_PROGRESS and PJSIP_SC_TRYING as well as PJSIP_SC_OK. If an account is 
in the process of registering, it will show Registering... now, but not be 
tappable until it is Registered (and green).

Original comment by dc3de...@gmail.com on 21 Jul 2010 at 12:10