element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

Add SIP Client and Dialpad to allow inbound and outbound SIP calls #2998

Open palmtown opened 5 years ago

palmtown commented 5 years ago

The reason for this issue is to request a SIP Client / Dialpad that will register the user to a SIP sever and allow the user to make and receive calls.

Admins should be able to specify a URL that will query a sever to get the user's SIP credentials. If credentials are returned, the client should automatically register to the SIP client.

tompinzler commented 5 years ago

I'm interested in SIP integration as well. But rather than adding a full blown SIP client to Riot I'm leaning towards SIP integration on the server. Maybe via a bridge. In this scenario the client would only need a dialpad as an ui element to start calls. The already existing WebRTC capability of Riot could be used to transfer the audio to the server. The server would do the bridging into the SIP world.

Doing SIP integration on the server should allow much easier adoption on all clients/platforms (Android, iOS, Desktop) as you only need the dialpad as an ui element on all clients.

Anybody interested in SIP integration, please talk to me. If there is enough interested maybe together we will be able to even fund this feature.

gennaro-arch commented 5 years ago

I'm interested in SIP integration as well. But rather than adding a full blown SIP client to Riot I'm leaning towards SIP integration on the server. Maybe via a bridge. In this scenario the client would only need a dialpad as an ui element to start calls. The already existing WebRTC capability of Riot could be used to transfer the audio to the server. The server would do the bridging into the SIP world.

Doing SIP integration on the server should allow much easier adoption on all clients/platforms (Android, iOS, Desktop) as you only need the dialpad as an ui element on all clients.

Anybody interested in SIP integration, please talk to me. If there is enough interested maybe together we will be able to even fund this feature.

it can also be done very quickly with a simple bot where you send a message containing the number to be dialed and the bot calls you and acts as a "proxy" for the SIP call.