What you have shown is a stanza for a iax remote connect.
Failed authentication means your user/pass is incorrect.
User you show is : iaxclient
Pass you show is : password
did you put a hyphen in user like where you show context at the other end ? don’t
user is the stanza name.
The ‘context=’ must have a matching context in extentions.conf to follow.
? radio-control ? radio ?
without valid context it goes nowhere/dead end.
I read the readme on the page and may not be written well because it must have a context but if none is specified, iax-client is used ‘by the program’.
But to connect and control any node, that node will need to be in the context you are dialing in on.
You could try/test this config with the pc program iaxrpt (zipper) if you have it. Works the same.
you could also watch asterisk in the foreground : asterisk -rvvv
I can’t be more help than that as I have never seen this before.
did you put a hyphen in user like where you show context at the other end ?
I used “iaxclient” for the username in the dudestar app
When I had said “control” the radio, I meant that I wanted to be able to connect from my laptop to the allstar link in kind of a “loop back” config – not sure what the proper way to describe it is. Basically get the audio in/out from my laptop and be able to send DTMF codes from dudestar to connect to other nodes.
My allstar node consists of a RBPI + RA40 + SA818 that I built, so with dudestar it should work without any radio.
I seem to have pinned down the auth issue by switching from a md5 auth to “plaintext”, which I know is not ideal, but it kept comparing different hashes (as output in the message log) so I think what gets put into iax.conf is a hashed version of the password plus other info?
I’ve tried setting the stanza/username as “iaxclient” in iax.conf and as “iax-client” and a few combos, as it seems the author of dudestar has that setup to default without a context set, so just trying options out.
You may need to throw that back to the folks at dudestar
According to what I read in the github readme
It is just as you have above.
There is no user auth outside of user/pass and normal for a ‘user’
dudestar seems to be wanting or is set for a secure peer.
very different set-ups
peer, friend and user are 3 of the options and need like setups at both ends. They have different security set-ups.
you did not mention which side of the connection you are reading that error though.
allstar, dudestar
If you got that on the allstar side, show us your iax.conf (mask passwords)
I suspect your extensions entry may be doing you harm. Leave your iax alone.
The purpose of entry in iax.conf is to make the connection verified however needed and push it to (context) for routing in extensions
Try this in ext conf – use your node numbers and try with iaxrpt first.
[globals] ;beginning of the file only for globals
HOMENPA=330
NODE = 29285
NODE1 = 29284
NODE2 = 29283
NODE3 = 29261
NODE4 = 48335
NODE5 = 1990
NODE6 = 1970
NODE7 = 1951
NODE9 = 1980
I’m just not quite sure what kind of error you might get when the context is not right.
If you can’t get this to work, we will try one other thing very different.