[arm-allstar] say text only to phone

Lowell lowell.brunson at gmail.com
Wed Apr 5 01:59:31 EST 2017


The phone zoiper - a soft phone that speaks iax2.


It seems to me that using Playback in the extensions.conf file only goes
out to the phone because the phone hasn't been bridged to the app_rpt yet.

The last few lines of your example show the connection on the last line...
exten=27225,n,Playback(digits/5)
exten=27225,n,Playback(rpt/connected)
exten=27225,1,rpt(27225|P)

Yes, I am using the autopatch technique.  It successfully calls a bash
script that looks kind of like this:
#!/bin/bash
FREQ=$(rigctl -m2 f )
MODE=$(rigctl -m2 m | head -1)
/usr/local/sbin/speaktext.sh "${FREQ} ${MODE}" ${NODE1}

The sound goes to both the phone and the radio.

I'm not sure how to pass a parameter back to the extensions file in a
useable way.

Lowell


More information about the arm-allstar mailing list