Hi
Just to Add more Logging output
This time from the adb device shell prompt, when I am running
logcat -b radio
D/GSM ( 118): [GSMConn] acquireWakeLock
D/RILJ ( 118): [0828]> SET_MUTE false
D/RILJ ( 118): [0829]> DIAL
D/RILJ ( 118): [0828]< SET_MUTE
D/RILJ ( 118): [UNSL]< UNSOL_RESPONSE_CALL_STATE_CHANGED
D/RILJ ( 118): [0829]< DIAL
D/RILJ ( 118): [0830]> SET_MUTE false
D/RILJ ( 118): [0830]< SET_MUTE
D/RILJ ( 118): [0831]> SET_MUTE false
D/RILJ ( 118): [0832]> GET_CURRENT_CALLS
D/RILJ ( 118): [0831]< SET_MUTE
D/RILJ ( 118): [UNSL]< UNSOL_RESPONSE_CALL_STATE_CHANGED
D/RILJ ( 118): [0832]< GET_CURRENT_CALLS
[id=1,mo,DIALING,voice,norm,129,0,cli 1]
D/RILJ ( 118): [0833]> SET_MUTE false
D/RILJ ( 118): [0833]< SET_MUTE
D/RILJ ( 118): [0834]> GET_CURRENT_CALLS
D/RILJ ( 118): [0834]< GET_CURRENT_CALLS
[id=1,mo,DIALING,voice,norm,129,0,cli 1]
D/GSM ( 118): [GSMConn] update: parent=DIALING,
hasNewParent=false, wasConnectingInOrOut=true, wasHolding=false,
isConnectingInOrOut=true, changed=false
D/RILJ ( 118): [0835]> SET_MUTE false
D/RILJ ( 118): [0835]< SET_MUTE
D/RILJ ( 118): [UNSL]< UNSOL_RESPONSE_CALL_STATE_CHANGED
D/RILJ ( 118): [0836]> GET_CURRENT_CALLS
D/RILJ ( 118): [UNSL]< UNSOL_RESPONSE_CALL_STATE_CHANGED
D/RILJ ( 118): [0836]< GET_CURRENT_CALLS
D/RILJ ( 118): [0837]> GET_CURRENT_CALLS
D/RILJ ( 118): [0837]< GET_CURRENT_CALLS
D/RILJ ( 118): [0838]> LAST_CALL_FAIL_CAUSE
D/RILJ ( 118): [0838]< LAST_CALL_FAIL_CAUSE {65535}
D/GSM ( 118): [GSMConn] onDisconnect: cause=NORMAL
D/GSM ( 118): [GSMConn] releaseWakeLock
D/GSM ( 118): [DataConnectionTracker] ***trySetupData due to
2GVoiceCallEnded
D/GSM ( 118): [DataConnectionTracker] trySetupData: Not ready
for data:
D/GSM ( 118): disableDataConnection=false
D/GSM ( 118): noRetry=false
D/GSM ( 118): isPowerSavingModeActivated=false
D/GSM ( 118): dataState=IDLE
D/GSM ( 118): gprsState=0
D/GSM ( 118): sim=true
D/GSM ( 118): UMTS=true
D/GSM ( 118): phoneState=IDLE
D/GSM ( 118): dataEnabled=false
D/GSM ( 118): dataOnRoamingEnable=false
D/GSM ( 118): [DataConnectionTracker] Clean up connection due to
2GVoiceCallEnded
D/GSM ( 118): [DataConnection] Stop poll NetStat
D/GSM ( 118): [DataConnectionTracker] setState: IDLE
D/RILJ ( 118): [0839]> SET_MUTE false
D/RILJ ( 118): [0839]< SET_MUTE
D/RILJ ( 118): [0840]> SET_MUTE false
D/RILJ ( 118): [0840]< SET_MUTE
D/RILJ ( 118): [0841]> DTMF_STOP
D/RILJ ( 118): [0841]< DTMF_STOP
D/RILJ ( 118): [0841]< DTMF_STOP error:
com.android.internal.telephony.gsm.CommandException: GENERIC_FAILURE
D/RILJ ( 118): [0842]> DTMF_STOP
D/RILJ ( 118): [0842]< DTMF_STOP
D/RILJ ( 118): [0842]< DTMF_STOP error:
com.android.internal.telephony.gsm.CommandException: GENERIC_FAILURE
If you need more info please let me know.
Regards
Mark
On Sep 8, 3:40 pm, Mark Ellul <[email protected]> wrote:
> Hi
>
> I have added more log information from the ddms tool, to see if this
> helps...
>
> 09-08 15:35:48.801: INFO/ActivityManager(63): Starting activity:
> Intent { action=android.intent.action.CALL data=tel:
> 976574325,2,41*667854,000*837101,692649593 comp={com.android.phone/
> com.android.phone.OutgoingCallBroadcaster} }
> 09-08 15:35:49.071: INFO/ActivityManager(63): Starting activity:
> Intent { action=android.intent.action.CALL data=tel:
> 976574325,2,41*667854,000*837101,692649593 flags=0x10000000 comp=
> {com.android.phone/com.android.phone.InCallScreen} (has extras) }
> 09-08 15:35:49.091: INFO/WindowManager(63): Screen status=true,
> current orientation=5, SensorEnabled=true
> 09-08 15:35:49.091: INFO/WindowManager(63): needSensorRunningLp,
> mCurrentAppOrientation =5
> 09-08 15:35:49.091: INFO/WindowManager(63): needSensorRunningLp,
> SCREEN_ORIENTATION_NOSENSOR
> 09-08 15:35:49.091: DEBUG/Sensors(63): close_akm, fd=162
> 09-08 15:35:49.091: DEBUG/Sensors(63): sensors=00000000, real=00000000
> 09-08 15:35:49.121: DEBUG/Sensors(63): using /dev/input/event4
> (name=compass)
> 09-08 15:35:49.151: INFO/WindowManager(63): Disabling listeners
> 09-08 15:35:49.171: INFO/global(118): Default buffer size used in
> BufferedWriter constructor. It would be better to be explicit if an 8k-
> char buffer is required.
> 09-08 15:35:49.191: INFO/AudioHardwareMSM72XX(37): Routing audio to
> Handset (2,1)
> 09-08 15:35:49.191: DEBUG/AudioHardwareMSM72XX(37): rpc_snd_set_device
> (0, 0, 1)
> 09-08 15:35:49.201: DEBUG/HTC Acoustic(37): msm72xx_enable_audpp:
> 0x0000
> 09-08 15:35:49.211: DEBUG/AudioHardwareMSM72XX(37): setVoiceVolume
> (0.800000)
> 09-08 15:35:49.211: INFO/AudioHardwareMSM72XX(37): Setting in-call
> volume to 4 (available range is 0 to 5)
> 09-08 15:35:49.441: DEBUG/AK8973(41): Compass CLOSE
> 09-08 15:35:49.461: DEBUG/HardwareService(63): cancelVibrate
> 09-08 15:35:49.471: DEBUG/WindowManager(63): disableKeyguard -
> PhoneApp
> 09-08 15:35:49.831: DEBUG/BluetoothHeadset(118): Proxy object
> connected
> 09-08 15:35:50.351: DEBUG/dalvikvm(118): GC freed 20571 objects /
> 1091024 bytes in 236ms
> 09-08 15:35:50.591: INFO/global(118): Default buffer size used in
> BufferedWriter constructor. It would be better to be explicit if an 8k-
> char buffer is required.
> 09-08 15:35:50.591: VERBOSE/AudioService(63): updateRoutes(),
> newName=BT;newState=0;
> 09-08 15:35:50.591: ERROR/AudioService(63): Invalid routing action.
> Node A2DP does not exist.
> 09-08 15:35:50.591: VERBOSE/AudioService(63): List Nodes: device=No
> Device;normal=2; Ringtone=2; InCall=1;
> 09-08 15:35:50.621: INFO/AudioHardwareMSM72XX(37): Routing audio to
> Speakerphone (0,2)
> 09-08 15:35:50.621: DEBUG/AudioHardwareMSM72XX(37): rpc_snd_set_device
> (1, 1, 1)
> 09-08 15:35:50.621: DEBUG/HTC Acoustic(37): msm72xx_enable_audpp:
> 0x0007
> 09-08 15:35:50.661: ERROR/WindowManagerService(63):
> setLockScreenShowImmediately = false
> 09-08 15:35:50.661: ERROR/WindowManager(63):
> setLockScreenShowImmediately = false
> 09-08 15:35:50.671: DEBUG/WindowManager(63): reenableKeyguard -
> PhoneApp
> 09-08 15:35:50.691: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness, 102) failed!
> 09-08 15:35:50.691: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness): read from property = 102
> 09-08 15:35:50.691: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness, 102) failed!
> 09-08 15:35:50.701: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness): read from property = 102
> 09-08 15:35:50.751: INFO/AudioHardwareMSM72XX(37): AUDIO_START: start
> kernel pcm_out driver.
> 09-08 15:35:50.761: DEBUG/MobileDataStateTracker(63): Received
> android.intent.action.ANY_DATA_STATE broadcast - state = DISCONNECTED,
> unavailable = false, reason = 2GVoiceCallEndedapn=null,
> capability=null
> 09-08 15:35:50.761: DEBUG/GpsLocationProvider(63): state: DISCONNECTED
> apnType: null apnName: null reason: 2GVoiceCallEnded
> 09-08 15:35:52.231: INFO/ActivityManager(63): moveTaskToBack: 8
> 09-08 15:35:52.251: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness, 102) failed!
> 09-08 15:35:52.301: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness): read from property = 102
> 09-08 15:35:52.341: INFO/WindowManager(63): Screen status=true,
> current orientation=-1, SensorEnabled=false
> 09-08 15:35:52.341: INFO/WindowManager(63): needSensorRunningLp,
> mCurrentAppOrientation =-1
> 09-08 15:35:52.351: DEBUG/Sensors(63): open_akm, fd=162
> 09-08 15:35:52.351: DEBUG/Sensors(63): sensors=00000001, real=00000001
> 09-08 15:35:52.361: DEBUG/AK8973(41): Compass Start
> 09-08 15:35:52.391: DEBUG/Sensors(63): using /dev/input/event4
> (name=compass)
> 09-08 15:35:52.661: INFO/WindowManager(63): Enabling listeners
> 09-08 15:35:52.671: DEBUG/dalvikvm(63): GC freed 20468 objects /
> 1167904 bytes in 271ms
> 09-08 15:35:52.681: DEBUG/Sensors(63): data__data_open: fd = 183
> 09-08 15:35:52.681: INFO/WindowManager(63): onOrientationChanged,
> rotation changed to 0
> 09-08 15:35:53.131: INFO/ActivityManager(63): moveTaskToBack: 8
> 09-08 15:35:53.995: INFO/AudioHardwareMSM72XX(37): AudioHardware pcm
> playback is going to standby.
> 09-08 15:35:58.281: DEBUG/dalvikvm(115): GC freed 2546 objects /
> 127344 bytes in 154ms
> 09-08 15:36:08.401: INFO/InetAddress(63): Unknown host north-
> america.pool.ntp.org, throwing UnknownHostException
> 09-08 15:36:08.401: DEBUG/SntpClient(63): request time failed:
> java.net.UnknownHostException: north-america.pool.ntp.org - north-
> america.pool.ntp.org
> 09-08 15:36:08.401: DEBUG/GpsLocationProvider(63): requestTime failed
> 09-08 15:36:08.401: DEBUG/GpsLocationProvider(63): NetworkThread wait
> for 300000ms
> 09-08 15:36:45.328: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness, 102) failed!
> 09-08 15:36:45.331: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.brightness): read from property = 102
> 09-08 15:36:45.651: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.autobacklight, 1) failed!
> 09-08 15:36:45.661: ERROR/HardwareService(63): GetPreferredValue
> (settings.display.autobacklight): read from property = 1
>
> Here is the code I am using to make the call as well....
>
> private void call(String telephoneNumber) {
> try {
> Intent callIntent = new Intent(Intent.ACTION_CALL);
> callIntent.setData(Uri.parse(String.format("tel:%s",
> telephoneNumber)));
> startActivity(callIntent);
> } catch (ActivityNotFoundException activityException) {
> Log.e("dialing-example", "Call failed", activityException);
> }
> }
>
> Any help would be very much appreciated
>
> Regards
>
> Mark
>
> On Sep 8, 3:21 pm, Mark Ellul <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I am writing an application that calls IVR Systems. For example a
> > Customer Service line where 3 or 4 options or the telephone number
> > must be sent after the call is made.
>
> > I don't remember where but I remember that if you were to put in
> > comma's , it would be a pause so I am trying to dial a number such as
> > "tel:555555,0,2,3" which should dial 55555 then it should send 0 with
> > a pause then 2, pause, and then 3.
>
> > I have seen a discussion similar to what I want to
> > do...http://groups.google.com/group/android-developers/browse_thread/threa...
>
> > I am testing with a HTC Hero, and when it starts dialing, I can hear
> > the first tone being sent when its dialling, in the above case I hear
> > a 5, and then the dialler crashes and drops back to my application.
>
> > I have connected my phone to the Eclipse DDMS view and have found
> > where its doing the call and pasted below.
>
> > 09-08 13:40:09.411: INFO/ActivityManager(63): Starting activity:
> > Intent { action=android.intent.action.CALL data=tel:
> > 555555,2,41*667854,000*837101,692649593 comp={com.android.phone/
> > com.android.phone.OutgoingCallBroadcaster} }
> > 09-08 13:40:09.471: WARN/WindowManager(63): No window to dispatch
> > pointer action 0
> > 09-08 13:40:09.521: INFO/ActivityManager(63): Starting activity:
> > Intent { action=android.intent.action.CALL data=tel:
> > 555555,2,41*667854,000*837101,692649593 flags=0x10000000 comp=
> > {com.android.phone/com.android.phone.InCallScreen} (has extras) }
> > 09-08 13:40:09.541: WARN/WindowManager(63): No window to dispatch
> > pointer action 1
> > 09-08 13:40:09.541: INFO/WindowManager(63): Screen status=true,
> > current orientation=5, SensorEnabled=true
>
> > I was wondering if anyone can help me dissect the issue I am having.
> > OR a approach to do what I need to do to get this working?
>
> > I have seen the ToneGenerator in the documentation but there it states
> > that these tones are not for the upload audio path, which I assume the
> > call is.
>
> >http://developer.android.com/reference/android/media/ToneGenerator.html
>
> > Any help would be appreciated
>
> > Regards
>
> > Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---