[App_rpt-users] (no subject)

Doug Crompton doug at crompton.com
Fri Nov 29 02:23:33 UTC 2013


Jared,

  Well there are a number of ways to do that. One would be to record it in your own voice and play it as a wav or gsm file. Another way would be to use the available asterisk voice fragments to put together what you want to say.

Here is an example. It is a script you run to create the gsm audio file. Modify it for your text and final file location then execute the script to create the final gsm file. Go back and make changes and execute it again as many times as it takes to get it to sound the way you want. Each time it just writes over the previously made file.     

#! /bin/bash

cat   /var/lib/asterisk/sounds/letters/w.gsm   /var/lib/asterisk/sounds/letters/a.gsm   /var/lib/asterisk/sounds/digits/3.gsm   /var/lib/asterisk/sounds/letters/d.gsm   /var/lib/asterisk/sounds/letters/s.gsm   /var/lib/asterisk/sounds/letters/p.gsm   /var/lib/asterisk/sounds/node.gsm   /var/lib/asterisk/sounds/digits/2.gsm /var/lib/asterisk/sounds/digits/7.gsm /var/lib/asterisk/sounds/digits/2.gsm /var/lib/asterisk/sounds/digits/2.gsm /var/lib/asterisk/sounds/digits/5.gsm  >   /etc/asterisk/wa3dsp/node-announce.gsm
This says  "WA3DSP Node 27225"  but you could say whatever you want. Explore the /var/lib/asterisk/sounds directory to see what is available. There are a wealth of words and phrases. 

In your case you wanted to say w3xyz 146.525 PL 131.8 -  it would be:

cat letters/w.gsm digits/3.gsm letters/x.gsm letters/y.gsm letters/z.gsm digits/1.gsm digits/4.gsm digits/6.gsm  letters/dot.gsm digits/5.gsm digits/2.gsm digits/5.gsm letters/P.gsm letters/L.gsm digits/1.gsm digits/3.gsm digits/1.gsm letters/dot.gsm digits/8.gsm > node_announce

Of course this is abbreviated. Use the full file path shown in the script above and your final file location and name.

An example of playing the file created in the above script on your local node would be -

asterisk -rx "rpt localplay <yournode> /etc/asterisk/wa3dsp/node-announce"

<yournode> = The local node number you want to play it on minus the <>

You could play it at designated times inside rpt.conf using a macro and the scheduler or in a system cron job

I hope that helps but it might have create more questions depending on you Linux ability.

73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Thu, 28 Nov 2013 14:13:09 -0500
From: paxton.jared818 at gmail.com
To: app_rpt-users at ohnosec.org
Subject: [App_rpt-users] (no subject)

Can anyone tell me how I can get my node to announce my call sign then my node frequency and PL Code
Thank you. Jared KB2JIP



-- 
Sent From My Iphone 5 On AT&Ts 4G LTE Network


_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20131128/98b89ae0/attachment.html>


More information about the App_rpt-users mailing list