added these from Robert La Ferla. Thank you.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7187 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2008-01-12 15:19:49 +00:00
parent 0fc1cd534a
commit 26d213213b
2 changed files with 47 additions and 3 deletions
+14 -3
View File
@@ -17,7 +17,8 @@ my $providers = {
"3" => "IS",
"4" => "AL",
"5" => "SB",
"6" => "VU"
"6" => "VU",
"7" => "BV"
};
@@ -29,6 +30,14 @@ my $FWD = {
"dialprefix" => "1-393"
};
my $BROADVOICE = {
"type" => "network",
"register" => "true",
"fields" => [username, password, extension],
"domain" => "sip.broadvoice.com",
"dialprefix" => "1-393"
};
my $SIPHONE = {
"type" => "network",
"register" => "true",
@@ -71,7 +80,8 @@ my $TEMPLATES = {
"IS" => $IDEASIP,
"AL" => $ASTERLINK,
"SB" => $SIPBROKER,
"VU" => $VOIPUSER
"VU" => $VOIPUSER,
"BV" => $BROADVOICE
};
print "\n" x 60;
@@ -88,6 +98,7 @@ sub welcome {
4. Configure Asterlink.com
5. Configure SIPBroker.com
6. Configure voipuser.org
7. Configure broadvoice.com
X. Exit
@@ -98,7 +109,7 @@ WELCOME
chomp($i);
if ($i =~ m/X|x/) {
print "Thanks you!\n"; exit;
} elsif ($i > 6) {
} elsif ($i > 7) {
print "Invalid Choice\n"; &welcome;
} else {
if (exists($providers->{$i})) {