voip

VOIP app is not wake up in time if set 15 min for setKeepAliveTimeout method

可紊 提交于 2019-11-30 07:41:52
I've developed app which should process some data every 15 min. So I added voip flag into plist file. And use setKeepAliveTimeout with 900 sec(15 min). Also added background task functionality which processes some data. Processing of data takes up to 10 seconds. The problem is that app wakes up NOT in time. Sometimes after 12 min, sometimes after 16 min etc. But I need exactly in 15 min. How to solve the following problem? iOS version is 5.0+ If it's iOS's specific please provide me official reference into the apple's api document where this mentioned . setKeepAliveTimeout:handler: is not a

ios audio unit remoteIO playback while recording

时光怂恿深爱的人放手 提交于 2019-11-30 07:33:18
I have been charged to add VOIP into an game (cross-platform, so can't use the Apple gamekit to do it). For 3 or 4 days now, i'm trying to get my head wrap around audio unit and remoteIO... I have overlooked tens of examples and such, but every time it is only applying a simple algorithm to the input PCM and play it back on the speaker. According to Apple's documentation in order to do VOIP we should use kAudioSessionCategory_PlayAndRecord. UInt32 audioCategory = kAudioSessionCategory_PlayAndRecord; status = AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, sizeof(audioCategory),

iOS background polling without location services

佐手、 提交于 2019-11-30 05:27:39
this is a question we've all wondered about a number of times, and no one seems to have a good answer. How do apps like DataMan run on a regular basis in the background, indefinitely, and still get into the app store? The app allows a user to turn on "precise data tracking" and select a frequency at which the app updates it's data usage counters with zero user interaction - the intervals are once every minute, once every 10 minutes, and once every 20 minutes. Yes, I've read all the associated Apple Documentation on background processes and implemented many of them successfully. I've also

what mechanisms used by Whatsapp and Viber for Chatting and messaging

核能气质少年 提交于 2019-11-30 04:08:14
I am searching some thing about Whatsapp and Viber. They are providing Free calls ans SMS and Chatting functionality over VOIP. Can any one identify what kind of Mechanisms are used by both application . Means For Chat what kind of protocols are used and other details. and any other code which may be usefull to create chat applications like these. please provide some details. Whatsapp uses a custom XMPP server, Viber uses their own SIP voip server. There are some opensource libraries for XMPP . 来源: https://stackoverflow.com/questions/6107172/what-mechanisms-used-by-whatsapp-and-viber-for

Why Does RTP use UDP instead of TCP?

别来无恙 提交于 2019-11-30 02:54:29
I wanted to know why UDP is used in RTP rather than TCP ?. Major VoIP Tools used only UDP as i hacked some of the VoIP OSS. As DJ pointed out, TCP is about getting a reliable data stream, and will slow down transmission, and re-transmit corrupted packets, in order to achieve that. UDP does not care about reliability of the communication, and will not slow down or re-transmit data. If your application needs a reliable data stream, for example, to retrieve a file from a webserver, you choose TCP. If your application doesn't care about corrupted or lost packets, and you don't need to incur the

Voip Pushkit notification will not re-launch the app if it was force-quitted and device was rebooted

懵懂的女人 提交于 2019-11-30 02:24:01
I cannot get voip pushkit notifications to re-launch the app if the user has force-quitted the app (by swiping it up in the multi-tasking interface) AND if the device was rebooted. However, I can get the voip pushkit notifications to work in the following scenarios: The app was force-quitted then the pushkit notification arrives. The app will be relaunched immediately. Standard push notifications are not capable of waking the app in such scenario. The app was in the background / suspended and the device is rebooted. Thanks to Voip mode, the app will be relaunched on device reboot (I can see

How can I use Twilio as a SIP trunk for my Asterisk to make and receive calls?

懵懂的女人 提交于 2019-11-30 00:57:01
I have a Twilio account which has a number (let's say 8881231234), and I have Asterisk box. I'd like to use Twilio as an Asterisk trunk to be able to make calls at their rates and receive calls from that number on my Asterisk. I haven't found any specs to interconnect Asterisk with Twilio. Is it possible to set up Asterisk so that every outgoing call is routed through Twilio and have the calls on my 8881231234 number ring on my SIP phone? user2152758 Twilio Seems to offer SIP Trunking now. g3rv4 As it was well pointed out below, Twilio now DOES WORK as a SIP trunk, you can visit https://www

How to build a softphone (using SIP protocol) using C#

℡╲_俬逩灬. 提交于 2019-11-29 23:17:47
I have this challenge to build an sip softphone using c# or .net technologies. Please guide me the technology, requirements and specifications that is needed to build such. Possible requirements: Supported codecs: G.722.1, G.723.1, G.726, G.728, G.711, G.729, G.723.1, iLBC,: G.711 (A and m-law),G.729A/B/D/E, AMR, GSM 6.10/EFR, iLBC, Speex Voice: Real time Quality Monitoring (MOS) 3 independent phone lines Auto-Answer/Do Not Disturb Call Forwarding Full Duplex Audio Recording compress the audio data. Fully SIP compatible softphone/dialer for PC2Phone and Mobile2Phone (iPhone, Nokia N95)

How to implement voice over ip in iOS? [duplicate]

我是研究僧i 提交于 2019-11-29 21:14:57
问题 This question already has an answer here: VOIP using XMPP Framework in iPhone [closed] 3 answers I want to make voice/video calls between iPhones App using WiFi/Internet. How should I do that? I don't want to make calls on service provider number. It will make calls between apps on different iPhones like skype. I didn't fount any way to search. I am getting confuse how to start working on it. 回答1: U need to use VOIP service, there are lots of VOIP API but maximum are paid. check apple doc:

How to make asterisk server automatically response to SIP call?

∥☆過路亽.° 提交于 2019-11-29 17:36:08
My objective: I want to use softphone(3CX phone) register with asterisk server, and make call to the server and asterisk act as a server to automatically response something, like play a song. How i did: I installed asteriskNow using virtualbox, and registered the softphone by setting exntension for my SIP device (extension 333). And i write a dialplan in etc/asterisk/extensions.conf . The dialplan is : [incoming] exten =>s,1,Answer() exten =>s,n,Playback(dir-intro-oper) exten =>s,n,Hangup() I want any incoming call to server, the server will automatically answer, and play a pre-defined voice