Removes default SIP number.
This commit is contained in:
parent
e89ab0d82e
commit
f61accc812
5
app.js
5
app.js
|
@ -1351,8 +1351,7 @@ $(document).bind('fatalError.jingle',
|
|||
function callSipButtonClicked()
|
||||
{
|
||||
$.prompt('<h2>Enter SIP number</h2>' +
|
||||
'<input id="sipNumber" type="text"' +
|
||||
' value="' + config.defaultSipNumber + '" autofocus>',
|
||||
'<input id="sipNumber" type="text" value="" autofocus>',
|
||||
{
|
||||
persistent: false,
|
||||
buttons: { "Dial": true, "Cancel": false},
|
||||
|
@ -1366,7 +1365,7 @@ function callSipButtonClicked()
|
|||
if (v)
|
||||
{
|
||||
var numberInput = document.getElementById('sipNumber');
|
||||
if (numberInput.value)
|
||||
if (numberInput.value && numberInput.value.length)
|
||||
{
|
||||
connection.rayo.dial(
|
||||
numberInput.value, 'fromnumber', roomName);
|
||||
|
|
|
@ -16,7 +16,6 @@ var config = {
|
|||
minChromeExtVersion: '0.1', // Required version of Chrome extension
|
||||
enableRtpStats: true, // Enables RTP stats processing
|
||||
openSctp: true, // Toggle to enable/disable SCTP channels
|
||||
//defaultSipNumber: '20669', //Default SIP number used in call dialog
|
||||
// channelLastN: -1, // The default value of the channel attribute last-n.
|
||||
// useRtcpMux: true,
|
||||
// useBundle: true,
|
||||
|
|
Loading…
Reference in New Issue