jain-sip

Is there any way to make Android native sip stack to support voip on all android devices?

时间秒杀一切 提交于 2020-02-25 13:28:09
问题 I have invested some time building a simple VOIP call using android native sip API. But later came to know that it does not support voip call on all Android devices. And it was mentioned that it was relied on Jain sip stack. So is there any way i can make it support on all Android Device (from Android 4 on ward) using native sip stack. Any simple demo source code on implementing sip using pjsip would be also highly appreciated. 回答1: PJSip Android Library Build Up Steps Requirements: - Latest

JAIN-SIP 1.2 for Android: Missing javax.sip.STACK_NAME property

冷暖自知 提交于 2020-01-07 04:39:26
问题 I'm trying to run JAIN-SIP Stack on an Android-Device (4.0.2). I was able to repackage the jar-files which were needed (jain-sip-api-1.2-src.jar, jain-sip-src-1.2.1111.jar, concurrent.jar, log4j-1.2.8.jar). This is my build.xml file which I used: <!-- Converts this project's .class files into .dex files --> <target name="-jarjar" depends="-compile"> <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="buildtools/jarjar-1.4.jar"/> <jarjar jarfile="${out.absolute.dir

SIP ACK Dialog is null

佐手、 提交于 2019-12-22 12:36:11
问题 I am creating a SIP client in java using JAIN SIP. I have managed to register and send INVITE but when sending the ACK back to the server I am getting error which says: Cannot Create ACK - no remote Target I checked the value of Dialog and it is null In the processResponce(), I get the value it is also null this.dialog = responseEvent.getClientTransaction().getDialog(); I pass it to ack(responseEvent.getResponse(), dialog) request =this.dialog.createAck(((CSeqHeader)response.getHeader("CSeq")

Deploying SIP servlet on Jboss

爱⌒轻易说出口 提交于 2019-12-13 05:35:10
问题 I'm new to SIP Servlet development and I would like to know how to deploy my Sip servlet to my Jboss server. I can't seem to find how to do it by googling it. I see a lot of information on using mobicents but do I have to? Can't I just deploy directly like I would my HTTP servlets? Thanks! EDIT: Also what is the exact difference between JAIN sip servlets and Sip servlets? 回答1: Mobicents provide Jboss and tomcat applications servers with additional modules which are required to deploy and run

JAIN-SIP WebRTC signaling

核能气质少年 提交于 2019-12-12 04:59:40
问题 Are there any code example for this? I want to know what should be the flow in processRequest when an INVITE request is received. I'm particularly interested in how you forward a request from an UA to another previously registered UA. 回答1: Check out https://svn.java.net/svn/jsip~svn/trunk/src/test/unit/gov/nist/javax/sip/stack/WebsocketSelfTest.java the WebsocketServer class should be enough to get you started to write a simple client-server. Forwarding just means you act as client repeating

Restcomm Cloud throwing ERR_CONNECTION_TIMED_OUT when connecting via WSS://mydomain.com:5083/

↘锁芯ラ 提交于 2019-12-11 15:17:12
问题 I have created my domain (XYZ.restcomm.com) on https://cloud.restcomm.com and i have created some Accounts and created RVD App and created short demos too. Now i am creating a Node JS based Application to open the WSS connection to my restcomm cloud instance by using https://github.com/RestComm/restcomm-web-sdk. And the code i am in my HTML Page is as follows I have ensured that i am able to access my restcomm cloud domain "XYZ.restcomm.com" and i created the account with user id "guest" and

PeerUnavailableException using JAIN SIP API and the NIST implementation

有些话、适合烂在心里 提交于 2019-12-10 19:36:49
问题 I'm trying to build a simple SIP application using JAIN SIP 1.2 and the NIST implementation. I'm using JavaSE1.7 with Eclipse as my IDE. The problem: I am getting javax.sip.PeerUnavailableException when trying to construct a SipStack object. My main class: package net.bezeqint.sip.enp; public class ListenerMain { public static void main(String[] args) { try { System.out.println("Creating ExampleListener..."); ExampleListener listener = new ExampleListener(); } catch (Exception e) { e

Enabling debug logs on JAIN SIP (NIST implementation)

你说的曾经没有我的故事 提交于 2019-12-08 06:32:05
问题 I'm developing a Java application based on JAIN SIP with the NIST implementation and would like to enable/view SIP stack debugging. I can't find a working way to achieve that - any help would be appreciated. Thanks! Joe 回答1: Try passing the following properties when you initialize the stack gov.nist.javax.sip.LOG_MESSAGE_CONTENT=true gov.nist.javax.sip.TRACE_LEVEL=32 gov.nist.javax.sip.DEBUG_LOG=logs/mss-jsip-debuglog.txt gov.nist.javax.sip.SERVER_LOG=logs/mss-jsip-messages.xml 回答2: Try this

Android-ready JAIN-SIP library?

流过昼夜 提交于 2019-12-07 10:27:17
问题 Greets! I am developing (trying to develop) a VoIP SIP application for Android, and after two weeks of bickering with mjsip, pjsip and the sdk's libraries, I have settled on JAIN-SIP. The libraries look great, in theory. No need to learn any android native code, lots of documentation (yet not enough, since I'm here), etc. My first attempt was using the Android SDK's SIP libs (yes, I know they're based on JSIP), and it failed after the SipManager.open() refused to open the profile for

Difference between JAIN API and JAIN SLEE API

☆樱花仙子☆ 提交于 2019-12-06 12:29:47
问题 I was reading about SIP and found that there's an java API JAIN SIP to develop SIP based applications. Then I also found that there is JAIN SLEE and SIP servlets. I believe JSLEE and SIP Servlets are containers to deploy applications based on JAIN and SIP servlets respectively. Can some please explain. Also, please tell me which one is better to start with for learning. Thanks 回答1: JAIN SIP is a java specification (https://jcp.org/en/jsr/detail?id=32) for writing Java SIP applications in a