Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SIPjs with Freeswitch #139

Open
telmojsneves opened this issue Nov 5, 2019 · 3 comments
Open

Use SIPjs with Freeswitch #139

telmojsneves opened this issue Nov 5, 2019 · 3 comments

Comments

@telmojsneves
Copy link

Is it possible to use freeswitch (as a sip registrar and proxy) and sipjs as a user agent that receives calls (RTP)? What I am trying currently is to start with the freeswitch address, but seems impossible because returns a EADDRINUSE error.

Thanks

@kirm
Copy link
Owner

kirm commented Nov 10, 2019

EADDRINUSE means that sip.js is trying to use the same address to listen on as your other app. Try to change port number in sip.start() options. for example:sip.start({port: 6060})

@laoyin
Copy link

laoyin commented Sep 21, 2022

if i wanna reuse this port, is there a way to solve this problem? @kirm 。 i try to change

var socket = dgram.createSocket({type: 'udp4', 'reuseAddr': true}, onMessage);

it doesnt work.

@ztutberidze
Copy link

It is impossible to reuseaddr if the port is already bound by another application. reuseAddr works when the port was previously used and it is in the closing stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants