sip

SipManager.newInstance returns null

浪尽此生 提交于 2019-12-04 09:07:10
I implement simple SIP client app for receiving calls. I go through official manual and get code from it. I noticed that SipManager.newInstance(getApplicationContext()); returns null. Documentation says that it happens when SIP API is not supported by device. However I use LG G6 with Android 7.0 and I successfully test third-party SIP clients from Google Play. So I doubt that API is not supported really. How could I check that? My manifest has all permissions ( INTERNET and USE_SIP ) Permission for USE_SIP is granted by user The Problem is that Android SDK is not supported over all the devices

How to configure kamailio server with load balancing and asterisk? [closed]

Deadly 提交于 2019-12-04 08:44:49
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I want to configure Kamailio server so that traffic will be forwarded to other four asterisk servers equally. It is working fine with a single asterisk box but I am unable to forward a call to another asterisk box. Here is the kamailio.cfg that I am using. #!KAMAILIO #!define WITH_MYSQL #!define WITH_AUTH #

Android VOIP SipException: Failed to create SipSession

我们两清 提交于 2019-12-04 08:00:39
Im trying to run a VOIP call using built in SIP on android 3.1. I have physical tablet device (galaxy Tab 10.1). For testing purpose, I have created a project from SipDemo example - it works fine! (meaning my credentials are working and my device/network is fine). my Manifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="modera.com.doorcontroller" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/logoeditedsmall" android:label="@string/app_name" android:debuggable="true"> <activity

sip-selvet 环境搭建

萝らか妹 提交于 2019-12-04 07:00:52
我这篇文章是有所指和所限的,他就是限制在由Mobicents和Apache两位老大所出的mss-x.x.x-apache-tomcat-x.x.x,x.x.x当然是指的版本号了,在这里就不一一指定了。我所配置的是1.3.2的mss是基于tomcat6.0.20,其他的我也没有功夫去一一配置和实验,抱歉! 一、Eclipse配置 1、使用Eclipse JEE版本 因为SIP Servlet开发要使用到和网页相关的部分,因此要使用Eclipse JEE版本(从同事那儿了解到的,因为本人原来从不做Web相关的东西,这次也只是为了将工程最终打成war包,才用到这个JEE版本) 2、下载与SIP Servlet开发相关的插件 插件的下载地址如下: http://mobicents.googlecode.com/svn/downloads/sip-servlets-eclipse-update-site/ Eclipse下怎么下载安装插件不用我废话了吧,大牛们,肯定都比我懂的多:) 3、创建基于SIP Servlet的工程 如下图所示,中创建工程时,选择Dynamic Web Project 然后在“下一步”中如下图所示,分别在"Target runtime”中选择"Apache Tomcat V6.0",在"Dynamic web module version"中选择"2.4",在

Is it possible to forward VoiP call to GSM

筅森魡賤 提交于 2019-12-04 06:02:12
Is it possible to use an Android phone as a simple GSM gateway? The phone would receive a VoiP call using (preferably) Android built-in SIP stack, initiate a GSM call, and bridge audio both ways. After one call is terminated, the other one ends, too. How could I approach the problem? My earlier attempts failed at bridging audio between connections. Is there a SDK supported way of doing this, that I missed? Or do I need to implement some sort of a workaround? There are two problems with what you are asking: How to get at the incoming audio stream of the cellular call. How to get at the outgoing

SIP, asterisk, adhearson and VoIP

爱⌒轻易说出口 提交于 2019-12-03 21:55:32
I'm trying to create a VoIP based IVR service that interacts with a web application. From what I understand, adhearson runs on top of asterisk. What else do I need to have on the server to satisfy the equation? I think I need a way for asterisk to connect to a voip account. I'd appreciate any help and/or phrases to google. If you want to build your IVR quickly and easily you'd be better off looking at something like tropo.com (tropo's parent, voxeo, own adhearsion) or twilio.com, they've done a lot of the grunt work for you and setting up Asterisk is not for the faint hearted. If you want

How to make live voice phone call using Twilio instead of just playing an MP3 when call is answered?

别等时光非礼了梦想. 提交于 2019-12-03 21:10:58
To call phone number from notebook through Twilio I created ASP.NET-MVC 5.2 application. I can call a number and answer the phone but I don't know how to achieve live voice(to be able to talk) connection instead of just playing music. I created an action method inside HomeController : public ActionResult Call(string to) { client = new TwilioRestClient(Settings.AccountSid, Settings.AuthToken); var result = client.InitiateOutboundCall(Settings.TwilioNumber, to, "http://twimlets.com/message?Message%5B0%5D=http://demo.kevinwhinnery.com/audio/zelda.mp3"); //it causes to play zelda theme when call

pjsip new-call error … Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)

我与影子孤独终老i 提交于 2019-12-03 20:07:33
I get this error when I try to establish a new call from pjsip: pjsua_aud.c ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] Exception: Object: {Account <sip:192.168.0.2:54496>}, operation=make_call(), error=Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) I installed libasound2-dev : sudo apt-get install libasound2-dev , and recompiled pjsip, but still, it gives me the same result .. Am I missing something here? N.B. I use Ubuntu 11.10 and the sound works fine with no problems, so please don't tell me I

Asterisk Digest Authentication for SIP INVITE gives “user mismatch” error

有些话、适合烂在心里 提交于 2019-12-03 18:14:00
问题 I am building a basic SIP UA. I am sending the following INVITE, as seen in Asterisk console (only headers relevant to authentication are shown): INVITE sip:104@192.168.1.92 SIP/2.0 From: "110"<sip:110@192.168.1.92>;tag=80859256 To: <sip:104@192.168.1.92> Call-ID: 80859256 CSeq: 80859256 INVITE Via: SIP/2.0/UDP 192.168.1.92:6000;branch=z9hG4bK-80859256 Contact: <sip:110@192.168.1.92> In response, I get the following challenge: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.1.92:6000;branch

h264 packetization mode for FUA

空扰寡人 提交于 2019-12-03 16:44:28
We have got into couple of interop issues where, The video mode that is required by couple of endpoints in market are little different and only understands H.264 packetization modes (FUA type) (i.e) FU -A NAL unit type.(while others do not play the video on receiving a fu-a nal type payload) Does anyone know what is this FUA type of packetization mode? How is it different from packetization modes 0,1,2 as defined in RFC3984? Is the video encoder/decoder supports it, how can it be appropriately signalled in SIP SDP session wherein the attributes do not get changed even when traversing through