mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
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:
+14
-3
@@ -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})) {
|
||||
|
||||
Reference in New Issue
Block a user