Setup Information
********** AllStarLink [ASL] Version Info **********
OS : Debian GNU/Linux 12 (bookworm)
OS Kernel : 6.11.0-29-generic
Asterisk : 22.4.1+asl3-3.5.4-1.deb12
ASL [app_rpt] : 3.5.4
Installed ASL packages :
Package Version
============================== ==============================
asl3 3.8-1.deb
asl3-asterisk 2:22.4.1+asl3-3.5.4-1.deb12
asl3-asterisk-config 2:22.4.1+asl3-3.5.4-1.deb12
asl3-asterisk-modules 2:22.4.1+asl3-3.5.4-1.deb12
asl3-menu 1.14-1.deb12
dahdi 1:3.1.0-2
dahdi-dkms 1:3.4.0-6+asl
dahdi-linux 1:3.4.0-6+asl
Inquiry
Hello,
I'm trying to create a node that will connect to an external application through AudioSocket. I managed to setup most of the stuff, and audio is going out through the AudioSocket, unfortunately, although is being received also, it's not sent to other connected clients because, I imagine, there's no PTT. AudioSocket doesn't support receiving DTMF, althgough it can send, receiving is not an option thus, no *99/# to enable/disable PTT.
I tried later to research for a method to use VOX, but, the dialplan doesn't call rpt, so I can't instruct rpt to use vox... or at least, I'm not figuring out how.
Suppose my node is 123456 and my private note running audiosocket is 1001, this is a network only setup, in which I connect to the node using DVSwitch Mobile to do the whole testing.
Here are the relevant configurations for my setup
in rpt.conf
[nodes]
63807 = radio@127.0.0.1/63807,NONE
1001 = radio@127.0.0.1/1001,NONE
[123456](node-main)
statpost_url = http://stats.allstarlink.org/uhandler
idrecording = |iNO0CALL
duplex = 0
rxchannel = dahdi/pseudo
telemdefault = 0
[1001](node-main)
duplex = 0
rxchannel = dahdi/pseudo
telemdefault = 0
context = testsocket
in extensions.conf
[radio-secure]
...
;appended to the [radio-secure] dialplan
exten => 1001,1,Goto(testsocket,1001,1)
[testsocket]
exten => 1001,1,Answer()
same => n,AudioSocket(66b7feb0-8938-11ee-abd7-0242ac150002,192.168.1.253:5002)
The connection is made manually, the usual, connecting node 123456 with 1001.
I connect with my dvswitch mobile to node 123456, and when talking, my application connected through audiosocket receives audio correctly, but the reply is never heard because the PTT isn't activated.
I tested audio between my application and asl3 using the iax-client dialplan, replacing
same => n,rpt(${NODE}|P|${CALLSIGN}-P)
with
same => n,AudioSocket(66b7feb0-8938-11ee-abd7-0242ac150002,192.168.1.253:5002)
When connecting to asl3 with DVSwitch mobile, this dialplan is executed and I'm able to have bidirectional audio between my audiosocket application and dvswitch mobile. When using rpt I can't, guessing it's related to ptt activation/deactivation, any pointers on how I could activate Vox control in this scenario for node 1001 ?
I couldn't find any option in node definition in rpt.conf to enable a node as a phone node and thus enable vox... any hints ?
Thanks.