OverSIP as Outbound Proxy for JsSIP

69 views
Skip to first unread message

Ricardo Rincon

unread,
Apr 5, 2018, 3:57:41 PM4/5/18
to OverSIP
Hi everyone.

First of all I want to thank you on all your efforts on creating and documenting these projects.

I want to make an application (using Node.js and Electron) that uses JsSIP to place calls (hopefully concurrently) on a Contact Center SIP Server for testing purposes, I've been reading the docs, and as far as I can tell JsSIP uses SIP over WebSockets, so I need to use OverSIP as a proxy to connect with the traditional transport of the Contact Center (TCP/UDP).

In my case I think I need the OverSIP server to behave as a B2BUA, so the SIP INVITE and messages sent from the JsSIP app will be forward to the Contact Center and viceversa. I already managed to install it on a Ubuntu 14.04 server and I tried calling it using a Yealink phone but the OverSIP server triggers a register to the endpoint I'm calling, which I don't understand why. I'm not quite sure how to make it just mirror my requests and just set up the call.

I think I need to customize the server.rb to fit my needs but to be honest I'm not familiar with ruby, I tried searching for examples or tutorials on the web but I haven't had any luck. And I think that's the only thing missing from your very well documented sites. Is there any place I can find examples of servers.rb files for different purposes?  Or maybe a place where I can watch a quick set up tutorial on OverSIP + JsSIP?

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages