Sip + audio bridge

879 views
Skip to first unread message

Mirko Brankovic

unread,
Feb 24, 2017, 6:04:12 AM2/24/17
to meetecho-janus
Hi,
Is there a good way that sip plugin can be used to bridge in audio plugin or that is not possible without modifying plugins.
Or something can be done with rtp-fwd?

Thanks,
Mirko

Lorenzo Miniero

unread,
Feb 24, 2017, 6:08:14 AM2/24/17
to meetecho-janus
I don't see how rtp-fwd would help, as there wouldn't be any way for the SIP user to then inject their own media in the bridge. If you need to mix WebRTC and SIP users together, use something like Asterisk or Freeswitch to do audiomixing, and use the SIP plugin to have your WebRTC users join there.

L.

Mirko Brankovic

unread,
Feb 24, 2017, 6:44:45 AM2/24/17
to meetecho-janus
Thanks for reply,
It is more for multiple mixed webrtc users in audio bridge and someone from old pstn to join with sip to same audio bridge, in case user doesnt have browser in hands.
Or to send call out via sip plugin and maybe publish remote stream to bridge?

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mirko Brankovic

unread,
Feb 24, 2017, 10:45:32 AM2/24/17
to meetecho-janus
D you have any thoughts on how to implement this one the best way?

Mirko Brankovic

unread,
Feb 24, 2017, 10:46:53 AM2/24/17
to meetecho-janus
Theoretically, freeswitch with verto module and webrtc implementation would probably work if there is no sdp conflict in negotiations.

Lorenzo Miniero

unread,
Feb 24, 2017, 11:04:03 AM2/24/17
to meetecho-janus
In our conferencing platform (the same we use to stream IETF meetings) we use Asterisk's ConfBridge as the audio conference bridge. Then SIP users can call Asterisk directly, and WebRTC users can join via the SIP plugin. For end users the effect is the same as the AudioBridge, the only difference is that the mixing is done elsewhere and that you have to handle presence (e.g., who joins/leaves) yourself.

L.

Mirko Brankovic

unread,
Feb 24, 2017, 1:36:40 PM2/24/17
to meetecho-janus
Oh ok. 
I was hoping to avoid 3rd party software in this picture, since there are enough plugins on Janus anyway.

Thanks,
Mirko

Lorenzo Miniero

unread,
Feb 24, 2017, 3:06:49 PM2/24/17
to meetecho-janus
In that case, you'll have to modify the AudioBridge plugin so that it also acts as a SIP server.

L.

Mirko Brankovic

unread,
May 31, 2017, 3:13:46 AM5/31/17
to meetecho-janus
Hi,
We managed to make it happen :)
SO with a custom FreeSwitch plugin (similar to mod_verto) that is connecting to Janus as client and can send x amount of calls into a specified audiobridge.
Since FreeSwitch is ICE, DTLS, and decode to Opus capable, now we can have N amount of WebRTC and PSTN/SIP callers in same room and having Janus as Media Server, audio mixer.

Regards,
Mirko  
Regards,
Mirko

Lorenzo Miniero

unread,
May 31, 2017, 4:38:46 AM5/31/17
to meetecho-janus
Cool, congratulations on this effort!

L.

Mirko Brankovic

unread,
May 31, 2017, 4:55:22 AM5/31/17
to meetecho-janus
Thanks for all your help.

I really hope something of it will end up as open source, but that depends on company policy ;)

Peter T

unread,
Jan 22, 2018, 5:02:58 AM1/22/18
to meetecho-janus
Hi Mirko,

I'm currently in the same boat and trying to figure out the best way to get sip clients (only audio) into a janus videoroom (in case they have no or poor internet access).
Can you give me some details about your implementation or maybe example code ?

Thanks in advance
L.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Regards,
Mirko

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.

Mirko Brankovic

unread,
Jan 22, 2018, 12:17:53 PM1/22/18
to meetecho-janus
Hi Peter,
Unfortunately I can't share that part atm, dince it is company property ;p In case it goes open source, for what i'm cheering, I will let you know.
But basically, we already had a freeswitch module that converts sip messages and freeswitch states over http to signaling server. There is also mod_verto that is doing same thing over websockets..
So we added the re-invite options with opus and dtls to our module so that sdp can be exchanged with janus, in case call needs to go to conference room ;)

To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages