CSipSimple icon indicating copy to clipboard operation
CSipSimple copied to clipboard

Lollipop and dialer integration

Open rajil opened this issue 9 years ago • 8 comments

Hello, I have csipsimple on a samsung Note 4 running lollipop 5.1.1. The dialer integration is turned on. When i make a call using the native dialer both the native dialer and the csipsimple make the call. In 4.4 kitkat the native dialer used to reject the call but it seems 5.1.1 work's differently.

Anybody using csipsimple with Lollipop seeing this issue?

Thanks

rajil avatar Dec 19 '15 19:12 rajil

I faced this issue. I fixed this issue by commenting the following line in the manifest file. It is resolved. If I am wrong please comment on it.

< !-- Call management -- >

< receiver android:name="com.csipsimple.service.OutgoingCall" android:permission="android.permission.CALL_PHONE" android:process=":sipStack" >

< !-- Here filter for protected-broadcasts -- >

< intent-filter android:priority="0" > < action android:name="android.intent.action.NEW_OUTGOING_CALL" /> < /intent-filter > < /receiver >

I hope this could be the answer for you question.

ghost avatar Feb 02 '16 07:02 ghost

Can you share where this file (path) is?

rajil avatar Feb 03 '16 05:02 rajil

It is in AndroidManifest.xml file check for the < !-- Call management -- > then comment it

ghost avatar Feb 03 '16 07:02 ghost

Are you suggesting to make the change in the code followed by compile and install on the phone ?

I don't have the manifest file on the phone filesystem.

rajil avatar Feb 03 '16 07:02 rajil

Yes.. I am asking you to do in the code..

ghost avatar Feb 03 '16 07:02 ghost

@vivekebics, could you please clarify which line did you comment out? What you posted matches exactly the current AndroidManifest.xml. You say "check for the < !-- Call management -- > then comment it", but "" is already a comment, so you likely didn't mean this exact line. Or did you actually mean the whole <receiver>...</receiver> section?

Thanks!

p-v-n avatar Feb 04 '16 19:02 p-v-n

I mean the com.csipsimple.service.OutgoingCall receiver and android.intent.action.NEW_OUTGOING_CALL receiver

Thanks!

ghost avatar Feb 08 '16 04:02 ghost

@vivekebics, if you don't mind, could you please explain how does this help with the original issue when both native dialer and csipsimple start making calls in parallel? Also, could you please post a diff between before and after versions of AndroidManifest.xml, as I'm still confused because I see only one receiver section in your first post, while you just mentioned two of them. Thanks!

p-v-n avatar Feb 09 '16 06:02 p-v-n