allow username with spaces
This commit is contained in:
parent
a79e224f4b
commit
55773f594e
@ -1,5 +1,4 @@
|
|||||||
|
|
||||||
|
|
||||||
var bbbAudioConference;
|
var bbbAudioConference;
|
||||||
var currentSession;
|
var currentSession;
|
||||||
|
|
||||||
@ -26,7 +25,7 @@ function webrtc_call(username, voiceBridge, server, callback) {
|
|||||||
console.log("user " + username + " calling to " + voiceBridge);
|
console.log("user " + username + " calling to " + voiceBridge);
|
||||||
|
|
||||||
var configuration = {
|
var configuration = {
|
||||||
uri: 'sip:' + username + '@' + server,
|
uri: 'sip:' + escape(username) + '@' + server,
|
||||||
// password: freeswitchPassword,
|
// password: freeswitchPassword,
|
||||||
// ws_servers: 'wss://' + server + ':7443',
|
// ws_servers: 'wss://' + server + ':7443',
|
||||||
ws_servers: 'ws://' + server + ':5066',
|
ws_servers: 'ws://' + server + ':5066',
|
||||||
|
Loading…
Reference in New Issue
Block a user