pause

after a long period of development i have to pause and get on with other things. so that i don’t forget here are the things that need doing position the external speaker for optimum effect ensure that a “please wait” message precedes the relevant connection figure out how to pre set jack with all the relevant connections automating the recording of broadcasts polish existing extension stories and create more create

percent character problems

If the % percent character is included in SSML to be rendered by Python it has to be formatted correctly otherwise it throws things out when used in conjunction with %d variables. i don’t yet know how to get round that issue

MOH with live stream

is possible! – add this to MOH Config in etc/asterisk [default]mode=customapplication=/etc/alternatives/mpg123 -q -s -m -r 7000 -f 8192 -b 0 -@ http://81.136.203.155:7000/di_stream.mp3

jack patchbay

another non intuitive system – i have created a file but the patch cables don’t appear to be complete in the visualisation having said that it seems to work – created a new patchbay with the darkice stream connectivity

icecast2 and darkice

spent half a day configuring the live broadcast – icecast and darkice can be installed via synaptic – then there is a bit of configuring of files required, (details in darkice folder) but not too arduous this is the URL for the stream http://81.136.203.155:7000/di_stream.mp3 in theory the same code can be used in the MOH config file mode=customapplication=/usr/local/bin/mpg123 -q -s –mono -r 8000 -f 8192 -b 0 -@ http://81.136.203.155:7000/di_stream.mp3 but

backups

finally managed to figure out clonezilla – so i have a complete backup of the system on a separate machine – clonezilla is not user friendly!! https://clonezilla.org/

more scripts

Three new scripts give bespoke configuration for specific extensions 0.py – for calls to operator note the requirement to specify encoding as UTF 8 in order for XML to be rendered correctly and note the crazy number of quote marks required 200.py – this deals with user recordings – note it generates the directory ready for PD to make the recording – there has got to be a better way

spot effects and spigots

Resolved an issue whereby spot effect wav files triggered by ssml and processed by cerevoice didn’t work. it was all do with the format 48,000 hrz mono had a depressing time failing to figure out the logic to process and block midi note on and note off – resorted to asking on the pure dat forum and the solution was stupidly straight forward . i still dont know why my

more python and pd

Uncovered some errors made with my python script all related to not closing files. Here is the revised code developed a simple way of random playing of trigger files from the PIR – not yet complete.