diff --git a/app.js b/app.js index 43254e5da..3f0ae3449 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, '

Enter SIP number

' + '', + ' value="' + defaultNumber + '" autofocus>', false, "Dial", function (e, v, m, f) { diff --git a/config.js b/config.js index 4e1bec211..7c5946894 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'],