Re: [App_rpt-users] Default tailmessages? /timers
Got it... very good! Thanks much, Bob kk6ecm _____ From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of mike@midnighteng.com Sent: Sunday, May 25, 2014 4:50 PM To: app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] Default tailmessages? /timers Bob, sleeptime=1830 ;in seconds 300=5min past this time without activity, the rptr goes to sleep. When rptr is at rest... no tail messages will play. *81 is a built in user command for the time. No extra stuff to understand about it. Think about it for a bit. You'll get it. I don't know where the 81=*81 is at in your stanza but I think it should be removed. Double check. Your start-up macro is selecting the user command for time announcement. It's function is hard wired. If you want to say something else, you will need to create a playback string on your own and set it to a macro and schedule it by whatever method you feel fit. ...mike/kb8jnm -------- Original Message -------- Subject: RE: [App_rpt-users] Defaul tailmessages? From: "Bob" <kk6ecm@gmail.com> Date: Sun, May 25, 2014 6:17 pm To: <mike@midnighteng.com> OK... Cool! I'm getting closer... and yes, it is working now :-)... except the part about it thinking the repeater is asleep. What is the signal the computer is using to determine the repeater is at rest? I can dummy that up. I may just have to go hook it up to the repeater, but I'd like to understand what is happening here. Also, I'm curious about the boot-up message containing the current time that I hear when not connected to a repeater. What determines that message? My startup_macro=*81, and 81=*81#, with 81=status,2 How is the message selected to be played? I've been looking for definitions of "status,x" but not found it yet. I notice in CLI> that -- <Zap/pseudo-572563922> Playing 'rpt/goodafternoon' (language 'en') is playing (this is what I'm hearing). So, what are the links in the chain used to link the *81 startup_macro to the audio file 'goodafternoon'? I'm missing something. Thanks, Bob kk6ecm _____ From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of mike@midnighteng.com Sent: Sunday, May 25, 2014 2:07 PM To: app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] Defaul tailmessages? Bob, Your settings are for a hour. Why not try and shorten your timers just for testing like 2 min for tailtime and 0 out the squashtime for the test. Then use the cli "asterisk -r" cli> and watch what is happening when it is called for by the program. Just a note: These will not play if the repeater is at rest (sleeping) That is what I suspect is happening. They are not set to play for a hour and the machine is sleeping by then. If you need it to play every hour, use the scheduler and a macro. In any case, I would reduce the squashtime to no more than 3 min for a inactive retry. ...mike/kb8jnm -------- Original Message -------- Subject: RE: [App_rpt-users] Defaul tailmessages? From: "Bob" < <mailto:kk6ecm@gmail.com> kk6ecm@gmail.com> Date: Sun, May 25, 2014 3:43 pm To: < <mailto:mike@midnighteng.com> mike@midnighteng.com> Mike, I just learned a few things... slow kid here. I setup up iaxrpt, and added the localplay command in rpt.conf. I connected using iaxrpt, and entered the dtmf command. The playback worked. Now I'm wondering, why does it work via iaxrpt, but not in the tailmessage when it plays a woman's voice giving the time. Thanks, Bob kk6ecm _____ From: Bob [mailto:kk6ecm@gmail.com] Sent: Sunday, May 25, 2014 11:44 AM To: 'mike@midnighteng.com' Subject: RE: [App_rpt-users] Defaul tailmessages? Thanks Mike... you are going to have to simplify your answer for this slow kid (read that as I need specifics :-) 8901=localplay,/etc/asterisk/msg/tailmessage goes in rpt.conf? I am running the node, not attached to a radio, activating everything via PuTTY. I have an amplified speaker on the output of the URI for testing... much easier doing this here than out at the repeater site. So, how do I activate 8901 once it is in rpt.conf, given the fact I don't have a dtmf input... or do I in software, and I just know it? How would one execute from CLI> ?? All the original files on the old system, replacing with a new computer, are ulaw, so am attempting to get the new system up and running with a minimum amount of changes.... remember, I'm the slow kid :-) Thanks for your patience. Bob kk6ecm _____ From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of mike@midnighteng.com Sent: Sunday, May 25, 2014 11:27 AM To: app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] Defaul tailmessages? Bob, Declare a command for playing the file... 8901=localplay,/etc/asterisk/msg/tailmessage (don't forget to restart after saving file) or execute from a cli> If it dosn't play, probably a format problem. Check sample rate etc... (8bits) Yes, you should hear it from the audio output, same as any other audio. I use low bitrate wav files myself. You probably should use the "gsm" format for files. ...mike/kb8jnm -------- Original Message -------- Subject: RE: [App_rpt-users] Defaul tailmessages? From: "Bob" <kk6ecm@gmail.com> Date: Sun, May 25, 2014 12:58 pm To: <mike@midnighteng.com> Thanks Mike, ; *** Tail Messages *** tailmessagelist=/var/lib/asterisk/sounds/rpt/info tailmessagetime=7200000 ;60 Minutes between tail messages tailsquashedtime=600000 ;10 minutes info.ulaw is located as described; same as the other computer. How do you play it manually? Can this be done within asterisk so I hear it from the URI? Is it possible I need to load a different codec for this new computer? It is an Atom with nm10 chipset; same as old board I'm replacing with this one. Thanks, Bob kk6ecm _____ From: mike@midnighteng.com [mailto:mike@midnighteng.com] Sent: Sunday, May 25, 2014 9:20 AM To: Bob Subject: RE: [App_rpt-users] Defaul tailmessages? Bob, A couple of things come to mind about your problem. a) Be sure path to files is described if not the default. b) be sure the sound file format is correct (can you play it manually?) c) tail message list is a coma separated list. look for type errors. tailmessagelist=/etc/asterisk/msg/tmsg1,/etc/asterisk/msg/tmsg2,/etc/asteris k/msg/tmsg3 ;tail msg list ...mike/kb8jnm -------- Original Message -------- Subject: [App_rpt-users] Defaul tailmessages? From: "Bob" < <mailto:kk6ecm@gmail.com> kk6ecm@gmail.com> Date: Sun, May 25, 2014 11:37 am To: < <mailto:app_rpt-users@ohnosec.org> app_rpt-users@ohnosec.org> For some reason, my new ACID load (new computer) is not playing my commanded tailmessagelist, but is playing what sounds like a default tailmessage; female voice giving the time. What could be the issue? I'm using the same tailmessage lines from another setup that is playing my recorded message. Thanks, Bob kk6ecm _____ _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
participants (2)
-
Bob -
mike@midnighteng.com