[arm-allstar] Command response not working (v1.5)

Doug Crompton wa3dsp at gmail.com
Tue Jan 31 15:24:08 EST 2017


Justin,

 This ONLY plays to the first node in your rpt.conf file unless you have it
defined otherwise. Sound only plays locally to an active node on your
server.

If the example shown below it plays to 1998 which is a default setting
before you do setup. Once setup these numbers change to the node number
entered at setup. If you have changed this it could be your problem.


A1=cmd,/usr/local/sbin/sayip.sh 1998            ; Say local IP to radio
A3=cmd,/usr/local/sbin/saypublicip.sh 1998      ; Say Public IP to radio
B1=cmd,/usr/local/sbin/halt.sh 1998             ; Halt the system (linux
total shutdown)
B3=cmd,/usr/local/sbin/reboot.sh 1998           ; Reboot the system
B6=cmd,/usr/local/sbin/astres.sh                ; Restart Asterisk




*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Tue, Jan 31, 2017 at 2:19 PM, "Justin Reed via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Group,
> The next issue I'm trying to work out is that my node is not playing back
> most command response messages.
>
> For example, If I dial *81 to check the time of day, the node does not key
> up.  The CLI shows:
>
> [Jan 31 13:06:03] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char *
> [Jan 31 13:06:03] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 8
> [Jan 31 13:06:03] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 1
>     -- <DAHDI/pseudo-1502776900> Playing 'rpt/goodafternoon' (language
> 'en')
>     -- <DAHDI/pseudo-1502776900> Playing 'rpt/thetimeis' (language 'en')
>     -- <DAHDI/pseudo-1502776900> Playing 'digits/1' (language 'en')
>     -- <DAHDI/pseudo-1502776900> Playing 'digits/oh' (language 'en')
>     -- <DAHDI/pseudo-1502776900> Playing 'digits/6' (language 'en')
>     -- <DAHDI/pseudo-1502776900> Playing 'digits/p-m' (language 'en')
>     -- Hungup 'DAHDI/pseudo-1502776900'
>
> So it looks like it's executing but not actually playing the audio over
> the air.
>
> Likewise, when i dial *926 (to readback the WAN IP address) I get:
>
> [Jan 31 13:11:52] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char *
> [Jan 31 13:11:52] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 9
> [Jan 31 13:11:52] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 2
> [Jan 31 13:11:52] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 6
> [Jan 31 13:11:53] NOTICE[9023]: app_rpt.c:10959 function_cmd: cmd param =
> /usr/local/sbin/saypublicip.sh 42640, digitbuf =
>     -- Remote UNIX connection
>     -- Remote UNIX connection disconnected
>     -- <DAHDI/pseudo-2058301351> Playing '/var/lib/asterisk/sounds/public-ip-address'
> (language 'en')
>     -- Remote UNIX connection
>     -- Remote UNIX connection disconnected
>     -- Hungup 'DAHDI/pseudo-2058301351'
>     -- <DAHDI/pseudo-1925517214> Playing '/tmp/randommsg' (language 'en')
>
> But nothing plays over the air.  Now, when I connect to another node, the
> connection messages DO work:
>
> [Jan 31 13:14:36] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char *
> [Jan 31 13:14:36] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 3
> [Jan 31 13:14:36] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 2
> [Jan 31 13:14:36] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 5
> [Jan 31 13:14:36] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 6
> [Jan 31 13:14:36] NOTICE[9023]: chan_simpleusb.c:2421 simpleusb_read: Got
> DTMF char 0
>     -- Call accepted by 173.82.59.253 (format ulaw)
>     -- Format for call is ulaw
>     -- Hungup 'DAHDI/pseudo-788396417'
>     -- <DAHDI/pseudo-13960554> Playing 'rpt/node' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/2' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/5' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/6' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/0' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'rpt/connected' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'to' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'rpt/node' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/4' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/2' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/6' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/4' (language 'en')
>     -- <DAHDI/pseudo-13960554> Playing 'digits/0' (language 'en')
>     -- Hungup 'DAHDI/pseudo-13960554'
>
>
> Any ideas what is causing the first two examples to not play audio over
> the air?
>
> Thanks,
> Justin
> NV8Q
>
> _______________________________________________
>
> 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