I’m having trouble setting up iax2 in asterisk 14.0.2. I can’t see asterisk listening on port 4589 and registration from zoiper on ubuntu fails with nothing in the CLI. I can see users but asterisk seems not to be listening. udp port 4589 is open in iptables.
in iax2.conf
[general]
bindport=4589
bindaddr=123.456.78.123
[guest]
type=user
context=guest
callerid="Guest IAX User"
[mark]
type=friend
context=local
host=dynamic
auth=md5
username=mark
secret=too-hard-to-guess
disallow=all
allow=ulaw
codecpriority=host
transfer=no
callerid="Mark Horrocks" <(61) 448-171-1140>
asterisk*CLI> iax2 show users
Username Secret Authen Def.Context A/C Codec Pref
mark too-hard-to-guess 000000000000002 local No Host
guest -no secret- 000000000000003 guest No Host
root@asterisk:/etc/asterisk# lsof -i :5060
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
asterisk 22355 asterisk 10u IPv4 7997953 0t0 UDP *:sip
root@asterisk:/etc/asterisk# lsof -i :4589
asterisk*CLI> module show like chan_iax2.so
Module Description Use Count Status Support Level
chan_iax2.so Inter Asterisk eXchange (Ver 2) 0 Running core
1 modules loaded