Questions tagged [jssip]

Use this tag for questions related to the JavaScript SIP Library.

With JsSIP you can build a complete SIP user agent in your Web page:

  • Send and/or receive multimedia calls.
  • Send and/or receive text messages.

JsSIP is a SIP WebSocket client. It needs a SIP WebSocket capable server to which connect and exchange SIP messages.

79 questions
2
votes
1 answer

JsSIP: User is logged out when browser refreshed

I have a simple browser SIP phone. It is a single page application which is based on the JsSIP library. It has two input fields login and password. After authentication it shows me a dial panel. When I refresh a page it shows me again authentication…
kusha
  • 151
  • 1
  • 4
  • 6
2
votes
1 answer

Can i use JsSip in Phonegap build?

Can i use The JavaScript SIP Library (JsSip) in my phonegap build? If i cannot is there any plugins? Here is JsSip webpage http://www.jssip.net/
VoW
  • 315
  • 2
  • 13
1
vote
0 answers

Registering a user in tryit-jssip

I'm trying to register an agent in https://tryit.jssip.net/. Attach is the screenshot for populating the data. JsSIP UA settings Into the sip Uri I'm writing the information as below: test@mypublic ip address. What data should I enter there? Thank…
E.M
  • 11
  • 1
1
vote
0 answers

After JSSIP session.answer, video stream not showing stream in browser

Currently developing a JsSIP proof of concept on Fiddle, I can't get the video stream to play after answering the call. To reproduce the issue, open this JSFiddle https://jsfiddle.net/redvivi/3zedv54a/4/ in two different tabs (one is caller so login…
redvivi
  • 83
  • 8
1
vote
0 answers

TypeError: null is not an object (evaluating 'constraints.optional')] when call sipUa.call

I have a problem when trying to run sipUA.call. Below is my configuration, until now I am still not sure what's wrong. let options = { "eventHandlers": { failed: e => _eventCallback("failed", e), ended: e => _eventCallback("ended", e), },…
1
vote
1 answer

Is there a way to identify if the registrations on sip server are made from same application?

I am using Sip.js library to create a calling app. There seems to be times when the application registers itself multiple times, I have used ua.stop() method which serves the purpose of stopping the useragent but is there a way in which I can…
Sandy_7
  • 11
  • 2
1
vote
1 answer

Problem with establishing voice communication Sip.js

I'm trying to make a call from client side(browser) to FreeSWITCH server using this libs: Sip.js Sip.js framework And also I use React. When I make a call I successfully invite destination URI. After click button and call function callSip our…
Elli Zorro
  • 463
  • 3
  • 19
1
vote
1 answer

How to prevent JsSIP asking for microphone access?

I have to create a webrtc application (using JsSIP) where the goal is only to be able to listen to the remote call. I am searching a way to setup my JsSIP sip stack / sip session to disable the local microphone. I want to make it that the browser…
iXô
  • 1,133
  • 1
  • 16
  • 39
1
vote
0 answers

Cannot start audio only connection on react-native-webrtc

I’m using JsSIP and react-native-webrtc for audio only communication. I’ve managed to start session and get remote and local stream objects. Our SIP server converts voip calls to a normal phone call. I know I successfully start session because I can…
osrl
  • 8,168
  • 8
  • 36
  • 57
1
vote
1 answer

Implementation of JsSIP on actual phone

I just took a look JsSIP library, and it seems pretty promising except the fact that it has no actual demonstration or code which implements calling actual mobile phone. so is it actually possible to call phone which is in offline mode or in online?…
iLiA
  • 3,053
  • 4
  • 23
  • 45
1
vote
0 answers

How to configure officesip server audio codec to be compatible with jssip

I am getting the following error message while trying to make call with jssip to officesip server Incompatible SDP SIP/2.0 488 Not AcceptableHere I found out that this is due to the fact that no common codecs between jssip on browser(Mozilla) and…
j4rey
  • 2,582
  • 20
  • 34
1
vote
2 answers

chrome screen sharing with audio support using jssip

I have tested webrtc screen sharing and Its working fine with both firefox and chrome, I have a question about screen sharing with audio. using jssip on firefox I simply added "audio: true" to MediaConstraints and it works fine but in case of chrome…
Hamidreza
  • 807
  • 7
  • 9
1
vote
2 answers

JsSIP play remote audio

I am using jsSIP with Asterisk in my project. The proplem is I don't jnow how to play audio answer from Asterisk in my browser. Now I am trying this myPhone.on('newRTCSession', function(data){ var session = data.session; …
1
vote
1 answer

Call mobile from computer with SIP

Someone knows some app what can call to mobile phone like a webphone.... I found jssip or sip2sip but i can't put into operation. This is for a telemarketers company
nickokss
  • 25
  • 4
1
vote
1 answer

JSSIP not connecting to FreePBX

I Have working with the FreePBX for 2 weeks. I have a running FREEPBX on my local server. I am able to connect Softphones both from PC & Android device to the FreePBX which are on the same network. Right now I am trying to use JSSIP to connect to…
Yeasin Hossain
  • 769
  • 2
  • 6
  • 23