jambonz / jambonz-infrastructure

packer and cloudformation templates for creating EC2-based jambonz deployments
23 stars 29 forks source link

packer/jambonz-mini/scripts/install_freeswitch.sh: SpeechSDK-Linux-1.23.0.tar.gz is missing in /tmp #25

Open asarubbo opened 1 year ago

asarubbo commented 1 year ago

Hello Dave,

from https://github.com/jambonz/jambonz-infrastructure/blob/main/packer/jambonz-mini/scripts/install_freeswitch.sh#L21 it looks like the SpeechSDK-Linux-1.23.0.tar.gz archive is expected to be in /tmp while there is no trace about the copy of that archive into /tmp so I get error, maybe:

cp ../files/SpeechSDK-Linux-1.23.0.tar.gz /tmp/

will fix the issue

Thanks

asarubbo commented 1 year ago

Hello Dave,

while digging a bit more into this issue I discovered the origin of the problem. Some operations get done by packer directly ( https://github.com/jambonz/jambonz-infrastructure/blob/main/packer/jambonz-mini/template.json#L89) instead of the script install_freeswitch.sh so that means that the script itself is not usable as standalone.

This is the cause of #31 - #32 - #33