Skip to content
Snippets Groups Projects
Commit 55773f59 authored by Gustavo Salazar's avatar Gustavo Salazar
Browse files

allow username with spaces

parent a79e224f
No related branches found
No related tags found
No related merge requests found
var bbbAudioConference;
var currentSession;
......@@ -26,7 +25,7 @@ function webrtc_call(username, voiceBridge, server, callback) {
console.log("user " + username + " calling to " + voiceBridge);
var configuration = {
uri: 'sip:' + username + '@' + server,
uri: 'sip:' + escape(username) + '@' + server,
// password: freeswitchPassword,
// ws_servers: 'wss://' + server + ':7443',
ws_servers: 'ws://' + server + ':5066',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment