added 'none' option to voip lines
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 4 Feb 2010 23:31:07 +0000 (23:31 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 4 Feb 2010 23:31:07 +0000 (23:31 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@142 01035d8c-6547-0410-b346-abe4f91aad63

mini-asterisk-gui/README.txt
mini-asterisk-gui/cgi-bin/voiplines.pl
mini-asterisk-gui/cgi-bin/voiplines.sh
mini-asterisk-gui/etc/asterisk/sip.conf

index 45665f6c5b7ee8cbca933f1614eef04f4deea2ec..ec9e4e93dfb56789199bebc2aee238a191076bc3 100644 (file)
@@ -44,10 +44,13 @@ There are http://www.voip-info.org/wiki/view/Asterisk+GUI[a lot of
 Asterisk GUIs] out there already.  So why do we need another one?
 
 Well I needed an Asterisk GUI that was very easy to use for the
-link:ip04.html[IP0X] family.  Something that would lower the
-technical skill required to install and maintain an Asterisk Phone
+link:ip04.html[IP0X] family.  Something that would lower
+the technical skill required to install and maintain an Asterisk Phone
 system.  Something my wife and kids could use.
 
+The IP0X can't run a LAMP stack very well so the GUI had to be light
+weight.
+
 I was also interested in exploring the ease-of-use meme, as we have
 been discussing it a lot on the http://villagetelco.org[Village Telco]
 project.  Just how easy can we make Asterisk to use? So I scratched
@@ -133,6 +136,9 @@ probably OK an on IP0X but not a good idea on an x86.  I am not happy
 with this security model and would appreciate any suggestions on how
 to improve it.
 
+Mini Asterisk uses HTML, CSS, Javascript, CGI, Shell scripting, and
+Perl.
+
 [[install]]
 Installation
 ------------
index c910fb6347bedc5dfc8daec1d9e574bd9f0d4972..68318edb23837f694df092eed971e3e66e3a4fcc 100644 (file)
@@ -14,6 +14,9 @@ my %user = ();     # user keyed on provider
 my %pass = ();     # password keyed on provider
 my %host = ();     # host name keyed on provider
 
+my $provider_current = "none";
+push (@providers, "none");
+
 while (<SIP>) { 
 
     # start of any stanza switches off parsing.  It may get switched
index c7240ed61086857eda4a25655de17d05e0a89344..410394001d1d208bdde42c73e8e68403efaf3e8b 100644 (file)
@@ -57,7 +57,12 @@ perl ./voiplines.pl
 
 cat <<EOF
       <tr><td>&nbsp</td></tr>
-      <tr><td colspan="2">Refresh your browser to update Voip Line status </td></tr>
+
+      <tr><td colspan="2">Sometime it takes a few seconds to connect
+                          your Voip Line.  After clicking OK refresh
+                          your browser to update Voip Line status.
+                          </td></tr>
+
       <tr><td>&nbsp</td></tr>
       <tr><td><input type="submit" value="OK"></td></tr>
 
index 82a98dea52545b999f9b6c87de9700604c56db17..94b565c3ae451ae2cb329a59d291fbdeedd38eda 100644 (file)
@@ -536,18 +536,30 @@ qualify=yes
 
 ; Pre-configured mini-asterisk SIP trunks
 
-[user] ; "Generic" mini-asterisk do not remove this comment
-type=friend
-context=default
-username=user
-secret=password
-host=192.168.1.28
-canreinvite=no
-disallow=all
-allow=ulaw,g729
-qualify=yes
+;[user] ; "SIP-NAT" mini-asterisk do not remove this comment
+;type=friend
+;context=default
+;username=user
+;secret=password
+;host=192.168.1.28
+;canreinvite=no
+;disallow=all
+;allow=ulaw,g729
+;qualify=yes
+;nat=yes
+
+;[user] ; "SIP" mini-asterisk do not remove this comment
+;type=friend
+;context=default
+;username=user
+;secret=password
+;host=192.168.1.28
+;canreinvite=no
+;disallow=all
+;allow=ulaw,g729
+;qualify=yes
 
-;[oeg] ; "OEG" mini-asterisk do not remove this comment
+;[user] ; "OEG" mini-asterisk do not remove this comment
 ;host=voip.oeg.com.au
 ;secret=pass
 ;username=your user number