r3gis3r / CSipSimple

CSipSimple Mirror (no pull-requests here)
http://www.csipsimple.com
GNU Lesser General Public License v3.0
304 stars 227 forks source link

Lollipop and dialer integration #31

Open rajil opened 8 years ago

rajil commented 8 years ago

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

ghost commented 8 years ago

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.

rajil commented 8 years ago

Can you share where this file (path) is?

ghost commented 8 years ago

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

rajil commented 8 years ago

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.

ghost commented 8 years ago

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

p-v-n commented 8 years ago

@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!

ghost commented 8 years ago

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

Thanks!

p-v-n commented 8 years ago

@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!