Logo Lanfrica

BladeMcCool/BitcoinIVR

Domain:

digital infrastructure

Record type:

software
Creator:
Bla
Host:
BitcoinIVR is a telephone-banking style interface to Bitcoin. Designed to be easy enough for grandma to use. Or anyone who may have only access to voice+sms phone service (parts of Africa/Asia) readme: the ivr system code is all scripts/btc.pl . it is pretty basic but it works. everything else is just support stuff. i need to spend some time decoupling this app from the messy custom framework that it was written under. but it should work as is. depends on - bitciond 0.3.x (but you should really install at least 0.6.2 instead and make sure it works on that!) - Perl (and a bunch of CPAN modules for which it'll complain about anything that is missing), - asterisk, - festival tts, - mysql db (but you could probably use any db if you are willing to hack in any changes required in the sql abstraction code, lol!) - ridiculous custom SpApp framework (included) notes: (I'm writing this 6 months after the fact, probably not 100% complete or correct) - many paths to things like config files, .wav file directories, etc are hardcoded in the btc.pl script. probably should put more things into the phoneapp.conf config file ($self->config('optionname') to access from code) - phoneapp.conf file can go in /etc/asterisk/phoneapp/conf/ directory ... also ensure /etc/asterisk/phoneapp is writeable by AGI as that is where it will want to create a debuglog file (which you can run tail -f on to see what the code is doing). NOTE: This is where you must set the mysql connection info as well. - mysql tables can be created by executing the included scripts/btcivr_schema_adjust.pl (additionally, there is now included a scripts/btcivr_schema.sql schema produced via mysqldump) - asterisk sip.conf needs entry to route incoming SIP call to correct context. sample entry included in example conf dir - asterisk extensions.conf needs entries to route incoming sip calls to application context. sample entries included in example conf dir. - on my system all the sounds files go into /usr/share/asterisk/sounds/en/phoneapp/ (inside phoneapp, a subdirectory called 'festivaltts' needs to be created and writeable by AGI/asterisk, where on-the-fly wav files for speaking to user will be stored (kludg …