I’m having a weird problem with Asterisk 1.4.1, where IAX registrations aren’t going out.
I enabled iax2 set debug, set verbose 15, and I see the affected server receiving a registration request from another server, and that completes normally, but I don’t see any REGREQ’s originated by the affected server.
iax2 show peers show:
sucia*CLI> iax2 show peers
Name/Username Host Mask Port Status
fwdnet 192.246.69.186 (S) 255.255.255.255 4569 OK (87 ms)
iax2 show registry shows:
sucia*CLI> iax2 show registry
Host dnsmgr Username Perceived Refresh State
0.0.0.0:4569 N 123456 60 Unregistered
(I replaced the username with 123456)
The iax.conf file shows:
[general]
bandwidth=high
allow=all
jitterbuffer=no
forcejitterbuffer=no
autokill=yes
register => 123456:pwd@iax2.fwdnet.net/fwdnet
[fwdnet]
type=friend
host=iax2.fwdnet.net
context=from-iaxfwd
auth=rsa
inkeys=freeworlddialup
qualify=yes
And I can resolved iax2.fwdnet.net:
host iax2.fwdnet.net
iax2.fwdnet.net has address 192.246.69.186
And I can ping it:
ping iax2.fwdnet.net
PING iax2.fwdnet.net (192.246.69.186): 56 data bytes
64 bytes from 192.246.69.186: icmp_seq=0 ttl=52 time=85.177 ms
64 bytes from 192.246.69.186: icmp_seq=1 ttl=52 time=85.033 ms
64 bytes from 192.246.69.186: icmp_seq=2 ttl=52 time=85.005 ms
And the keys are there:
ls /usr/local/share/asterisk/keys
freeworlddialup.pub iaxtel.pub
This is Asterisk 1.4.1 on FreeBSD 6.2-RELEASE.
Any ideas?
-jav