From: horse69 Date: Sun, 28 Oct 2012 01:51:46 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@847 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=9d6695f7d15f529a53cbed5782c9e04fb3bad43a;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@847 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/voiplines.html b/mini-asterisk-gui2/voiplines.html index 75047608..58c17b82 100644 --- a/mini-asterisk-gui2/voiplines.html +++ b/mini-asterisk-gui2/voiplines.html @@ -28,7 +28,7 @@ - + diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index b5d88463..1c2a362c 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -42,22 +42,23 @@ function initialisePage() { function onClickApply() { -//take provider, username, password and host. + // All this stuff is synchronous. Must happen in order specified. + // You will need to cascade calls to downloadUrl -// Save old sip.conf -// Make new sip.conf with provider uncommented + // take provider, username, password and host. -// Modify extensions.conf for new provider -// asterisk dialplan reload - -// asterisk sip reload + // 1. Save old sip.conf + // 2. Make new sip.conf with provider uncommented + // 3. Modify extensions.conf for new provider + // 4. asterisk dialplan reload + // 5. asterisk sip reload } function changeProvider() { -// fill the host and username fields based on selection + // fill the host and username fields based on selection var selection = document.getElementById('provider').value;
 

VOIP Line

VOIP Line