voip

How to call group using PJSIP

百般思念 提交于 2021-02-20 00:43:58
问题 How can I make a call between three, four and more accounts using PJSIP API in iOS? To make a call between two account, I use pjsua_call_make_call function. char *destUri = "sip:account@example.com"; pj_status_t status; pj_str_t uri = pj_str(destUri); status = pjsua_call_make_call(_acc_id, &uri, 0, NULL, NULL, NULL); if (status != PJ_SUCCESS) error_exit("Error making call", status); 回答1: I have no experience to run PJSIP on iOS yet (may be there is some restrictions on call count in iOS

How to call group using PJSIP

眉间皱痕 提交于 2021-02-20 00:41:46
问题 How can I make a call between three, four and more accounts using PJSIP API in iOS? To make a call between two account, I use pjsua_call_make_call function. char *destUri = "sip:account@example.com"; pj_status_t status; pj_str_t uri = pj_str(destUri); status = pjsua_call_make_call(_acc_id, &uri, 0, NULL, NULL, NULL); if (status != PJ_SUCCESS) error_exit("Error making call", status); 回答1: I have no experience to run PJSIP on iOS yet (may be there is some restrictions on call count in iOS

Url scheme for making WhatsApp call programmatically from iOS app (voice call VOIP)?

久未见 提交于 2021-02-18 12:37:05
问题 I have referred How can I place a WhatsApp call from an iOS app? which states that this feature is currently not available in iOS and as per WhatsApp FAQ Share Extension (Custom URL Scheme) it has still not mentioned any schema for placing a call, document it has mentioned: Placing a WhatsApp call(voice call VOIP) To make a WhatsApp call, simply open the chat with the person you want to call and tap Call in the top right corner. Whatsapp FAQ Here But placing a WhatsApp call from android is

Why the caller don't hear echo when I'm relpying the RTP packets I receied

无人久伴 提交于 2021-02-11 12:49:41
问题 I'm trying to play audio for who is calling me all by using NodeJS. He is using SIP and initiate a call. I was able to receive the call and record his audio. Now I'm trying to use the RTP protocol to play back audio to him. So what I tried is to save each RTP packet I got, and send it back as is. But I'm don't undestand why he don't hear nothing. The INVITE command INVITE sip:1@104.154.78.142 SIP/2.0 Via: SIP/2.0/UDP 31.168.3.211:5060;branch=z9hG4bK071d7c26 Max-Forwards: 70 From: "0555042354"

Enabling log in PJSIP for Android forces close the app

半城伤御伤魂 提交于 2021-02-10 13:23:35
问题 I'm building a SIP Softphone using PJSIP for android based on SWIG example. I enable log as described in the sample: LogConfig log_cfg = epConfig.getLogConfig(); SipLogWriter logWriter = new SipLogWriter(); log_cfg.setWriter(logWriter); log_cfg.setDecor(log_cfg.getDecor() & ~(pj_log_decoration.PJ_LOG_HAS_CR.swigValue() | pj_log_decoration.PJ_LOG_HAS_NEWLINE.swigValue())); where my SipLogWriter class is: public class SipLogWriter extends LogWriter { @Override public void write(LogEntry entry)

iOS app rejected for VoIP background mode

霸气de小男生 提交于 2021-02-08 04:43:45
问题 I have developed an application that uses Linphone VoIP API to receive incoming calls, but I don't want the user to make outgoing calls (because that's not what my app is supposed to do). I have enabled VoIP background mode in my .plist but the app got rejected because "it would be appropriate to add a calling-out feature or remove the VoIP background mode". Now I don't want to add call-out features but I totally need VoIP background mode. How am I supposed to make my app run in background

iOS 13 reason: 'Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push callback.'

北战南征 提交于 2021-01-29 06:02:15
问题 From many days I am stuck at this problem... AnyHashable("aps"): { alert = { action = test; body = "{\"action\":\"connect\",\"meetingId\":\"mdkdkkydjgedjhd\",\"from\":\"sender\",\"fromToken\":\"9d739e878521cf770d9e5136161cf7611c242ef2a8b53c83c81b6b6021a7b31b\",\"to\":\"receiver\",\"toToken\":\"e65bf5e3d6a3e440eb364fb620539de4f4c2c1bf98be5f753f5abfbe7fecea74\",\"callUUID\":\"9EB823F3-F857-490B-BCFC-373D05E56933\"}"; title = Call; }; }] This is the payload which I am receiving and raising an

CallKit reportNewIncomingCall completion called but still getting “Killing app because it never posted an incoming call …” crash

℡╲_俬逩灬. 提交于 2021-01-07 02:42:58
问题 This is my first time using PushKit and CallKit combination to build a VoIP feature. I noticed that starting from iOS 13 it is mandatory to report a PushKit VoIP push, otherwise the app will crash. Due to this regulation I proceeded to implement the reportNewIncomingCall method inside didReceiveIncomingPushWith and made sure that its completion is successfully called, which it did, because the breakpoint I placed within the completion block was activated. However, not long after that, the app

iOS13: Alternative to VOIP push notifications (enterprise) to silently communicate with an app in background now that iOS13 killed it

和自甴很熟 提交于 2020-12-29 04:54:22
问题 So for about 4 years in our enterprise environment we were happily using VOIP push notifications to remotely access user's tablets for maintenance and remote data repair purposes. Unlike regular APNS, VOIP push notifications would access the app even if weren't running. I should have figured apple would kill it sometime. Is anyone aware of a private API to bypass the pushkit requirement to call reportNewIncomingCallWithUUID which brings about a full screen call UI, or another mechanism that I

iOS13: Alternative to VOIP push notifications (enterprise) to silently communicate with an app in background now that iOS13 killed it

坚强是说给别人听的谎言 提交于 2020-12-29 04:53:02
问题 So for about 4 years in our enterprise environment we were happily using VOIP push notifications to remotely access user's tablets for maintenance and remote data repair purposes. Unlike regular APNS, VOIP push notifications would access the app even if weren't running. I should have figured apple would kill it sometime. Is anyone aware of a private API to bypass the pushkit requirement to call reportNewIncomingCallWithUUID which brings about a full screen call UI, or another mechanism that I