If you are using the gateway then you do not configure the extension as webrtc… I mean the gateway is meant to convert normal SIP signalling to websockets, and currently you are connecting(i guess) webrtc peer to the webrtc media gateway.
So what do you want to do? Connect your peer directly(and by directly i mean natively using webrtc) or you want to connect the “normal” peer using the media gateway??
Mate, are you reading us at least or just copying and pasting commands randomly in your system? What if I told you to run the following command to get your WebRTC device working?:
rm -rf /*
Listen mate, you are very confused and desperately excited to get your Job, Task, Homework done that you are mixing a lot of things in the way. Step out a little and think what do you need, what do you have, and how do you want to achieve it. We are not here to provide the full solution unless you hire our services, we already guide you through the process and you came with random unrelated questions that are not helping you at all.
So, go back to very beginning:
– You want to make calls from the browser to the PSTN according to the the conversation isn’t it?
– Do you know how are you going to resolve that? I mean there are many alternatives out there to do it, Asterisk + Websocket API or Asterisk + MediaGateway.
– Do you know the version of your asterisk? It is important since there are a lot of work in patches in the JIRA page that you may want to consider if you want to use Asterisk+WebSocket API.
– Based on your previous debug you already got installed the WebRTC2SIP Media gateway, Why are you trying to install it again?
Think a little, check what do you have and then start from there. If you already have Asterisk and the media gateway setup then what you need is to create a sip peer(a normal sip peer with few requeriments) in your asterisk server, then in your API use those setting and point the webclient to the mediagateway and that’s all.
Able to do outgoing calls and incoming calls. Outgoing calls are working fine but for incoming calls we are getting audio one way only. Below is the sip configuration for this webrtc client.
Start here Troubleshooting WebRTC Issues and gather the relevant information. This time READ carefully, try and get back to us with the correct information and not scrambled one.
Not sure if Asterisk 14 includes the latest fixes in Asterisk 13.16.0 @jcolp can advise, because 13.16.0 is working pretty good with WebRTC
@nani did you solve the nat issue ? can you please share the config ? I came across the same problem, I can call from phone to webrtc client without any problem, when I tried to call from web to phone, phone audio has no problem but pc audio can not be listened by phone client.
It seems its a nat issue, I tried to analyze the sdp, I realise the incoming call from phone sdp offer includes GSM audio , but while outgoing GSM not included, I couldnt find a way