Menu

#1477 Cannot place a call on Android 4.0 Ice Cream Sandwich

NextRelease
nobody
None
Medium
Defect
2013-02-14
2012-01-05
Anonymous
No

Originally created by: jlyris...@gmail.com
Originally owned by: r3gis...@gmail.com

What steps will reproduce the problem?
1. Install Csipsimple from Market
2. Google Galaxy Nexus - Android 4.01
3. Enter my account information with Sip Provider, phone registers correctly :)

What is the expected output? What do you see instead?
I dial the phone number and press the call button, nothing happens. If I choose "Use Mobile" to place the call it works perfectly, but that defeats the purpose of Csipsimple.

PLEASE, fix this!

What version of the product are you using? On what operating system?
0.03-01 [r1108], on Android 4.01
Please provide any additional information below.
Needless to say, this is the BEST sip client bar none and works perfectly well on my Nexus S running latest version of Gingerbread.

Related

Commit: [r1108]
Tickets: #1689

Discussion

1 2 > >> (Page 1 of 2)
  • Anonymous

    Anonymous - 2012-01-05

    Originally posted by: r3gis...@gmail.com

    Huh, very weird, I tested on ICS on Galaxy Nexus and it worked properly.

    Is there some filter you configured that could exclude the outgoing entry ?

    And how it goes if you dial from csipsimple dialer? Is that just the android integration that is broken?

    Status: Need-Details

     
  • Anonymous

    Anonymous - 2012-01-05

    Originally posted by: jlyris...@gmail.com

    Please see video link. Same phenomenon with both stock dialer and Csipsimple dialer. I have no filters configured. I have uninstalled application and reinstalled to no avail. I just asked my friend to try it on his Galaxy Nexus, same result.

    Click to download video (about 13MB) showing what I am talking about, since I cannot attach to this post (exceeds MB)

    http://ge.tt/8IeYwxB?c

     
  • Anonymous

    Anonymous - 2012-01-06

    Originally posted by: seok...@gmail.com

    I have the exactly same issue.

     
  • Anonymous

    Anonymous - 2012-01-06

    Originally posted by: seok...@gmail.com

    The problem seems to related with bluetooth. Turning off the bluetooth resolved the issue.

    But if this could be fixed, it would be great.

     
  • Anonymous

    Anonymous - 2012-01-06

    Originally posted by: r3gis...@gmail.com

    Mmmh, really weird.
    Could you try to collect logs (see HowToCollectLogs wiki page).
    There is maybe some interesting clue I can find on what is the root cause of the problem. Thx in advance.

    Status: Accepted

     
  • Anonymous

    Anonymous - 2012-01-07

    Originally posted by: brock.t...@gmail.com

    FWIW I am seeing similar problems in both CSipSimple and Sipdroid on my VZW Gnex. On Sipdroid it tells me "codecs incompatible", and people are seeing it only over wifi, just as here. See https://code.google.com/p/sipdroid/issues/detail?id=996

     
  • Anonymous

    Anonymous - 2012-01-12

    Originally posted by: sjakub

    Same issue here, Galaxy Nexus running  4.0.2. Disabling bluetooth dolves this problem.
    I sent the logfile to developers. Also I see following exception using adb's logcat:

    W/BackupManagerService(  193): dataChanged but no participant pkg='com.android.providers.settings' uid=10064
    E/audio_hw_primary(  120): Leaving IN_CALL state, in_call=0, mode=3
    I/AudioService(  193):  AudioFocus  requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
    E/libpjsip( 5299):  11:39:41.122  pjsua_media.c  Unable to open sound device: Not enough memory (PJ_ENOMEM) [status=70007]
    W/ActivityManager(  193): Permission Denial: broadcastIntent() requesting a sticky broadcast from pid=5299, uid=10064 requires android.permission.BROADCAST_STICKY
    E/SIP SRV ( 5299): run task: com.csipsimple.service.SipService$1$5@418a7150
    E/SIP SRV ( 5299): java.lang.NoClassDefFoundError: android/media/AudioRecord
    E/SIP SRV ( 5299):      at org.pjsip.pjsua.pjsuaJNI.call_make_call(Native Method)
    E/SIP SRV ( 5299):      at org.pjsip.pjsua.pjsua.call_make_call(pjsua.java:278)
    E/SIP SRV ( 5299):      at com.csipsimple.pjsip.PjSipService.makeCall(PjSipService.java:793)
    E/SIP SRV ( 5299):      at com.csipsimple.service.SipService$1$5.doRun(SipService.java:251)
    E/SIP SRV ( 5299):      at com.csipsimple.service.SipService$SipRunnable.run(SipService.java:1774)
    E/SIP SRV ( 5299):      at com.csipsimple.service.SipService$SipServiceExecutor.executeInternal(SipService.java:1687)
    E/SIP SRV ( 5299):      at com.csipsimple.service.SipService$SipServiceExecutor.handleMessage(SipService.java:1679)
    E/SIP SRV ( 5299):      at android.os.Handler.dispatchMessage(Handler.java:99)
    E/SIP SRV ( 5299):      at android.os.Looper.loop(Looper.java:137)
    E/SIP SRV ( 5299):      at android.os.HandlerThread.run(HandlerThread.java:60)
    E/SIP SRV ( 5299): Caused by: java.lang.SecurityException: Permission Denial: broadcastIntent() requesting a sticky broadcast from pid=5299, uid=10064 requires android.permission.BROADCAST_STICKY
    E/SIP SRV ( 5299):      at android.os.Parcel.readException(Parcel.java:1327)
    E/SIP SRV ( 5299):      at android.os.Parcel.readException(Parcel.java:1281)
    E/SIP SRV ( 5299):      at android.media.IAudioService$Stub$Proxy.startBluetoothSco(IAudioService.java:1090)
    E/SIP SRV ( 5299):      at android.media.AudioManager.startBluetoothSco(AudioManager.java:975)
    E/SIP SRV ( 5299):      at com.csipsimple.utils.bluetooth.BluetoothUtils8.setBluetoothOn(BluetoothUtils8.java:118)
    E/SIP SRV ( 5299):      at com.csipsimple.service.MediaManager.actualSetAudioInCall(MediaManager.java:268)
    E/SIP SRV ( 5299):      at com.csipsimple.service.MediaManager.setAudioInCall(MediaManager.java:154)
    E/SIP SRV ( 5299):      at com.csipsimple.pjsip.PjSipService.setAudioInCall(PjSipService.java:1018)
    E/SIP SRV ( 5299):      at com.csipsimple.pjsip.UAStateReceiver.on_setup_audio(UAStateReceiver.java:474)
    E/SIP SRV ( 5299):      at org.pjsip.pjsua.pjsuaJNI.SwigDirector_Callback_on_setup_audio(pjsuaJNI.java:1049)
    E/SIP SRV ( 5299):      ... 10 more
    D/dalvikvm( 5299): GC_CONCURRENT freed 326K, 3% free 14465K/14855K, paused 6ms+8ms

     
  • Anonymous

    Anonymous - 2012-01-12

    Originally posted by: r3gis...@gmail.com

    Thanks to complete logs you sent to me I think that I have a little idea about what could help.

    The android os 4.0 seems to be less permissive on some permission that I didn't asked for previously.

    Owner: r3gis...@gmail.com
    Status: Started

     
  • Anonymous

    Anonymous - 2012-01-12

    Originally posted by: r3gis...@gmail.com

    For the record (if can help other opensource project). I think that it's more about the fact that the old startBluetoothSco method has now a different implementation on android 4.0 that implicitly requires a new permission for the app.
    We got a crash because the app was not authorized to use this permission. In the fix I just added the permission.

    I hope that it is the only problem and that the new implementation in ICS 4.0 does not also changes the way the bluetooth api has to be used.

    It is currently building the version with the fix, so you'll be able to let test in a couple of minutes.

    Thx for logs, it's very helpful for me to get user feedback on the new version because I'm not always able to test everything with new devices :). And I forgot to test the BlueTooth when I had the Galaxy Nexus to test on.

     
  • Anonymous

    Anonymous - 2012-01-13

    Originally posted by: brock.t...@gmail.com

    I still have this issue on nightly 1193, will get some logs as soon as I can.

     
  • Anonymous

    Anonymous - 2012-01-13

    Originally posted by: r3gis...@gmail.com

    Ok, I reopen it so.

    Status: Accepted

     
  • Anonymous

    Anonymous - 2012-01-23

    Originally posted by: tomer1...@gmail.com

    I have the same issue with the official market version 0.03-01
    any plan to update the market?

     
  • Anonymous

    Anonymous - 2012-01-23

    Originally posted by: r3gis...@gmail.com

    It will be done as soon as nightly builds will become really stable back. I plan that in 1 or 2 month (video and presence will be part of the release).

    Meanwhile you can participate to the beta test and share your findings.
    For example if for you the nightly build fix the issue, tell me !
    It's very valuable for me to get user feedback. The project is done on my free time and I have few devices to test on.
    I hacked by daily use device to be able to install ICS and reproduce this issue (which I do not reproduce anymore..)
    But I've no *real* ICS device so I'm not sure if that's a problem only on some ROM.

     
  • Anonymous

    Anonymous - 2012-01-27

    Originally posted by: james.pe...@gmail.com

    FYI: I just installed the latest nightly ([r1236]) and the problem seems fixed. Even with bluetooth on, I can now make calls through CSipSimple.

     

    Related

    Commit: [r1236]

  • Anonymous

    Anonymous - 2012-02-02

    Originally posted by: r3gis...@gmail.com

    (No comment was entered for this change.)

    Status: NextRelease

     
  • Anonymous

    Anonymous - 2012-05-03

    Originally posted by: portari...@gmail.com

    CSipSimple is by far the best android sipphone. I confirm this problem with my Samsung Galaxy Nexus 4.0.4. Latest update of CSipSimple does not solve the issue for me. My problem appears after I connect to a bluetooth headset, specifically the HS3000 by samsung. This is irrelevant of using the software, I mean, even if I don't place any calls, just listen to music, the problem arises. Even after disconnecting the bluetooth device, when I try then to make a call, CSipSimple connects but nothing happens.

    App removal and reinstallation fixes the problem until the next bt connection.

    I hope this description helps. Kind regards,
    Achilles

     
  • Anonymous

    Anonymous - 2012-05-04

    Originally posted by: eatbe...@gmail.com

    Hi, Just to confirm, I am using v0.03-01 [r1108] of csipsimple on HTC One X v4.0.3.
    I am still having the bluetooth problem. If I try to make a call via CSip and the bluetooth switch is on, then nothing happens. If I turn off the bluetooth switch, calls can go through fine.
    Thanks

     

    Related

    Commit: [r1108]

  • Anonymous

    Anonymous - 2012-05-04

    Originally posted by: eatbe...@gmail.com

    Further to previous message, there is a workaround found in another comment thread:
    https://code.google.com/p/csipsimple/issues/detail?id=51#c114

    Under Expert Settings > Media > Audio Mode for SIP Calls
    Change this to NORMAL

    I can now make phone calls via SIP.

     

    Related

    Tickets: #51

  • Anonymous

    Anonymous - 2012-05-04

    Originally posted by: r3gis...@gmail.com

    Ok interesting point. I'll try to automatically use NORMAL mode when BT is detected so.

     
  • Anonymous

    Anonymous - 2012-06-02

    Originally posted by: michael....@stifts.org

    Same behavior on Galaxy S2 ICS here, disabling bluetooth allows me to make calls but there is still no audio.

    Logcat shows this: (with bluetooth on)

    D/KeyguardUpdateMonitor( 1997): received broadcast android.media.RINGER_MODE_CHANGED
    D/KeyguardUpdateMonitor( 1997): handleRingerModeChange(1)
    E/BroadcastReceiver(17866): BroadcastReceiver trying to return result during a non-ordered broadcast
    E/BroadcastReceiver(17866): java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast
    E/BroadcastReceiver(17866):     at android.content.BroadcastReceiver.checkSynchronousHint(BroadcastReceiver.java:767)
    E/BroadcastReceiver(17866):     at android.content.BroadcastReceiver.setResult(BroadcastReceiver.java:647)
    E/BroadcastReceiver(17866):     at com.ngmoco.gamejs.C2DMReceiver.onReceive(C2DMReceiver.java:125)
    E/BroadcastReceiver(17866):     at android.app.ActivityThread.handleReceiver(ActivityThread.java:2131)
    E/BroadcastReceiver(17866):     at android.app.ActivityThread.access$1500(ActivityThread.java:127)
    E/BroadcastReceiver(17866):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)
    E/BroadcastReceiver(17866):     at android.os.Handler.dispatchMessage(Handler.java:99)
    E/BroadcastReceiver(17866):     at android.os.Looper.loop(Looper.java:137)
    E/BroadcastReceiver(17866):     at android.app.ActivityThread.main(ActivityThread.java:4507)
    E/BroadcastReceiver(17866):     at java.lang.reflect.Method.invokeNative(Native Method)
    E/BroadcastReceiver(17866):     at java.lang.reflect.Method.invoke(Method.java:511)
    E/BroadcastReceiver(17866):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
    E/BroadcastReceiver(17866):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
    E/BroadcastReceiver(17866):     at dalvik.system.NativeStart.main(Native Method)
    D/STATUSBAR-SilentModeController( 2138): onReceive()-S:1
    D/STATUSBAR-SilentModeController( 2138): updateStatus()-S:1
    D/STATUSBAR-QuickSettingButton( 2138): setActivateStatus(1) - 1:on, 2:off, 3:dim
    I/AudioService( 1997):   Remote Control   unregisterMediaButtonIntent() for PendingIntent{423053c8: PendingIntentRecord{422d0610 com.samsung.music broadcastIntent}}
    D/PowerManagerService( 1997): setScreenOffTimeouts mKeylightDelay=6000 mDimDelay=107000 mScreenOffDelay=7000 mDimScreen=true
    W/BackupManagerService( 1997): dataChanged but no participant pkg='com.android.providers.settings' uid=10196
    D/PowerManagerService( 1997): setScreenOffTimeouts mKeylightDelay=6000 mDimDelay=107000 mScreenOffDelay=7000 mDimScreen=true
    D/AudioHardwareInterface( 1832): setMode(IN_COMMUNICATION)
    I/AudioPolicyManager( 1832): AudioPolicyManager::setPhoneState() state:3
    [...]

    I/AudioPolicyManager( 1832): AudioPolicyManager::getDeviceForInputSourceNotification input:0x100000 mPhoneState:3
    I/AudioHardwareYamaha( 1832): AudioHardware::setParameters(keyValuePairs="routing=1048576")
    I/AudioHardwareYamaha( 1832): ### setDeivceInCall devices 1048576, force = 1
    I/AudioHardwareYamaha( 1832): AudioHardware::setDevices(devices=00100000h, mask=C3FC0000h)
    I/AudioHardwareYamaha( 1832): ### setDeivceInCall = 00100000h  mEnabledDualMic 0
    E/libpjsip( 6824):  19:38:32.149  pjsua_media.c  Unable to open sound device: Not enough memory (PJ_ENOMEM) [status=70007]
    I/AudioPolicyManager( 1832): setForceUse() usage 2, config 3, mPhoneState 3
    [...]
    I/AudioPolicyManager( 1832): AudioPolicyManager::getDeviceForInputSourceNotification input:0x100000 mPhoneState:3
    I/AudioHardwareYamaha( 1832): AudioHardware::setParameters(keyValuePairs="routing=1048576")
    I/AudioHardwareYamaha( 1832): ### setDeivceInCall devices 1048576, force = 1
    I/AudioHardwareYamaha( 1832): AudioHardware::setDevices(devices=00100000h, mask=C3FC0000h)
    I/AudioHardwareYamaha( 1832): ### setDeivceInCall = 00100000h  mEnabledDualMic 0
    E/SIP SRV ( 6824): run task: com.csipsimple.service.SipService$1$5@415a7818
    E/SIP SRV ( 6824): java.lang.NoClassDefFoundError: android/media/AudioRecord
    E/SIP SRV ( 6824):      at org.pjsip.pjsua.pjsuaJNI.call_make_call(Native Method)
    E/SIP SRV ( 6824):      at org.pjsip.pjsua.pjsua.call_make_call(pjsua.java:278)
    E/SIP SRV ( 6824):      at com.csipsimple.pjsip.PjSipService.makeCall(PjSipService.java:793)
    E/SIP SRV ( 6824):      at com.csipsimple.service.SipService$1$5.doRun(SipService.java:251)
    E/SIP SRV ( 6824):      at com.csipsimple.service.SipService$SipRunnable.run(SipService.java:1774)
    E/SIP SRV ( 6824):      at com.csipsimple.service.SipService$SipServiceExecutor.executeInternal(SipService.java:1687)
    E/SIP SRV ( 6824):      at com.csipsimple.service.SipService$SipServiceExecutor.handleMessage(SipService.java:1679)
    E/SIP SRV ( 6824):      at android.os.Handler.dispatchMessage(Handler.java:99)
    E/SIP SRV ( 6824):      at android.os.Looper.loop(Looper.java:137)
    E/SIP SRV ( 6824):      at android.os.HandlerThread.run(HandlerThread.java:60)
    E/SIP SRV ( 6824): Caused by: java.lang.NoClassDefFoundError: android/media/AudioRecord
    E/SIP SRV ( 6824):      ... 10 more
    E/SIP SRV ( 6824): Caused by: java.lang.NoClassDefFoundError: android/media/AudioRecord
    E/SIP SRV ( 6824):      ... 10 more
    E/SIP SRV ( 6824): Caused by: java.lang.NoClassDefFoundError: android/media/AudioRecord
    E/SIP SRV ( 6824):      ... 10 more
    E/SIP SRV ( 6824): Caused by: java.lang.NoClassDefFoundError: android/media/AudioRecord
    E/SIP SRV ( 6824):      ... 10 more
    E/SIP SRV ( 6824): Caused by: java.lang.NoClassDefFoundError: android/media/AudioRecord
    E/SIP SRV ( 6824):      ... 10 more
    E/SIP SRV ( 6824): Caused by: java.lang.SecurityException: Permission Denial: broadcastIntent() requesting a sticky broadcast from pid=6824, uid=10196 requires android.permission.BROADCAST_STICKY
    E/SIP SRV ( 6824):      at android.os.Parcel.readException(Parcel.java:1327)
    E/SIP SRV ( 6824):      at android.os.Parcel.readException(Parcel.java:1281)
    E/SIP SRV ( 6824):      at android.media.IAudioService$Stub$Proxy.startBluetoothSco(IAudioService.java:1289)
    E/SIP SRV ( 6824):      at android.media.AudioManager.startBluetoothSco(AudioManager.java:1187)
    E/SIP SRV ( 6824):      at com.csipsimple.utils.bluetooth.BluetoothUtils8.setBluetoothOn(BluetoothUtils8.java:118)
    E/SIP SRV ( 6824):      at com.csipsimple.service.MediaManager.actualSetAudioInCall(MediaManager.java:268)
    E/SIP SRV ( 6824):      at com.csipsimple.service.MediaManager.setAudioInCall(MediaManager.java:154)
    E/SIP SRV ( 6824):      at com.csipsimple.pjsip.PjSipService.setAudioInCall(PjSipService.java:1018)
    E/SIP SRV ( 6824):      at com.csipsimple.pjsip.UAStateReceiver.on_setup_audio(UAStateReceiver.java:474)
    E/SIP SRV ( 6824):      at org.pjsip.pjsua.pjsuaJNI.SwigDirector_Callback_on_setup_audio(pjsuaJNI.java:1049)
    E/SIP SRV ( 6824):      ... 10 more
    W/ActivityManager( 1997): Permission Denial: broadcastIntent() requesting a sticky broadcast from pid=6824, uid=10196 requires android.permission.BROADCAST_STICKY

     
  • Anonymous

    Anonymous - 2012-06-02

    Originally posted by: r3gis...@gmail.com

    @michael :
    Are you using a nightly builds ?
    download and install from : http://nightlies.csipsimple.com/trunk/

    Normally you'll not have the broadcast sticky exception anymore.

    Then (and only once the Nightly build is installed) if you still have audio issue, could you try workaround proposed in comment 22 ?

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.