diff --git a/conf/directory/default/sip.broadvoice.com.noload b/conf/directory/default/sip.broadvoice.com.noload new file mode 100644 index 0000000000..dd75257a5a --- /dev/null +++ b/conf/directory/default/sip.broadvoice.com.noload @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/sipsetup b/scripts/sipsetup index cf3eb586f4..2cc0a9ac4c 100755 --- a/scripts/sipsetup +++ b/scripts/sipsetup @@ -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})) {