RestComm / sbc

Restcomm Session Border Controller
http://www.restcomm.com/
23 stars 27 forks source link

WEBRTC INVITE Authentication not working on termination #68

Open ocarriles opened 7 years ago

ocarriles commented 7 years ago

idem

ocarriles commented 7 years ago

@deruelle @atsakiridis WebRTComm.js is not handling that, while it handles REGISTER re-auth nicely. is it a bug? or am I missing something?

deruelle commented 7 years ago

no it should work. It works for us in using it in Restcomm Connect. Do you use the latest version ?

ocarriles commented 7 years ago

Registration deals with 401/407 responses in order to re-authenticate

Invites just deal with 407.

My use case is returning 401 Unauthorized

deruelle commented 7 years ago

ah please create an issue in https://github.com/RestComm/webrtcomm

ocarriles commented 7 years ago

@deruelle https://github.com/RestComm/webrtcomm/issues/90

done

ocarriles commented 7 years ago

@deruelle @atsakiridis The new pull is ready file is already patched. I did not even make a regression test; just works for my use case. Regards