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
0
votes
1 answer

How to add JAIN SIP?

I write some code in Java on my PC using JAIN SIP 1.2, now I want to export some of my work and create new ones for Android, but I can't understand how to do it. I see another posts like Android-ready JAIN-SIP library? that redirect to a Github…
Josete Manu
  • 187
  • 2
  • 16
0
votes
0 answers

How to accept an incoming audio SIP call using JAIN SIP Library?

It is my first time creating working with JAIN SIP. I have created Android SIP Client using JAIN SIP. I am able to get a notification of an incoming call and receive it but am not able to get the audio stream working. I guess the problem might be…
Dismas Imaya
  • 96
  • 1
  • 6
0
votes
1 answer

REFER method- JAIN SIP API - JAVA- Call transfer

Could you please give a idea of how to use REFER method in JAIN SIP API in java. I would like to use REFER method because i would to use call transfer.
0
votes
1 answer

JAIN SIP returns 415

I'm trying to use JAIN SIP to initiate a call. When trying to execute the code I get a response with code 415 - Unsupported Media Type. I'm calling from my ip address (using port 5061) to a different sip address. Am I missing headers? Or have wrong…
tal weissler
  • 177
  • 1
  • 9
0
votes
1 answer

Timer Event not being fired in respective SBB Entity

Now I am following this example to achieve the exact thing described. What I want Receive an event from a resource Use timerFacility.setTimer method to sleep for a fixed 5 secs After 5 secs pass, the service needs to send a message back to the…
shabby
  • 3,002
  • 3
  • 39
  • 59
0
votes
1 answer

Why Jain SipDialog didn't increase localSequenceNumber after it sent reply for Subscribe request?

I'm using SipUnit to test my sip application which just forward the request. In my simple test case, user1(simulated with SipPhone) send Subscribe request and my application forward the request to user2(simulated with SipPhone) and then user2 send…
user3053227
  • 63
  • 2
  • 8
0
votes
0 answers

Unable to establish SIP Session (jain-sip)

I'm using Jain Sip and my use-case is this: One registrar, one caller and one callee. Caller and Callee register themselves with the registrar. The caller then initiates a call. The Invite reaches my callee but when I'm trying to send a "RINGING"…
Ijon Tichy
  • 61
  • 9
0
votes
1 answer

Android SIP Service Persistence

I have a messaging and SIP app that needs to listen for received messages, incoming calls, etc. in the background, and then display or output them in various activities (depending on message type). My question is: what is the best way to accomplish…
0
votes
0 answers

sip stack implementatin outside the servlet container

I want to know if it's possible to implement the SIP stack outside the servlet container and interact between them with an interface. I want to have SIP transactions and dialogs for the first part and can host the servlet inside the servlet…
0
votes
2 answers

How can I read SIP server response

I am using Jain SIP to send a register request to a server using SipProvider.sendRequest(request). How can I listen for the 200 OK response from the server?
JJ Ab
  • 492
  • 4
  • 15
0
votes
1 answer

Is it necessary to get authorization for de register also?

I am working with SIP.Currently I am seing a scenario in which a register with Expires header value 0 is going to the server.The server gives a 401 unauthorized and the phone sends a register again .This time also the register goes with the…
achoora
  • 1,270
  • 1
  • 16
  • 32
0
votes
0 answers

How do I add the jain SIP libraries in a java project and to the java class?

I have downloaded the jain sip libraries files from https://jsip.ci.cloudbees.com/job/jsip/ and I am testing a small sip application but I am getting the error "package javax.sip does not exist" while importing as: import javax.sip.* I have used…
tkyo
  • 75
  • 1
  • 12
0
votes
2 answers

SIP signal with public wifi?

I had an issue with Jain SIP. My application is used to make a VOIP call. It work well with ethernet, but it is fail in public Wifi. Below is package that I sent to login to SIP server. It seems server does not response any data(It works on…
Hieu Doan
  • 5
  • 4
0
votes
1 answer

Jain Sip : how to send an ACK on 200 ok type CANCEL?

In my application, I send an invite request and cancel this one. I receive the 200 ok (of my cancel) and I want to send the ACK request but the dialog is not yet established, so how can I send this ack ? However, I think it's not clear for me the…
Geoff
  • 1
0
votes
1 answer

why jain sip return 481 on received bye?

I use Jain Sip to create a sip app. It can send/receive INVITE/ ACK/ BYE, and send back the response with SDP if necessary. But when it receives BYE from the other side, a 481 will be thrown by Jain Sip. I tried to figure out what happen for a week…
Torlk
  • 3
  • 3