Compare commits

..

No commits in common. "af8cd3c4ca7ba1a396c7c631ac3e9e9697d5acb6" and "1de9a8ba91da4f556ce445f4c03de5fc525adc21" have entirely different histories.

5 changed files with 2 additions and 13 deletions

View file

@ -61,7 +61,6 @@ in {
mailboxGreeting = ./greetings/anrufbeantworter.wav; mailboxGreeting = ./greetings/anrufbeantworter.wav;
phones = { phones = {
"jannel-mobile" = { model = "sip-client"; password = "changeme101"; }; "jannel-mobile" = { model = "sip-client"; password = "changeme101"; };
"f47f35a3fb72" = { model = "cisco-9971"; label = "Jannelfon"; password = "changeme101"; };
}; };
}; };
}; };

View file

@ -89,7 +89,6 @@ in {
"= /directory-list.xml" = { alias = "${directory.listFile}"; extraConfig = "default_type text/xml;"; }; "= /directory-list.xml" = { alias = "${directory.listFile}"; extraConfig = "default_type text/xml;"; };
"= /intercom.xml" = { alias = "${directory.intercomFile}"; extraConfig = "default_type text/xml;"; }; "= /intercom.xml" = { alias = "${directory.intercomFile}"; extraConfig = "default_type text/xml;"; };
"= /contacts.json" = { alias = "${directoryJson}"; extraConfig = ''default_type application/json; add_header Access-Control-Allow-Origin "*";''; }; "= /contacts.json" = { alias = "${directoryJson}"; extraConfig = ''default_type application/json; add_header Access-Control-Allow-Origin "*";''; };
"= /auth" = { extraConfig = ''default_type text/plain; return 200 "AUTHORIZED";''; };
"/" = { "/" = {
root = "${diagram.webRoot}"; root = "${diagram.webRoot}";
extraConfig = lib.optionalString (!hasRuntimeSecrets) "index index.html;"; extraConfig = lib.optionalString (!hasRuntimeSecrets) "index index.html;";

View file

@ -14,14 +14,6 @@ let
hasMultiLine = true; # separate L2 line for family/shared DID hasMultiLine = true; # separate L2 line for family/shared DID
codecs = [ "g722" "alaw" "ulaw" "ilbc" ]; codecs = [ "g722" "alaw" "ulaw" "ilbc" ];
}; };
"cisco-9971" = {
endpointTemplate = "endpoint-cisco-8961";
maxContacts = 1;
hasProvisioning = true;
hasIntercom = true;
hasMultiLine = true;
codecs = [ "g722" "alaw" "ulaw" "ilbc" ];
};
"sip-client" = { "sip-client" = {
endpointTemplate = "endpoint-generic"; endpointTemplate = "endpoint-generic";
maxContacts = 1; maxContacts = 1;

View file

@ -195,7 +195,7 @@ in {
<backgroundImageAccess>true</backgroundImageAccess> <backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>2</callLogBlfEnabled> <callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile> </commonProfile>
<!-- <loadInformation>sip8961.9-4-2ES-14</loadInformation> --> <loadInformation>sip8961.9-4-2ES-14</loadInformation>
<vendorConfig> <vendorConfig>
<webAccess>0</webAccess> <webAccess>0</webAccess>
<settingsAccess>1</settingsAccess> <settingsAccess>1</settingsAccess>
@ -213,7 +213,7 @@ in {
<winCharSet>utf-8</winCharSet> <winCharSet>utf-8</winCharSet>
</userLocale> </userLocale>
<deviceSecurityMode>1</deviceSecurityMode> <deviceSecurityMode>1</deviceSecurityMode>
<authenticationURL>http://${serverAddress}:${toString directoryPort}/auth</authenticationURL> <authenticationURL></authenticationURL>
<directoryURL>http://${serverAddress}:${toString directoryPort}/directory.xml</directoryURL> <directoryURL>http://${serverAddress}:${toString directoryPort}/directory.xml</directoryURL>
<messagesURL /> <messagesURL />
<servicesURL></servicesURL> <servicesURL></servicesURL>

View file

@ -1 +0,0 @@
import ./cisco-8961.nix