How to use webrtc with Sip Realtime Database

hello please help me I want to use webrtc with sip real time

I am using the following tables :
Asterisk avec ODBC vers Mysql et gestion des utilisateurs - Télécoms et Réseaux

extconfig.conf

[settings]
sipusers => odbc,asterisk,sipusers
sippeers => odbc,asterisk,sipusers
sipregs => odbc,asterisk,sipregs
voicemail => odbc,asterisk,voicemail
queues => odbc,asterisk,queue_table
queue_members => odbc,asterisk,queue_member_table

You can find some older documentation for setting up WebRTC using chan_sip, like this one:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support

Or this tutorial for setting up WebRTC using SIPML5 which contains chan_sip configurations:
https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=40818097&navigatingVersions=true

I have not tested, but would think you can use the setvar column in sipusers table to set the WEbRTC specific parameters. You can use semicolon in the setvar column to separate the parameters, such as: avpf=yes;force_avp=yes;icesupport=yes

These webrtc parameters are built into to the pjsip tables, by the way, but if you need to stick with chan_sip then hopefully that info points you in a good direction.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.