Comments (3)
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.
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 https://github.com/grwlf/asterisk-dongle-setup/blob/ac3e468afcb6ddda32c0deb48cd65a4043418391/default.nix#L619 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.
Please reopen this if you have any problems
from asterisk-dongle-setup.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk-dongle-setup.