<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 8/30/2010 08:28, KI6PSP (Ed) wrote:
<blockquote
cite="mid:AANLkTikK2UTrtUa_wA8Ca+z=LMB=jpViHAGdMk_LCoJL@mail.gmail.com"
type="cite">
<pre wrap="">I am trying to add a playback fuction so I can add in a tail message telling
everyone to press *50 for information, then use that to playback basic
repeater command instructions. I have tested this several ways, and I can't
seem to get it. Plus, during my testing, I think I set *50 to a *81# so it
will tell me the time. It is no longer in the config, but it still does it,
so I cant use *50. Here is a clip from my rpt.conf file.
[functions27178]
1=ilink,1
2=ilink,2
3=ilink,3
4=ilink,4
;50=playback 27178,rpt/nodenames/wa6ybn ;Testing, this didn't work
5=macro,1
70=ilink,5
71=ilink,6
72=ilink,7
73=ilink,15
74=ilink,16
75=ilink,8
80=status,1
81=status,2
6=autopatchup,noct=1,farenddisconnect=1,dialtime=20000 ; Autopatch up
0=autopatchdn ; Autopatch down
96=playback 27178,rpt/nodenames/wa6ybn ;Repeater just Donks at me
;989=cop,4
980=status,3
99=cop,6
; Place command macros here
[macro27178]
1=playback,rpt/nodenames/wa6ybn ;Repeater just Donks at me
2=*81# ;This one works
;Any others, it tell me Macro Not Found, so it must be finding the *51, but
not playing the file. File is the same one for initial ID, and it works
<fieldset class="mimeAttachmentHeader"></fieldset>
</pre>
</blockquote>
Try the full file path for example ...<br>
<br>
A11=play,/var/lib/asterisk/sounds/rpt/nodenames/wa6ybn<br>
</body>
</html>