Reply to Post
Skilled Spy
nileshtote
6 Posts
Member since ‎11.16.2010

Getting a call failed error

 

Hi All,

I am developing a blackberry application in which there is a feature which automatically makes a call when clicked on certain button. I have checked the code and also contacted blackberry people but they are saying that it might be an service provider issue. The same build works fine in mexico but not sandiego ...

 

Thanks...

nil

Awesome Sauce Coder
506 Posts
Member since ‎01.14.2004

Re: Getting a call failed error

Hi nileshtote,

Thanks for you post!

 

Can you give us some sample code of what you're doing and what is failing?

 

 

thanks!

Skilled Spy
nileshtote
6 Posts
Member since ‎11.16.2010

Re: Getting a call failed error

Thanks for your immediate reply.

 

What I have done is when a user clicks on a Button first I send some emails and then Send some messages and then I go for a call to the number provided by user. Here is part of code of I am using.

 

 public static boolean makePhoneCall(String strNumber )
     {
         try
         {
             String phoneNumber = strNumber ;
             if ( phoneNumber.length() == 0 )
             {
                        System.out.println("Phone number is not Provided... ");
                        return false;     
             }
             else
             {
                        PhoneArguments call = new PhoneArguments (PhoneArguments.ARG_CALL,phoneNumber);
                        Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, call);
                        return true;
             }   
          }
          catch(Exception exe)
          {
                System.out.println("Exception in Utilities.makePhoneCall()  = "+exe.toString());     
                return false;             
          }
     }

 

AT&T Support
76 Posts
Member since ‎05.09.2005

Re: Getting a call failed error

Hey Nil, which number are you trying to dial?

Karim Varela
AT&T Developer Support
Skilled Spy
nileshtote
6 Posts
Member since ‎11.16.2010

Re: Getting a call failed error

Hi karim,

 

This happens to any number i put in the emergency contacts. it does not matter if its a landline or a cell phone? When i was roaming in Mexico it launched calls from the button! i was happy when i saw that but as soon as i returned to home signal it says call failed . I am loading the new software now. just fyi 

The numbers

 

6194388574

6199334943

Skilled Spy
nileshtote
6 Posts
Member since ‎11.16.2010

Re: Getting a call failed error

Any suggestions for above ...?

Awesome Sauce Coder
506 Posts
Member since ‎01.14.2004

Re: Getting a call failed error

Any details as to how you are defining a 'fail' ?

Ie, is it throwing an exception and are you able to catch/print your exception line?

 

The eventlog would likely also prove useful here.

 

Which RIM device are you testing on, which software are you running?

Have you tried it on another RIM device, if so are you getting the same error?

Skilled Spy
nileshtote
6 Posts
Member since ‎11.16.2010

Re: Getting a call failed error

Hi Robsor,

 

Sorry for giving such a late reply ... I tried to catch the exception if any but didnot get any exceptions. I am testing 8900 with OS being 4.6. I get this error on this BB os and this device only. All others work perfect. I have also tried updating the OS but still getting the same error.

 

Thanks;

 nil

Skilled Spy
nileshtote
6 Posts
Member since ‎11.16.2010

Re: Getting a call failed error

Hi All,

 

I am still facing the above issue. The Blackberry Logs are as below.

 

