From 55773f594eed3e0eff5af47ec8cbd6fcf713a56a Mon Sep 17 00:00:00 2001 From: Gustavo Salazar Date: Mon, 24 Mar 2014 16:00:13 -0500 Subject: [PATCH] allow username with spaces --- .../resources/prod/lib/bbb_webrtc_bridge_jssip.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_jssip.js b/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_jssip.js index a82fa6d165..cac05ace3d 100644 --- a/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_jssip.js +++ b/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_jssip.js @@ -1,5 +1,4 @@ - 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',