From 9d6695f7d15f529a53cbed5782c9e04fb3bad43a Mon Sep 17 00:00:00 2001 From: horse69 Date: Sun, 28 Oct 2012 01:51:46 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@847 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/voiplines.html | 2 +- mini-asterisk-gui2/voiplines.js | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) 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; -- 2.25.1
 

VOIP Line

VOIP Line