voip

Services stopping automatically from android OS 5.1.1

狂风中的少年 提交于 2019-12-11 05:27:29
问题 I am working on an application related to Voip & IM (chatting application). Till android OS 5.0 it is working good and no issues from client also. But from android OS 5.1.1 onwards we are facing issues. Issues: If the app is in foreground and if device goes to sleep mode it is working good. If the app is in background and if device goes to sleep mode after 10 minutes all the services are stopping automatically . Testing: For testing I created one timer task to print logs for every 1 minute.

SipManager cannot create SipService. Cannot Bind Context.SIP_SERVICE in Nougat

别来无恙 提交于 2019-12-11 05:11:51
问题 I have an application that uses SipManager to open a SIP profile. I have no difficulties opening the SIP profile on my older(KitKat) device, but my new(Nougat) device throws the a SipException "SipService is dead and is restarting..." Stepping through the SipManager reveals that 'createSipService' is not binding 'Context.SIP_SERVICE'. I found this post, which seems to be the same issue. Does anyone know what changed between KitKat and Nougat that would cause such an error, and what I can do

Android pending intent not invoked in twilio incoming call

我们两清 提交于 2019-12-11 04:48:13
问题 I am making calling app using twilio sdk i have integrated all stuff and it is in wokring condition. But the problem is when my android app remains in the background for long time then app didn't receive incoming call request , pending intent not invoked by Twilio Here is the code: if (!Twilio.isInitialized()) { /* * Needed for setting/abandoning audio focus during call */ Twilio.initialize(context, new Twilio.InitListener() { /* * Now that the SDK is initialized we can register using a

Android SIP Client

时光总嘲笑我的痴心妄想 提交于 2019-12-11 04:45:32
问题 Which is the better way to start the SIP client for android using any external libraries.Since the native inbuilt SIP libraries work only with versions greater than 2.3.1.Looking for the better and easier solution to build the SIP Client for lower versions of android.Could any one help with this... 回答1: To start implementing software SIP Client, you would need 3rd party SIP implementation stack. Check out this thread for a list of sip implementation stacks. What to look for: evaluate the

Binder cannot bind Context.SIP_SERVICE - SIP Client not working on Nougat

狂风中的少年 提交于 2019-12-11 04:24:49
问题 I've implemented SIP feature in my app. I am currently working on Galaxy Tab SM-T580 with Nougat. Problem started at the moment when I've decided to upgrade Android (from 6.0 to mentioned 7.0) - then my SIP client stopped working. When I try to open my sipManager implementation with open(sipProfile, pi, null) method android.net.sip.SipException: SipService is dead and is restarting... at android.net.sip.SipManager.checkSipServiceConnection(SipManager.java:183) is thrown. Debugging code I can

How to make a VOIP app use a carkit like the native call app?

走远了吗. 提交于 2019-12-11 04:15:48
问题 I've been searching for over a week now with no clear solutions. We are building an ap that can make VOIP calls. The current implementation uses AudioManager.requestAudioFocus to tunnel a voice call over a bluetooth headset or carkit, and can uses the AudioManager state to accept incomming calls or hangup ongoing calls when the accept/hangup button on a headset is pressed. This all works fine. However, when connected with a carkit that has both an accept and hangup button, the current

Keep alive UDP socket in background for ios

耗尽温柔 提交于 2019-12-11 02:56:46
问题 My question is not actually what is the code to keep UDP socket alive when application in background but a confusion about the documentation in apple developer site. According to apple developer guide if i set kCFStreamNetworkServiceType to kCFStreamNetworkServiceTypeVoIP then this socket will be managed specially by system when app in background. In CocoaAsyncSocket library they reported that this settings is not working in UDP socket but only in TCP socket. I also tested this option for

Unable to generate call to cell phone using asterisk

为君一笑 提交于 2019-12-11 01:38:28
问题 I'm currently working on a project 'email to voice call'. Using python i'v extracted the email & converted it into speech and saved in a WAV file. Now using asterisk (I'v installed Asterisk 10.2.1 on my ubuntu 10.10 os) i want to generate call to the cell phone (say 919833000000 india's no.) of the user through my system. I have written a python code to connect to asterisk manager interface. Also i have configured the sip.conf and extensions.conf files as well as manager.conf. I have

Internet explorer and google chrome frame can support webRTC?

微笑、不失礼 提交于 2019-12-11 01:01:40
问题 I have tried and tested various approaches to make webRTC work on internet explorer using Google chrome plugin webRTC4all Sipml5 is not responding to either of these approaches I also read the "Customizable, Ubiquitous Real Time Communication over the Web (CU-RTC-Web) Real-Time Media and Peer-to-Peer Transport API " document which is still in development stage and not version is released . Could someone tell me a solution to the problem , or correct me if i am wrong . 回答1: Okay i am going to

PushKit for VOIP iOS apps

放肆的年华 提交于 2019-12-11 00:22:20
问题 Maybe this is a trivial question, however it is not yet clear to me if the server side is impacted when PushKit frameworks will be applied in a VoIP iOS app. The SIP server for example sends an INVITE to my app, the notification is received in the app and the call is established. Is the server impacted when PushKit.framework is used? Who is sending the pushkit event? The SIP server or Apple? Is this similar to APNS ? 回答1: It is exactly like APNS as far as the server is concerned. It just