The VUC configuration is stored in the App.Settings.config file located in the VUC's directory.
<
appSettings
>
<!--
######################################################################
General
######################################################################
-->
<!-- VoipSwitch WebPhone URL, points at websocket SIP proxy on Tomcat,
recomended is wss:// because of security reason
-->
<!-- Voipswitch EMCI API URL -->
<!-- Voipswitch EMCI API IP - for authentication of requests coming from the EMCI -->
<
add
key
=
"RcsApiIp"
value
=
"55.44.22.101"
/>
<!-- Voipswitch EMCI API user agent identifier -->
<
add
key
=
"RcsIdentifier"
value
=
"vippie"
/>
<!-- Off net phone number prefix for calls beyond voipswitch -->
<
add
key
=
"OffNetPrefix"
value
=
""
/>
<!-- On net phone number prefix -->
<
add
key
=
"OnNetPrefix"
value
=
""
/>
<!-- VoipSwitch services URL used by Fax module -->
<!-- VoipSwitch OnlineShop URL for online payments -->
<!-- VoipSwitch Call Recording Service URL -->
<!-- flag if email can be used as login -->
<
add
key
=
"EmailAsLogin"
value
=
"false"
/>
<!-- template of the email sent when a new sub account is created fom Users menu -->
<add key="PbxSignupWelcomeSubAccountMessageBody" value="file://Content/CompanySignup/welcome_email_subaccount.html"/>
<!--
######################################################################
Greetings transcoding
######################################################################
-->
<!-- Voipswitch VoipBox storage path -->
<
add
key
=
"voipbox_storage"
value
=
"d:\vs\uploads\voipbox"
/>
<!-- ffmpeg.exe path, ffmpeg has to be installed on the same machine as VUC Portal -->
<
add
key
=
"ffmpegPath"
value
=
"d:\portable\ffmpeg\bin\ffmpeg.exe"
/>
<!-- ffmpeg transcoding settings -->
<
add
key
=
"ffmpegOptionsGreetings"
value
=
"-i "{0}" -vn -ar 44100 -ac 1 -f mp3 "{1}""
/>
<!--
######################################################################
VoipSwitch Provisioning Server
######################################################################
-->
<!-- VoipSwitch Provisioning Server URL -->
<!-- provisioning template Id used by adding devices or softphones in Users or in Signup,
templates are created in Provisioning Server Web Application -->
<
add
key
=
"ProvisioningTemplateId"
value
=
"1"
/>
<!-- Provisioning Server providers login -->
<
add
key
=
"ProvisioningLogin"
value
=
"u1"
/>
<!-- Provisioning Server providers password -->
<
add
key
=
"ProvisioningPassword"
value
=
"u1"
/>
<!--
######################################################################
SIPml
######################################################################
-->
<!-- voipswitch address, ex: sip.domain.com -->
<
add
key
=
"SipmlSipServerAddress"
value
=
"sip.domain.com"
/>
<!-- voipswitch port, ex: 5060 -->
<
add
key
=
"SipmlSipServerPort"
value
=
"5060"
/>
<!-- SIPml websocket URL, points at SIP proxy of webrtc2sip application -->
<!-- ICE configuration in JSON, ex: [{ url: 'stun:stun.l.google.com:19302'}] -->
<!-- SIPml debug level in browsers log, 'info' (more details) or 'error' (less details) -->
<
add
key
=
"SipmlDebugLevel"
value
=
"error"
/>
<!--
######################################################################
Reset password
######################################################################
-->
<!-- email content,
if EmailAsLogin flag is set, use [EMAIL] instead [LOGIN]-->
<
add
key
=
"en-US.PasswordReset.Body"
value
=
"Your new password: [PASSWORD], login [LOGIN]"
/>
<!-- email title -->
<
add
key
=
"en-US.PasswordReset.Title"
value
=
"New password for VUC"
/>
<!-- email text format -->
<
add
key
=
"en-US.PasswordReset.UseHtml"
value
=
"false"
/>
<!-- password generators options: -->
<
add
key
=
"en-US.PasswordReset.UseNumbers"
value
=
"true"
/>
<
add
key
=
"en-US.PasswordReset.UseLetters"
value
=
"true"
/>
<
add
key
=
"en-US.PasswordReset.UseLowerCaseLetters"
value
=
"true"
/>
<
add
key
=
"en-US.PasswordReset.Length"
value
=
"10"
/>
<!--
######################################################################
PBX company signup
######################################################################
-->
<
add
key
=
"PbxSignupPlan1Id"
value
=
"6"
/>
<
add
key
=
"PbxSignupPlan2Id"
value
=
"6"
/>
<
add
key
=
"PbxSignupPlan3Id"
value
=
"6"
/>
<
add
key
=
"PbxSignupPayment"
value
=
"PayPal"
/>
<
add
key
=
"PbxSignupTransactionType"
value
=
"plan_subscription"
/>
<!--
######################################################################
PBX company trial signup
######################################################################
-->
<
add
key
=
"PbxSignupPlanFreeId"
value
=
"6"
/>
<
add
key
=
"PbxSignupFreeMaxClients"
value
=
"5"
/>
<
add
key
=
"PbxSignupRegisterMessageTitle"
value
=
"VUC new account confirmation"
/>
<
add
key
=
"PbxSignupRegisterMessageBody"
value
=
"file://Content/CompanySignup/confirmation_email.html"
/>
<
add
key
=
"PbxSignupWelcomeMessageTitle"
value
=
"Welcome to VUC"
/>
<
add
key
=
"PbxSignupWelcomeMessageBody"
value
=
"file://Content/CompanySignup/welcome_email.html"
/>
<!--
######################################################################
required by MVC 4
######################################################################
-->
<
add
key
=
"enableSimpleMembership"
value
=
"false"
/>
<
add
key
=
"webpages:Version"
value
=
"2.0.0.0"
/>
<
add
key
=
"webpages:Enabled"
value
=
"false"
/>
<
add
key
=
"PreserveLoginUrl"
value
=
"true"
/>
<
add
key
=
"ClientValidationEnabled"
value
=
"true"
/>
<
add
key
=
"UnobtrusiveJavaScriptEnabled"
value
=
"true"
/>
</
appSettings
>
<!-- flag if email can be used as login --> < add key = "EmailAsLogin" value = "true" /> <!-- flag if email can be used as login in readable format --> < add key = "EmailAsLoginReadable" value = "false" /> |
This setting definthe account login format:
User accounts will be created with standard logins - usernames. When a use logs in the VUC will check the login field from the voipswitch.clientshared table.
Users' emails will be used to create logins, for example, an email "tom@voipswitch.com" will be converted to "tom_voipswitch.com" .
Logins will be created by applying a hashing function to the user's email address. The MySQL function sha('tom@voipswitch.om') is used.