Mycroft AI in cloud via SIP
Whilst this project was successful in connecting the audio via Sip to Mycroft, it was unusable due to codec quality issue and delayed loopback. manually entering command via the cli were audible to acceptable level, the input for mycroft would often become distorted after the keyword was recognised, perhaps the beep it plays as the user is talking interferes like a shared intercom. the voip-skill that used baresipy no longer works, so resorted to using baresip directly, perhaps this is where the effort needs to be spent to improve the audio quality. Not all the modules were available to baresip, perhaps the compile options were incorrect.
no longer exploring a cloud solution, refocus efforts on an edge solution in local hardware.
docker build -t "mcc:latest" .
docker run -it --rm --entrypoint=/bin/bash mcc:latest
- baresipy fails to connect upstream log
- create /root/.baresip/accounts
- test 'baresip' Failed (log matches that of baresipy log error)
- test 'baresip -f /root/.baresip' Worked
- PulseAudio server in container
- Remove creds and rotate keys.
- https://community.mycroft.ai/t/mycroft-as-sip-client-smart-voice-enabled-ivr/6736/3
- https://github.com/JarbasSkills/skill-voip
- https://github.com/OpenJarbas/baresipy
- https://github.com/baresip/baresip
- https://github.com/baresip/re
- https://github.com/baresip/rem
- https://hub.docker.com/r/mycroftai/docker-mycroft (intended to be used as client in container to attach to host audio)
- https://github.com/MycroftAI/docker-mycroft.git
- https://account.mycroft.ai/
- https://app.sipgate.com/
- https://github-wiki-see.page/m/mviereck/x11docker/wiki/Container-sound:-ALSA-or-Pulseaudio
- https://github-wiki-see.page/m/baresip/baresip/wiki/Accounts
account.so b2bua.so dtls_srtp.so httpd.so mixausrc.so portaudio.so stdio.so v4l2.so alsa.so cons.so ebuacip.so httpreq.so mixminus.so presence.so stun.so vidbridge.so aubridge.so contact.so echo.so ice.so multicast.so rtcpsummary.so syslog.so vidinfo.so aufile.so ctrl_dbus.so evdev.so jack.so mwi.so selfview.so turn.so vidloop.so auloop.so ctrl_tcp.so fakevideo.so l16.so natpmp.so serreg.so uuid.so vumeter.so ausine.so debug_cmd.so g711.so menu.so netroam.so srtp.so v4l2_codec.so