WebTrit Dialer is a reference implementation of the client Web app of the WebTrit system. It implements basic call functionality with contacts and history viewing functionality.
WebTrit Dialer is implemented based on the WebTrit Signaling TypeScript client and Vue.js with Vuetify.
The project uses Git LFS extension, which is why to operate with the repository Git LFS extension must be installed in a developer environment.
cp .env.example .env.local
npm install
cd ./local_modules/peer-connection
npm install
npm run build
npm link
cd ../../
npm link peer-connection
npm run serve
npm run build
npm run test:unit
npm run test:e2e
npm run lint
WebTrit Dialer docker image is NGINX Web server with built WebTrit Dialer code.
Env variables descriptions:
VUE_APP_PUBLIC_PATH
- optional application bundle base URL (without/
at the end) (examples:/sub-path
)VUE_APP_GTM
- optional Google Tag Manager container IDs (examples:GTM-xxxxxx
,GTM-xxxxxx, GTM-yyyyyy
)VUE_APP_DEMO_BEHAVIOUR
- select log-in variation- unset variable or
false
ordisable
- only by phone number of existing account true
orenable
- only by user email mapped to a demo accountmix
orboth
- allow both previous variants
- unset variable or
VUE_APP_WEBTRIT_APP_NAME
- branding app nameVUE_APP_WEBTRIT_APP_SUBNAME
- branding app sub-nameVUE_APP_WEBTRIT_COMPANY_NAME
- branding company nameVUE_APP_WEBTRIT_COMPANY_URL
- branding company URLVUE_APP_WEBTRIT_COMPANY_LOGO_IMG_SRC
- branding company image source path related to the directory with overwritten and added files (optional)VUE_APP_WEBTRIT_CORE_URL
- WebTrit Core URLVUE_APP_WEBTRIT_NAVIGATION_DRAWER_MINIMIZING
- can the main navigation menu be minimized, default:true
Env variable of the set color palette. Specified through HEX color. Some colors have a default value.
VUE_APP_COLOR_PRIMARY
- default:#F5841F
VUE_APP_COLOR_SECONDARY
- default:#F5841F
VUE_APP_COLOR_ACCENT
- default:#F5841F
VUE_APP_COLOR_SURFACE
- default:#4C86B7
VUE_APP_COLOR_ERROR
VUE_APP_COLOR_INFO
VUE_APP_COLOR_SUCCESS
VUE_APP_COLOR_WARNING
VUE_APP_COLOR_ANCHOR
Add to query parameter mode
to activate additional functionality.
Currently, it supports the following values:
mst
- activate configuration related to Microsoft Teams (such as prevent navigation drawer minimization), ex.:dailer.webtrit.com?mode=mst
;
docker build --tag webtrit-dialer .
docker run --detach --restart always \
--name webtrit-dialer \
--env VUE_APP_WEBTRIT_COMPANY_NAME="WebTrit" \
--env VUE_APP_WEBTRIT_CORE_URL="https://core.webtrit.com" \
-p 127.0.0.1:4001:80 \
--mount type=bind,source=<directory with overwrited and added files>,target=/usr/share/nginx/html_overwrite \
webtrit-dialer
WebTrit Dialer docker image built automatically by GitHub Actions with next tags:
main
- last pushedmain
branchlatest
- last pushed tagx.y.z
- corresponding pushed tagx.y
- automatically stripped pushed tag to collect last patch of respective tags