Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes 'undefined' default SIP number.

paweldomasb7a229941c31
diff --git a/app.js b/app.js
index 43254e5da3..3f0ae34499 100644
--- a/app.js
+++ b/app.js
@@ -1516,10 +1516,13 @@ $(document).bind("selectedendpointchanged", function(event, userJid) {
function callSipButtonClicked()
{
+ var defaultNumber
+ = config.defaultSipNumber ? config.defaultSipNumber : '';
+
messageHandler.openTwoButtonDialog(null,
'<h2>Enter SIP number</h2>' +
'<input id="sipNumber" type="text"' +
- ' value="' + config.defaultSipNumber + '" autofocus>',
+ ' value="' + defaultNumber + '" autofocus>',
false,
"Dial",
function (e, v, m, f) {
diff --git a/config.js b/config.js
index 4e1bec2119..7c5946894d 100644
--- a/config.js
+++ b/config.js
@@ -12,6 +12,7 @@ var config = {
useNicks: false,
bosh: '//jitsi-meet.example.com/http-bind', // FIXME: use xep-0156 for that
clientNode: 'http://jitsi.org/jitsimeet', // The name of client node advertised in XEP-0115 'c' stanza
+ //defaultSipNumber: '', // Default SIP number
desktopSharing: 'ext', // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to disable.
chromeExtensionId: 'diibjkoicjeejcmhdnailmkgecihlobk', // Id of desktop streamer Chrome extension
desktopSharingSources: ['screen', 'window'],