Giter VIP home page Giter VIP logo

Comments (9)

hnimminh avatar hnimminh commented on May 31, 2024 2

@camglegg I will add that support libresbc deployment in this weekend, once done, I will need your help to verify the fix.
I'm also thinking that use Docker, so that everyone can deploy libresbc easier.

from libresbc.

camglegg avatar camglegg commented on May 31, 2024 1

@camglegg I will add that support libresbc deployment in this weekend, once done, I will need your help to verify the fix.
I'm also thinking that use Docker, so that everyone can deploy libresbc easier.

I am more than happy to test the Ansible and Docker configurations!

I was working on updating the freeswitch.yml platform task, but there is quite a bit going on in that file. It will most likely be faster for you to update it.

I really appreciate your help!! Let me know if there is anything you need from me.

from libresbc.

hnimminh avatar hnimminh commented on May 31, 2024 1

@camglegg @ibexnet can you re-test on master branch?

Once you register and get SignalWire Personal Access Tokens, you will need to declare ansible extra variable to install FreeSWITCH (when you run ansible-playbook with tag platform or freeswitch), Example:

ansible-playbook playbooks/deployment.yml -i inventories/production -l "<machine-name>" -t "platform,libre,nginx,captagent" -e "signalwire_pat_token=Your-SignalWire-Personal-Access-Tokens"

from libresbc.

ooliver1 avatar ooliver1 commented on May 31, 2024

you should most definitely rename this issue to describe more

something like Failed to download key at <url> HTTP Error 401: Unauthorized

from libresbc.

hnimminh avatar hnimminh commented on May 31, 2024

hmmm.., seem signalwire has changed, they require PAT to access their repo
https://freeswitch.org/confluence/display/FREESWITCH/HOWTO+Create+a+SignalWire+Personal+Access+Token

from libresbc.

camglegg avatar camglegg commented on May 31, 2024

Also running into this issue. I am able to create the PAT.

It seems that Freeswitch already has Ansible playbook premade. There suggestion is:

# You could set the password here or on your CLI. We set it in group_vars/all in our Ansible Inventory
#  vars:
#    - signalwire_freeeswitch_key: pat_XXXXX

@hnimminh Do you think this is the best method? Or should we try something else?

Thanks in advance for your help.

from libresbc.

camglegg avatar camglegg commented on May 31, 2024

@camglegg @ibexnet can you re-test on master branch?

Once you register and get SignalWire Personal Access Tokens, you will need to declare ansible extra variable to install FreeSWITCH (when you run ansible-playbook with tag platform or freeswitch), Example:

ansible-playbook playbooks/deployment.yml -i inventories/production -l "<machine-name>" -t "platform,libre,nginx,captagent" -e "signalwire_pat_token=Your-SignalWire-Personal-Access-Tokens"

Yes! I will test this today. Thanks!

from libresbc.

camglegg avatar camglegg commented on May 31, 2024

@hnimminh The playbook works perfectly!

Target Machine:
OS: Debian GNU/Linux 10 (Buster) x86_64
Host: KVM/QEMU
Kernel: 4.19.0.20-amd64

Host Machine
Ansible Version: 2.10.8
Python Version: 3.10.4

Playbook Runtime: 00:30:40

Let me know if you need anymore information and Thank you for the quick fix!

Full Log File (PAT Token Removed)
cameronglegg_FreeSwitchPAT_ansible.log

from libresbc.

hnimminh avatar hnimminh commented on May 31, 2024

Thanks @camglegg

from libresbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.