[arm-allstar] v1.5 and voice ID
Chris Viningre
chrisviningre at gmail.com
Thu Feb 2 18:16:33 EST 2017
Iḿ sure Iḿ doing something wrong.
#! /bin/bash
cat /var/lib/asterisk/sounds/letters/w.gsm
/var/lib/asterisk/sounds/letters/s.gsm
/var/lib/asterisk/sounds/digits/5.gsm
/var/lib/asterisk/sounds/letters/b.gsm
/var/lib/asterisk/sounds/repeater.gsm
# Combines Allison voice fragments to create a combined voice file.
# Look in the /var/lib/asterisk/sounds directory for filenames
# All mixed voice files must be of the same type - .ulaw, .gsm etc.
# and the output file must be of the same type. If you need
# to change file type use sox -
# Ex - sox -t ul -r 8000 <input file>.ulaw <output file>.gsm
#
# Change the combined text above to your choice
# Change the output directory and filename to suit your needs.
#
# Make this script executable and run it to create combined audio file
#
# WA3DSP 11/2013
Chris Viningre
70 W. Roadrunner
Salt Flat, Texas 79847
C:(915) 504-1510
chrisviningre at gmail.com
Amateur Radio Operator: WS5B
https://www.qrz.com/db/ws5b
http://www.reverbnation.com/chrisviningre
On Thu, Feb 2, 2017 at 3:32 PM, "Doug Crompton via arm-allstar"
<arm-allstar at hamvoip.org> wrote:
> Chris,
>
> I have no idea why that would be happening unless you edited something
> wrong in the script. It is a simple script and has been used for years in
> our code. The script AND the setup expect the node ID to be in the file
> node-id.gsm in /etc/asterisk/local. So it looks like you rpt.conf is right.
> You never put the extent on it Asterisk - so it would be just node-id for
> the file name.
>
> All that script does is cat a bunch of gsm audio files together and places
> them in node-id.gsm. You specify the files to combine. The paths and
> filenames obviously need to be correct.
>
> The combine.sh script as shipped is not executable. That is on purpose
> because if you ran it not knowing what it was it would overwrite your ID
> that had been set in the setup routine. You need to make it executable -
>
> chmod 750 combine.sh and then if you are in that directory you need to do
> ./combine.sh to run it. Elsewhere you need to specify the entire path
> /etc/asterisk/local/combine.sh
>
> If you still can't get it what I would need to see is your edited
> combine.sh file
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
> On Thu, Feb 2, 2017 at 5:05 PM, "Chris Viningre via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> I don´t remember so I tried it again and get the same thing. It also
>> locks up the ssh terminal after running ./combine.sh. Here is my
>> rpt.conf in case I have a bad setting.
>>
>> [43934] ; Change this to your assigned node number
>> rxchannel=Radio/usb43934
>> ;rxchannel = SimpleUSB/usb
>> duplex=2
>> erxgain=-3
>> etxgain=3
>> controlstates=controlstates
>> scheduler=schedule43934
>> morse=morse43934
>> macro=macro43934
>> functions=functions43934
>> phone_functions=functions43934
>> link_functions=functions43934
>> telemetry=telemetry
>> wait_times=wait-times
>> context = radio
>> callerid = "Repeater" <000001998>
>> idrecording=/etc/asterisk/local/node-id
>> ;idrecording=|iDE WS5B/R
>> idtalkover=|iDE WS5B/R
>> accountcode=RADIO
>> hangtime=100
>> althangtime=100
>> totime=300000 ; 170000
>> idtime=600000
>> politeid=30000
>> Chris Viningre
>> 70 W. Roadrunner
>> Salt Flat, Texas 79847
>> C:(915) 504-1510
>> chrisviningre at gmail.com
>> Amateur Radio Operator: WS5B
>> https://www.qrz.com/db/ws5b
>> http://www.reverbnation.com/chrisviningre
>>
>>
>> On Thu, Feb 2, 2017 at 10:34 AM, "John Vilburn via arm-allstar"
>> <arm-allstar at hamvoip.org> wrote:
>> > Aloha Chris,
>> >
>> > Before running ./combine.sh did you do:
>> >
>> > chmod 755 combine.sh
>> >
>> > John
>> > WH6JV
>> >
>> > On Wed, Feb 1, 2017 at 9:25 PM, "Chris Viningre via arm-allstar" <
>> > arm-allstar at hamvoip.org> wrote:
>> >
>> >> I had the same problem as Robert. After doing your suggestion I got a
>> >> bunch of strange text. I still only get my call sign. Any ideals?
>> >> Chris Viningre
>> >> 70 W. Roadrunner
>> >> Salt Flat, Texas 79847
>> >> C:(915) 504-1510
>> >> chrisviningre at gmail.com
>> >> Amateur Radio Operator: WS5B
>> >> https://www.qrz.com/db/ws5b
>> >> http://www.reverbnation.com/chrisviningre
>> >>
>> >>
>> >> On Wed, Feb 1, 2017 at 8:14 PM, "John Vilburn via arm-allstar"
>> >> <arm-allstar at hamvoip.org> wrote:
>> >> > Robert,
>> >> >
>> >> > For security reasons Linux excludes the current directory from the
>> search
>> >> > path for commands. So you have to explicitly specify that you want to
>> >> run a
>> >> > command that is in the current directory. To do this for combine.sh,
>> >> type:
>> >> >
>> >> > ./combine.sh
>> >> >
>> >> > 73 and Aloha,
>> >> > John
>> >> > WH6JV
>> >> >
>> >> > On Wed, Feb 1, 2017 at 5:06 PM, "Robert Conklin via arm-allstar" <
>> >> > arm-allstar at hamvoip.org> wrote:
>> >> >
>> >> >> I would like to do this as well and am having some difficulties.
>> >> >> I've modified the combine.sh file as described.
>> >> >> When I attempt to run combine.sh I get "command not found".
>> >> >> Entering "chod 750 combine.sh" within the /etc/asterisk/local
>> directory
>> >> did
>> >> >> not solve.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Robert Conklin
>> >> >> *N4WGY <http://qrz.com/db/N4WGY>*
>> >> >> _______________________________________________
>> >> >>
>> >> >> arm-allstar mailing list
>> >> >> arm-allstar at hamvoip.org
>> >> >> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>> >> >>
>> >> >> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>> >> >>
>> >> > _______________________________________________
>> >> >
>> >> > arm-allstar mailing list
>> >> > arm-allstar at hamvoip.org
>> >> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>> >> >
>> >> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
>> >> _______________________________________________
>> >>
>> >> arm-allstar mailing list
>> >> arm-allstar at hamvoip.org
>> >> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>> >>
>> >> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>> >>
>> > _______________________________________________
>> >
>> > arm-allstar mailing list
>> > arm-allstar at hamvoip.org
>> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>> >
>> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
>> _______________________________________________
>>
>> arm-allstar mailing list
>> arm-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the arm-allstar
mailing list