Generate voicemail_selfphoneng.conf (03 §7) with one mailbox per extension that has voicemail on, turn on ARG3 in sp-sub-user, and add *97/*98 to sp-featurecodes (which replaces the pending placeholder). Endpoints with a mailbox get mwi_subscribe_replaces_unsolicited so phones that SUBSCRIBE for MWI aren't refused with a 500. A new test:asterisk check leaves a message, sees MWI on a baresip phone, plays it with *97 and sees MWI turn off. Task: M4-T1
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"name": "selfphoneng",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "AGPL-3.0-or-later",
|
|
"type": "module",
|
|
"packageManager": "pnpm@11.10.0",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"dev": "pnpm --parallel --filter @selfphoneng/api --filter @selfphoneng/web dev",
|
|
"build": "pnpm -r build",
|
|
"test": "vitest run",
|
|
"lint": "eslint . && prettier --check .",
|
|
"format": "prettier --write .",
|
|
"typecheck": "pnpm -r typecheck",
|
|
"test:asterisk": "node apps/api/test/asterisk/load-golden.mjs && node --conditions=source apps/api/test/asterisk/call-test.ts && node --conditions=source apps/api/test/asterisk/trunk-test.ts && node --conditions=source apps/api/test/asterisk/voicemail-test.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/node": "^24.19.2",
|
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
"eslint": "^10.13.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"globals": "^17.13.0",
|
|
"prettier": "^3.9.10",
|
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
"typescript-eslint": "^8.71.2",
|
|
"vitest": "^5.0.5"
|
|
}
|
|
}
|