Hi ! I would like to create a phone app with flutter using dart sip_ua ( = jssip). So my UASettings are :
settings.webSocketUrl = ("ws://xxx..xx.xx.xxx:8088/ws"); settings.uri = ("sip:email@example.com"); settings.password = "******"; settings.dtmfMode = DtmfMode.INFO; settings.webSocketSettings.extraHeaders = _wsExtraHeaders; _helper.start(settings);
My web sockets is working, the connection is established but the server send me a 401 sip code and a 403 sip code (unauthorized then forbidden). I don’t know why because Asterisk 11 support WebSockets and I enabled http server. I’m using FreePBX GUI to configure asterisk file. My password and username are good. Someone can help me ? Thanks !