Git Product home page Git Product logo

Comments (3)

AlphaJosh avatar AlphaJosh commented on August 25, 2024

In the end, I commented out line 21 of ./run.sh

nix-build -A tg2sip-conf -o result-tg2sip-conf

And then manually created the folder 'asterisk-dongle-setup/result-tg2sip-conf/etc'
and created the file 'asterisk-dongle-setup/result-tg2sip-conf/etc/settings.ini'

[logging]
core=1
tgvoip=1
pjsip=1
sip_messages=true

[sip]
port=5061
id_uri=sip:127.0.0.1:5060

Not sure if that is correct

from asterisk-dongle-setup.

grwlf avatar grwlf commented on August 25, 2024

In the end, I commented out line 21 of ./run.sh

nix-build -A tg2sip-conf -o result-tg2sip-conf

And then manually created the folder 'asterisk-dongle-setup/result-tg2sip-conf/etc' and created the file 'asterisk-dongle-setup/result-tg2sip-conf/etc/settings.ini'

[logging]
core=1
tgvoip=1
pjsip=1
sip_messages=true

[sip]
port=5061
id_uri=sip:127.0.0.1:5060

Not sure if that is correct

Hm, that could also work, but the idea of cause is to build the config using Nix and then use ./result-tg2sip-conf/.../settings.ini -> /nix/store/... because in this case it will keep parameters of tg2sip in sync with other parameters. Actually, I can't see the source of the problem right now. The expression is at

tg2sip-conf = pkgs.writeTextDir "etc/settings.ini"
and it is basically a call to function which generates the file, given the name and the contents.

My only idea is that since I use with secrets; ... for the "contents" parameter, you can break something by e.g. making a syntax error in your ./secrets.nix , so consider checking it.. And be advised that nix is known for its poor error messages.

from asterisk-dongle-setup.

grwlf avatar grwlf commented on August 25, 2024

Please reopen this if you have any problems

from asterisk-dongle-setup.

Related Issues (9)

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.