#BlackBerry Event Log (cpt) #HwID: 0x84001503 #DPIN: 0x21746572 #PVer: 4.2.0.108 #AVer: 4.6.1.319 a net.rim.link - Strt - 1/18 12:04:33 a net.rim.link - CNSc - 1/18 12:04:33 W net.rim.scan - CRAf - 1/18 12:04:33 a net.rim.link - NKSt - 1/18 12:04:31 a net.rim.scan - NKFn - 1/18 12:04:31 a net.rim.tcp - disc 1 - 1/18 12:04:28 a PhoneApp - app-deac - 1/18 12:04:28 a PhoneApp - poppedactvscrn - 1/18 12:04:27 a PhoneApp - Phone: audio source off - 1/18 12:04:27 a PhoneApp - Backlight -ACS - 1/18 12:04:27 a PhoneApp - callsmpt; switchbg=false - 1/18 12:04:27 a CC - StopCall,1 - 1/18 12:04:27 a PhoneApp - CallManager removing 1 - 1/18 12:04:27 a UI - GS-D 488a5555 - 1/18 12:04:26 a CC - StopCall,1 - 1/18 12:04:26 W net.rim.blackberryemail - UTUS 4607 - 1/18 12:04:24 E net.rim.gme - REgf - 1/18 12:04:24 W net.rim.gme - RXCe - 1/18 12:04:24 a PhoneApp - pulse off - 1/18 12:04:22 a PhoneApp - PHONE: callId 1 stops listening. - 1/18 12:04:22 a UI - GS+Q2 488a5555net.rim.device.apps.internal.phone.api.CallManager$CallFailedAlertDialog - 1/18 12:04:22 a PhoneApp - PHONE: queue failure status - 1/18 12:04:22 a PhoneApp - EV_CALL_FAILED(1,9) - 1/18 12:04:22 a CC - Failed,1,9 - 1/18 12:04:22 a PhoneApp - OCC calling +16199334943 - 1/18 12:04:20 a PhoneApp - Backlight +ACS - 1/18 12:04:19 a PhoneApp - pulse on - 1/18 12:04:19 a PhoneApp - calls !empty - 1/18 12:04:19 a PhoneApp - phone: audio source on - 1/18 12:04:19 a CC - Ret,"" - 1/18 12:04:19 a CC - CallName,1,"false" - 1/18 12:04:19 a PhoneApp - EV_CALL_INITIATED(1) - 1/18 12:04:19 W net.rim.srp.prime - DaUv - 1/18 12:04:19 a CC - Ret,1 - 1/18 12:04:19 W net.rim.srp.prime - Inet - 1/18 12:04:19 W net.rim.link - FaDp - 1/18 12:04:19 a CC - StartCall,"+16199334943",0 - 1/18 12:04:19 W net.rim.rcp - WlCe - 1/18 12:04:19 a net.rim.link - NkDn - 1/18 12:04:19 a net.rim.tunnel - STac-wap.cingular - 1/18 12:04:19 a net.rim.srp.prime - Wlan - 1/18 12:04:19 a PhoneApp - PHONE: connecting +16199334943 - 1/18 12:04:19 W net.rim.if-wlan - StIF - 1/18 12:04:19 a net.rim.tunnel - Open-wap.cingular - 1/18 12:04:19 a net.rim.link - NKDn - 1/18 12:04:19 W net.rim.if-wlan - StNT - 1/18 12:04:19 a net.rim.tcp - open - 1/18 12:04:19 a net.rim.sms - INcn - 1/18 12:04:19 a HelpICrashMyCar - Call Completed to 6199334943 - 1/18 12:04:19 a System - CMM: DrewFordVehicleAssist-2(6902) no sig from 0x33 - 1/18 12:04:19 a HelpICrashMyCar - Calling to 6199334943 - 1/18 12:04:19 a HelpICrashMyCar - Network is not CDMA - 1/18 12:04:19 a HelpICrashMyCar - Test - 1/18 12:04:19 a cmime - TXst 1815485602 - 1/18 12:04:18 a net.rim.transmission.SendThread - Strn - 1/18 12:04:18 a net.rim.tunnel - Pdp3 1 - 1/18 12:04:18 a net.rim.udp - clos - 1/18 12:04:18 a net.rim.tunnel - Clos-wap.cingular - 1/18 12:04:18 a net.rim.dns - RetQ - 1/18 12:04:18 a net.rim.dns - DnsR 1 - 1/18 12:04:18 E net.rim.gme - REgf - 1/18 12:04:17 W net.rim.gme - RXCe - 1/18 12:04:17 a net.rim.hrtRT - PUpI - 1/18 12:04:17 a net.rim.hrtRT - EPdp 0x1 - 1/18 12:04:17 a net.rim.dns - DnsQ 1 - 1/18 12:04:17 a net.rim.udp - open - 1/18 12:04:17 a net.rim.tunnel - Pdp0 1 - 1/18 12:04:17 a net.rim.ippp - TXst 0 - 1/18 12:04:16 E net.rim.gme - REgf - 1/18 12:04:16 W net.rim.gme - RXCe - 1/18 12:04:16 a net.rim.tunnel - STnc-00000000 - 1/18 12:04:16 a net.rim.tunnel - Open-wap.cingular - 1/18 12:04:16 a net.rim.tcp - open - 1/18 12:04:16 a HelpICrashMyCar - Exception on AppScreen.getGPSCoordinates(2) = java.lang.InterruptedException - 1/18 12:04:16 a net.rim.ippp - TXst 58 - 1/18 12:04:15 a System - CMM: DrewFordVehicleAssist-1(7771) no sig from 0x33 - 1/18 12:04:15 a HelpICrashMyCar - EventLogger for HelpICrashMyCar is Registered.. - 1/18 12:04:15 a BlackBerry App World - Using icon: boldjavelin - 1/18 12:04:13 a BlackBerry App World - Using icon: boldjavelin - 1/18 12:04:13 a BlackBerry App World - Using icon: boldjavelin - 1/18 12:04:13 a net.rim.link - Strt - 1/18 12:03:48 a net.rim.link - CNSc - 1/18 12:03:48 W net.rim.scan - ScnC - 1/18 12:03:48 W net.rim.scan - CRAf - 1/18 12:03:48 a net.rim.scan - Usac - 1/18 12:03:48 a net.rim.link - NKSt - 1/18 12:03:43 a net.rim.scan - NKFn - 1/18 12:03:43 a net.rim.usb.pwd - CbDs - 1/18 12:03:12 a net.rim.clock - -CHG - 1/18 12:03:12 W net.rim.scan - NeNa - 1/18 12:02:35 W net.rim.scan - NNet - 1/18 12:02:35 W net.rim.scan - NeNa - 1/18 12:01:25 W net.rim.scan - NNet - 1/18 12:01:25 W net.rim.scan - NeNa - 1/18 12:00:16 W net.rim.scan - NNet - 1/18 12:00:16 W net.rim.scan - NeNa - 1/18 11:59:08 W net.rim.scan - NNet - 1/18 11:59:08 W net.rim.scan - NeNa - 1/18 11:57:58 W net.rim.scan - NNet - 1/18 11:57:58 W net.rim.scan - NeNa - 1/18 11:56:50 W net.rim.scan - NNet - 1/18 11:56:50 W net.rim.scan - NeNa - 1/18 11:55:42 W net.rim.scan - NNet - 1/18 11:55:42 W net.rim.scan - NeNa - 1/18 11:54:33 W net.rim.scan - NNet - 1/18 11:54:33 W net.rim.scan - NeNa - 1/18 11:53:24 W net.rim.scan - NNet - 1/18 11:53:24 W net.rim.scan - NeNa - 1/18 11:52:16 W net.rim.scan - NNet - 1/18 11:52:16 W net.rim.scan - NeNa - 1/18 11:51:07 W net.rim.scan - NNet - 1/18 11:51:07 a net.rim.gcmp - GCRp - 1/18 11:51:06 a net.rim.gcmp - GCSp - 1/18 11:51:06 W net.rim.scan - NeNa - 1/18 11:49:58 W net.rim.scan - NNet - 1/18 11:49:58 W net.rim.scan - NeNa - 1/18 11:48:49 W net.rim.scan - NNet - 1/18 11:48:49 W net.rim.scan - NeNa - 1/18 11:47:40 W net.rim.scan - NNet - 1/18 11:47:40 W net.rim.scan - NeNa - 1/18 11:46:31 W net.rim.scan - NNet - 1/18 11:46:31 W net.rim.scan - NeNa - 1/18 11:45:22 W net.rim.scan - NNet - 1/18 11:45:22 W net.rim.scan - NeNa - 1/18 11:44:13 W net.rim.scan - NNet - 1/18 11:44:13 W net.rim.scan - NeNa - 1/18 11:43:04 W net.rim.scan - NNet - 1/18 11:43:04 W net.rim.scan - NeNa - 1/18 11:41:56 W net.rim.scan - NNet - 1/18 11:41:56 W net.rim.scan - NeNa - 1/18 11:40:48 W net.rim.scan - NNet - 1/18 11:40:48 W net.rim.scan - NeNa - 1/18 11:39:39 W net.rim.scan - NNet - 1/18 11:39:39 W net.rim.scan - NeNa - 1/18 11:38:30 W net.rim.scan - NNet - 1/18 11:38:30 W net.rim.scan - NeNa - 1/18 11:37:21 W net.rim.scan - NNet - 1/18 11:37:21 W net.rim.scan - NeNa - 1/18 11:36:12 W net.rim.scan - NNet - 1/18 11:36:12 a net.rim.gcmp - GCRp - 1/18 11:36:06 a net.rim.gcmp - GCSp - 1/18 11:36:05 W net.rim.scan - NeNa - 1/18 11:35:03 W net.rim.scan - NNet - 1/18 11:35:03 W net.rim.scan - NeNa - 1/18 11:33:54 W net.rim.scan - NNet - 1/18 11:33:54 W net.rim.scan - NeNa - 1/18 11:32:45 W net.rim.scan - NNet - 1/18 11:32:45 W net.rim.scan - NeNa - 1/18 11:31:36 W net.rim.scan - NNet - 1/18 11:31:36 W net.rim.scan - NeNa - 1/18 11:30:28 W net.rim.scan - NNet - 1/18 11:30:28 W net.rim.scan - NeNa - 1/18 11:29:20 W net.rim.scan - NNet - 1/18 11:29:20 W net.rim.scan - NeNa - 1/18 11:28:11 W net.rim.scan - NNet - 1/18 11:28:11 W net.rim.scan - NeNa - 1/18 11:27:02 W net.rim.scan - NNet - 1/18 11:27:02 a System - VM:AHSDt=49,i=0,x=24,s=836.6K,q=22.7M,z=4485 - 1/18 11:27:00 a System - VM:HSB4v=23801241 - 1/18 11:27:00 W net.rim.scan - NeNa - 1/18 11:25:53 W net.rim.scan - NNet - 1/18 11:25:53 W net.rim.scan - NeNa - 1/18 11:24:44 W net.rim.scan - NNet - 1/18 11:24:44 W net.rim.scan - NeNa - 1/18 11:23:35 W net.rim.scan - NNet - 1/18 11:23:35 W net.rim.scan - NeNa - 1/18 11:22:26 W net.rim.scan - NNet - 1/18 11:22:26 W net.rim.scan - NeNa - 1/18 11:21:17 W net.rim.scan - NNet - 1/18 11:21:17 a net.rim.gcmp - GCRp - 1/18 11:21:05 a net.rim.gcmp - GCSp - 1/18 11:21:04 W net.rim.scan - NeNa - 1/18 11:20:08 W net.rim.scan - NNet - 1/18 11:20:08 W net.rim.scan - NeNa - 1/18 11:18:59 W net.rim.scan - NNet - 1/18 11:18:59 W net.rim.scan - NeNa - 1/18 11:17:50 W net.rim.scan - NNet - 1/18 11:17:50 W net.rim.scan - NeNa - 1/18 11:16:41 W net.rim.scan - NNet - 1/18 11:16:41 W net.rim.scan - NeNa - 1/18 11:15:32 W net.rim.scan - NNet - 1/18 11:15:32 W net.rim.scan - NeNa - 1/18 11:14:24 W net.rim.scan - NNet - 1/18 11:14:24 W net.rim.scan - NeNa - 1/18 11:13:16 W net.rim.scan - NNet - 1/18 11:13:16 W net.rim.scan - NeNa - 1/18 11:12:08 W net.rim.scan - NNet - 1/18 11:12:08 W net.rim.scan - NeNa - 1/18 11:10:58 W net.rim.scan - NNet - 1/18 11:10:58 W net.rim.scan - NeNa - 1/18 11:09:49 W net.rim.scan - NNet - 1/18 11:09:49 W net.rim.scan - NeNa - 1/18 11:08:41 W net.rim.scan - NNet - 1/18 11:08:41 W net.rim.scan - NeNa - 1/18 11:07:31 W net.rim.scan - NNet - 1/18 11:07:31 W net.rim.scan - NeNa - 1/18 11:06:53 W net.rim.scan - NNet - 1/18 11:06:53 W net.rim.scan - NeNa - 1/18 11:06:29 W net.rim.scan - NNet - 1/18 11:06:29 W net.rim.scan - NeNa - 1/18 11:06:14 W net.rim.scan - NNet - 1/18 11:06:14 a net.rim.gcmp - GCRp - 1/18 11:06:04 a net.rim.gcmp - GCSp - 1/18 11:06:03 W net.rim.scan - NeNa - 1/18 11:06:03 W net.rim.scan - NNet - 1/18 11:06:03 a net.rim.link - NKSt - 1/18 11:05:54 a net.rim.scan - NKLt - 1/18 11:05:54 W net.rim.scan - NeNa - 1/18 11:05:54 W net.rim.scan - NNet - 1/18 11:05:54 a net.rim.link - NKSt - 1/18 11:05:25 a net.rim.scan - NKFn - 1/18 11:05:25 W net.rim.scan - NeNa - 1/18 11:04:17 W net.rim.scan - NNet - 1/18 11:04:17 W net.rim.scan - NeNa - 1/18 11:03:09 W net.rim.scan - NNet - 1/18 11:03:09 W net.rim.scan - NeNa - 1/18 11:02:00 W net.rim.scan - NNet - 1/18 11:02:00 W net.rim.scan - NeNa - 1/18 11:00:51 W net.rim.scan - NNet - 1/18 11:00:51 W net.rim.scan - NeNa - 1/18 10:59:43 W net.rim.scan - NNet - 1/18 10:59:43 W net.rim.scan - NeNa - 1/18 10:58:34 W net.rim.scan - NNet - 1/18 10:58:34 W net.rim.scan - NeNa - 1/18 10:57:25 W net.rim.scan - NNet - 1/18 10:57:25 W net.rim.scan - NeNa - 1/18 10:56:16 W net.rim.scan - NNet - 1/18 10:56:16 W net.rim.scan - NeNa - 1/18 10:55:07 W net.rim.scan - NNet - 1/18 10:55:07 W net.rim.scan - NeNa - 1/18 10:53:58 W net.rim.scan - NNet - 1/18 10:53:58 W net.rim.scan - NeNa - 1/18 10:52:49 W net.rim.scan - NNet - 1/18 10:52:49 W net.rim.calendar.ota - PURG -7558393204028866619 - 1/18 10:52:00 W net.rim.calendar.ota - PURG -8155628913971600714 - 1/18 10:52:00 W net.rim.scan - NeNa - 1/18 10:51:40 W net.rim.scan - NNet - 1/18 10:51:40 a net.rim.hrtRT - CFin - 1/18 10:51:03 E net.rim.gme - REgf - 1/18 10:51:03 W net.rim.gme - RXCe - 1/18 10:51:03 a net.rim.hrtRT - XSys - 1/18 10:51:03 a net.rim.tunnel - Clos-blackberry.net - 1/18 10:51:03 a net.rim.hrtRT - CClG 0x2 - 1/18 10:51:03 a net.rim.gcmp - GCNr - 1/18 10:51:03 a net.rim.hrtRT - EHr! - 1/18 10:51:03 a net.rim.hrtRT - EHr* - 1/18 10:51:03 a net.rim.hrtRT - ERRs 0x21 - 1/18 10:51:03 W net.rim.srp.prime - DaUv - 1/18 10:51:02 W net.rim.srp.prime - Inet - 1/18 10:51:02 W net.rim.rcp - WlCe - 1/18 10:51:02 a net.rim.srp.prime - Wlan - 1/18 10:51:02 a net.rim.rcp - HriK - 1/18 10:51:02 a net.rim.rcp - HriI - 1/18 10:51:02 a net.rim.hrtRT - XV5r 0x10000 - 1/18 10:51:00 a net.rim.tunnel - STac-blackberry.net - 1/18 10:51:00 a net.rim.tunnel - Open-blackberry.net - 1/18 10:51:00 a net.rim.hrtRT - ETot - 1/18 10:51:00 W net.rim.reminders - CNCA - 1/18 10:51:00 W net.rim.reminders - CNCA - 1/18 10:51:00 a net.rim.hrtRT - Ettl 0x2853e6 - 1/18 10:51:00 W net.rim.reminders - CNCA - 1/18 10:51:00

 

Thanks,

 nil

 

Awesome Sauce Coder
506 Posts
Member since ‎01.14.2004

Re: Getting a call failed error

[ Edited ]

Can you send me the Blackberry logs with line breaks in them?

 

Using javaloader you can dump it to a file

 

Javaloader -u eventlog > eventlog.txt

 

This should put it in the proper format

Run the test right before the log generation.

 

Also, would be ideal to give timestamps of the test to help align the logs.

 

thanks!

  • of 1