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.

on leave

I have been on leave which has provided a good amount of extra playtime. I have given up with app_jack – i believe it would probably provide the best way of accessing the telephone transmitter and receiver but i just cannot figure it – it may be one for future development. The tts_callback modifications that give the cue points to asterisk appear to work well and can be used to

trigering a ring

Followed a blind alley thought the problem with triggering a ring was a context issue in the dialplan with the sip and context both having the same name “PRIMO” – changed the context to K6_PRIMO – no difference. Then i thought i had solved this when i discovered that for some reason the telephone i was using would not ring when connected to one of the two ATA’s – strangely

PD externals paths

still struggling to get this to be logical. the two different versions for linux 46 and 50 have different paths to externals – some externals seem to require a path as part of the object others don’t – it may be that the two different versions are sharing a config file and that is confusing things – anyway the attached patch is work again now on the linux machine and