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 create a kind of SDK for JainSIP?

I'm gonna use jainSIP in a softphone and I wonder somethings. For events like hang up the call, hold, resume, cancel, reject the call, How the call Id can be pulled up to the softphone ? I know during an answer, it's the request.getHeader which…
user5002441
0
votes
1 answer

Problem initiating SIP session/ getClientTransaction(request) throws NullPointerException

I have a small issue, I had my SIP client working, and I changed the structure of the code. I kept the creation process of the SIP objects as it was before, but now it does not work. I keep getting: java.lang.NullPointerException at…
TacB0sS
  • 10,106
  • 12
  • 75
  • 118
0
votes
1 answer

how to disconnect call in android jain sip

i am creating dialer using jain sip in android , i have search through the internet but i didn't find any way to disconnect the call by pressing a button programmatic. i have tried this ` TelephonyManager tm =…
user0946076422
  • 85
  • 1
  • 12
0
votes
1 answer

Jain sip return 481 for a received bye request

I am trying to use Jain Sip to create a sip user agent, which can receive INVITE/ ACK/ BYE, and send back the response with SDP if necessary. It can receive INVITE, send OK response, receive ACK and then do RTP packet transport. But when it receives…
hardier
  • 85
  • 1
  • 1
  • 6
0
votes
0 answers

401 error while making a call using jain sip library android

I have made a sip client using jain sip library. I am able to register the client and here is the respose from the sip server 31-May-2015 19:00:14.257 [CM504001]: Endpoint Extn:401: new contact is registered. Contact(s): [sip:401@192.168.1.3:5080…
Redone
  • 1,253
  • 5
  • 18
  • 37
0
votes
0 answers

Create ACK for INVITE

I would like to know, how I can send ACK after I send INVITE and receive SIP 200 OK for INVITE. Right now i have the following code to create ACK which is part of ProcessInviteResponse() else if(statusCode == 200){ try { …
gourig
  • 81
  • 1
  • 11
0
votes
2 answers

Implement cancelRequest

I am implementing cancelRequest for ongoing call. I try to send Request once the session is established. the cancel function worked the first time I implemented it but now it says transaction exists. How do I fix it? else…
gourig
  • 81
  • 1
  • 11
0
votes
1 answer

Android Emulator Not Sending Sip Register Request To Server

I have build android Sip Stack on using IP address 10.0.2.2 and Port number 5060 and my mobicent-jbossAS7.2 sip-server is running on port 5080 (UDP and TCP both). I have set the emulator 5554 redirect by using following commands. telnet localhost…
mubeen
  • 813
  • 2
  • 18
  • 39
0
votes
2 answers

Why "400 missing contact" response for REFER sip request?

i'am trying to create REFER request to forward calls, i have created Refer-To and Referred-By headers and for the contact Header it is as follos SipURI myURI = address.createSipURI(contactNew, realm); Address contactAddress =…
narimane
  • 1
  • 1
  • 2
0
votes
1 answer

Jain Sip Stack using node.js Signalling Server

I have webrtc application and its signalling server is on node.js using socket.io. Now I am going to create android jain sip stack. I want to connect my webrtc application with jain sip application. My question is can I connect jain sip stack,…
mubeen
  • 813
  • 2
  • 18
  • 39
0
votes
1 answer

Difference between Sip Servlet and Jain Sip

I want to know the difference between Sip Servlet and JAIN-SIP. From the stack overflow question's answer, here . I cannot understand the difference between sip servlet and JAIN-SIP. I want to know what is the purpose of JAIN-SIP specification when…
mubeen
  • 813
  • 2
  • 18
  • 39
0
votes
1 answer

How do I configure JAIN-SIP client to send traffic to a non-standard port?

I've checked other questions here are on Stack Overflow and googled, yet I can't seem to find an answer to my question: When using JAIN-SIP in a client implementation, how do I configure it to send SIP Requests to a server configured to use a…
0x574F4F54
  • 355
  • 2
  • 7
  • 15
0
votes
1 answer

JAIN SIP: Identify inbound IP for SIP message when listening on 0.0.0.0

When using the JAIN SIP API, I create a ListeningPoint instance with an address of 0.0.0.0 (ie. listen on all interfaces): sipStack.createListeningPoint("0.0.0.0", 5060, "TCP"); Is there a way for me to identify which IP interface an incoming SIP…
John Rix
  • 6,271
  • 5
  • 40
  • 46
0
votes
1 answer

Getting Exception using JAIN_SIP api in android VOIP CALL

My requirement is to establish voice calls from android phone to VOIP landline phone, its perfectly working using android sip protocol API. But its not working on all android version mobiles. Now i am trying to develop using JAIN-SIP third party…
0
votes
2 answers

sip: to dial additional number after 200 ok

I want to implement the following scenario with the help of SIP protocol: I call to the number 12345678990 the phone is picked up (--> 200 ok is received and ACK is sent back) I dial a number extension 23456# I have already implemented the…
user2957954
  • 1,221
  • 2
  • 18
  • 39