Troubles with IAXRpt & DVSM

Setup Information

Use sudo asl-show-version to obtain this information from the console or SSH

Asterisk : 22.4.1+asl3-3.5.4-1.deb12
ASL [app_rpt] : 3.5.4

Inquiry

I'm working on getting back into ASL after not running it for a few years. With the new ASL3, I wanted to familiarize myself with the new system before we build out our new repeater for the local club.

So, I've installed a freshly installed version of Debian 12 and ASL3 on a VPS at Vultr, and it seems to be up and running. Node number 45977 is connected to the AllStar network.

Even tho this is listed as a hub node, I want to be able to work with the various DTMF commands to refresh myself with the system. So, I installed IaxRpt and configured it up to connect to my node. It successfully connects, but I get no transmitted audio back to my desktop (I'm testing by sending the *721 command over IaxRpt). However, if I'm disconnected from my node and press the transmit button, I do get sounds at that point, so obviously the app itself can send sounds.

I also tried DVSM on my android phone. However, with the exact same configuration that successfully connects in IaxRpt, DVSwitch fails to connect, throwing the followiing error:

Failure Code (29): Bad password or stanza

To try to debug, I have set authdebug = yes in the general section of iax.conf, restarted asterisk, then entered the monitor console with "asterisk -rvvvv" (I don't believe there's a higher debug level than 4). Once I'm in the monitor console, I am also activating iax2 debugging with "iax2 set debug on".

The only message I am seeing out of the ordinary when DVSM tries to connect is:

[2025-07-29 01:57:23.710] NOTICE[94300]: chan_iax2.c:8399 register_verify: No registration for peer 'nq0m' (from 64.39.223.136)

Below is my iax.conf section for my user "nq0m":

[nq0m]
type = user
context = iaxrpt
auth = md5
secret = 123456 ; I don't care about this being exposed since I'll be changing it
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
transfer = no
requirecalltoken = no

Here's the context definition for iaxrpt in my extensions.conf:

[iaxrpt]
; Entered from iaxrpt in iax.conf
; Info: The X option passed to the Rpt application
; disables the normal security checks.
; Because incoming connections are validated in iax.conf,
; and we don't know where the user will be coming from in advance,
; the X option is required.
exten => ${NODE},1,rpt(${EXTEN},X)       ; NODE is the Name field in iaxrpt

I am honestly at a loss. Unfortunately, I don't have an easy way to make a full radio enabled node at present, so I need to access in a different way.

Anyone got any suggestions on where to look, or alternative IAX2 clients I could try?

Jeremy, NQ0M

[quote="jerutley, post:1, topic:23548"]

So, I installed IaxRpt and configured it up to connect to my node. It successfully connects, but I get no transmitted audio back to my desktop (I'm testing by sending the *721 command over IaxRpt). However, if I'm disconnected from my node and press the transmit button, I do get sounds at that point, so obviously the app itself can send sounds.[/quote]

A lot to digest there.
First, iaxrpt does not send audio dtmf, but iax strings with dtmf encodation.
Audio issues are normally issues in setup with the program itself and duplex or the sound device used for mic/spkr.

And the last part of that just does not make any sense, perhaps you can rephrase it if still an issue.

If you are trying to connect using webtransiver mode, it has to be enabled in your asl profile in self service portal.
Otherwise, it seems you have setup the phone software incorrectly.

There are no known bugs with this and is widely used.

I don't mean I can't hear the audio DTMF with IaxRpt. If I connect to my node, and send *721, the node SHOULD come back with it's ID over the IAX connection (at least, that is how I understand it, and how I remember it working a few years ago). But in my case, while I can see the green bar for "SPK" moving in IaxRpt after sending the *721, I'm getting no audio out of my computer speakers.

If I disconnect from the node, and then try to use the Transmit button (which results in a transmit denied error), I do get the error tone from IaxRpt - this indicates, at least to me, that IaxRpt IS able to send sounds to my computer speakers properly. I included this as an additional data point, just to indicate that I do have the proper sound card selected.

So, for IaxRpt, it connects successfully, I can send DTMF. But when the node tries to play audio back over the IAX connection (like after sending the *721 force id command), the display seems to indicate audio is being received (the green SPK bar), but no audio plays from my computer speakers.

In DVSM, I am using IAX2 protocol (not WT or USRP), with the following info:

Hostname: NODE-PUBLIC-IP
Port: 4569
Username: nq0m
Password: 123456
CallerID: NQ0M
Caller Number: 0
Node: 45977
Phone mode IAX2 connection: Checked
Use public authentication: Not Checked
Autoload node: Not Checked

This is the exact same info as works with IaxRpt, but DVSM fails to connect with the "Bad Password or stanza" message. But, I have retyped my password multiple times in DVSM.

I don't doubt that this works for most people. I'm just not sure why it's not working for me - and I've tried all the troubleshooting I can think of at present. I'm also no new guy when it comes to Linux - I've been a linux sysadmin for almost 20 years, and a few years ago I had multiple nodes running.

add to extensions.conf

[nq0m]
exten => ${NODE},1,Ringing()
same => n,Wait(2)
same => n,Answer()
same => n,Set(CALLSIGN=${CALLERID(name)})
same => n,NoOp(Caller ID name is ${CALLSIGN})
same => n,GotoIf(${ISNULL(${CALLSIGN})}?hangit)
same => n,Playback(rpt/connected-to&rpt/node)
same => n,SayDigits(${NODE})
same => n,rpt(${NODE}|P|${CALLSIGN}-N)
same => n(hangit),NoOp(No Caller ID Name)
same => n,Playback(connection-failed)
same => n,Wait(1)
same => n,Hangup

Add to iax.conf

[n0qm]
type = friend
context = n0qm
auth = md5
secret = 123456
host = dynamic
disallow = all
allow = ulaw
allow = gsm
transfer = no
requirecalltoken = no

restart asterisk

configure DVSM accordingly

1 Like

That seems to have done it! DVSM now connects, and I can send *721 successfully!

Thank you!

2 Likes

Why did I suddenly imagine Hannibal from the A-Team put one leg up on a rock, chomp his cigar and say the immortal words....?

1 Like

This was your issue for the most part.
type = friend

They have a different security handling.