Questions tagged [jain-sip]

JAIN-SIP, or JSIP, is a Java specification for SIP Signaling.

Overview
The Java APIs for Integrated Networks (JAIN) is a JCP work group managing telecommunication standards. Session Initiation Protocol (SIP) is a standard communication protocol. Java and SIP together create the JAIN SIP API, a standard and powerful API for telecommunications. This idea started in 1999 with JSR 32. The reference implementation is open source, very stable, and very widely used. This API is frequently (but not necessarily) used for client-side application development. Other container-based technologies, like SIP Servlets, are simpler to use for server-side development.

Useful Links
JAIN-SIP homepage

167 questions
1
vote
0 answers

Create sdp messages automaticly using codec information on jain api

I would like to perform mutual search in java using jain sip application. There is no problem in the register process, but because of codec incompatibility in the search process, I just call and answer the phone, but the call is not sound…
1
vote
0 answers

javax.sip.SipException: IO Exception occured while Sending Request

I want to register to the sip server using Jain sip api. However, the error "javax.sip.SipException: IOException occured while Sending Request" is returned. If I can not generate the sip message correctly, network is unreachable: datagram send…
1
vote
0 answers

Missing javax.sip.STACK_NAME property and gov.nist.javax.sip.SipStackImpl could not be instantiated in Java

I want to connect to sip server on a different server, register and then search the form. I am trying to register on a Java form using Jain-Sip framework. However, in a more basic setting, I encountered an error when creating a Sip Stack, and I can…
1
vote
0 answers

Reusing listening points in JAIN-SIP (jsip)

I am building a java application using SIP over websockets and working as b2bua, i.e. this application registers a number of sip users on another SIP server. I was wondering if there is a way to somehow reuse an existing listening point? It seems…
user1256821
  • 1,158
  • 3
  • 15
  • 35
1
vote
1 answer

JAIN-SIP RINGING Response never gets sent

I am creating a class that implements the SipListener interface to receive events from the JAIN-SIP stack (for an Android device). To test it, I connect 2 devices to an OpenSIPs and have one try to call the other. I have no problem using 3rd party…
Andrey
  • 13
  • 5
1
vote
0 answers

Mobicents disregards UDP retransmissions

I am running a B2BUA application on top of MSS-Tomcat. I have a situation where a BYE request is processed by my application, but retransmissions of the BYE are discarded as duplicates. I expected the retransmission to be processed as we are using…
1
vote
1 answer

Using Restcomm SIP & Webrtc without the platform

I am looking for a way to use SIP as signalling protocol for Webrtc in Android. I saw the RestComm open source code and I think it fits my needs. But I already have the infrastructure setup for TURN and SIP server. We use FreeSwitch for that…
vivek1794
  • 111
  • 2
  • 13
1
vote
0 answers

Jain-Sip dialog message body

I have an app using JAIN-SIP. The application will send SIP NOTIFY messages with event type dialog and content-type application/dialog-info+xml. Is there an API for building the (xml) message body. The javax.sip.message.MessageFactory takes a…
user1491636
  • 2,355
  • 11
  • 44
  • 71
1
vote
1 answer

How to configure nat for a conference using confBridge in Asterisk?

I am trying to host a conference meeting using Asterisk's ConfBridge. How to handle nat for a confBridge application like it is handled in sip.conf by specifying nat=yes Is there a way to configure something similar for confBridge. I went through…
Akshay Kasar
  • 156
  • 12
1
vote
1 answer

SIP response - include private or public IP?

This might be a newbie question. I am developing a SIP endpoint for an environment that will not have ICE/TURN/STUN. The SIP endpoint will be behind a NATing firewall with a known public address. My endpoint can be dialed into directly (no proxies)…
dbukhan
  • 11
  • 1
1
vote
0 answers

RcDevice Error: Time Out waiting on Register in restcomm

I am new in restcomm, in example of restcomm-helloworld i was only change in ip params.put("pref_proxy_domain", "sip:192.168.1.119:5082"); params.put("pref_sip_user", "bob"); params.put("pref_sip_password", "1234"); device =…
1
vote
2 answers

Mobicents - JAIN-SIP-RI does not retransmit error invite response

We have a situation where a UAC sends an INVITE to the server, and the server responds with 3xx-6xx. If the UAC does not send an ACK on this response - there is no retransmission. According to RFC3261 (https://www.ietf.org/rfc/rfc3261.txt) if no ACK…
1
vote
1 answer

Creating a SipStack from a SipFactory

I'm trying to create a sipStack out of a sipFactory using this code: this.sipFactory = SipFactory.getInstance(); this.sipFactory.setPathName("gov.nist"); // Create and set the SIP stack properties. this.properties = new…
JJ Ab
  • 492
  • 4
  • 15
1
vote
1 answer

Sending a SIP request using Java

I need to create an app which sends SIP requests to an existing sip server. I need for now to only be able to send a registration request to the server. I tried reading about it and found an example…
JJ Ab
  • 492
  • 4
  • 15
1
vote
1 answer

using jain sip in OSGI bundle

I try to use jain sip API in an OSGi bundle, when i use it in a standard java application, it seems to work when I import the log4j jar. But when i don't import it, i catch an exception when I use the Sipfactory.createStack(Properties p) function.…