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

Client Mode #121

Open
kelchy opened this issue Jun 13, 2017 · 5 comments
Open

Client Mode #121

kelchy opened this issue Jun 13, 2017 · 5 comments

Comments

@kelchy
Copy link

kelchy commented Jun 13, 2017

I am looking for a SIPP alternative, thought I could use this as a better testing tool.
is client mode supported? i am willing to help out if not

@kirm
Copy link
Owner

kirm commented Jun 15, 2017

Not sure what do you mean by client mode. But sure, sip.js can send requests. For example examples/make_call.js makes a bogus call.

@kelchy
Copy link
Author

kelchy commented Jun 16, 2017 via email

@kelchy
Copy link
Author

kelchy commented Jul 14, 2017

kirill,

i would like to suggest a way for developer to use random ports.
use case: when you generate test traffic, there are times to want simultaneous requests to happen originating from separate ports.

sip.start(options, callback) - options should have port : 0 where sip stack will try to bind to a random port and if it used, try another one for a few times, then error out when not available.

if i'm not mistaken, socket.bind() already support this, only thing we need to do is make sure we don't call defaultPort() but rather, refer to the current bound port.

is my understanding correct?

@kelchy
Copy link
Author

kelchy commented Aug 25, 2017

pull request for this

#123

@kelchy
Copy link
Author

kelchy commented Oct 22, 2017

hi kirill,

any reservations on this PR? i am trying to create multiple instances on a single host and this is blocking

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

2 participants