Ok, this is probably going to make me look really stupid here. Have Asterisk setup and running (trixbox 2.0 dist) and working fine. Local SIP phones (x-lite etc.) are connecting and I have SIP also connected through to sipgate.co.uk which is taking incoming calls and making outgoing calls.
So, due to SIPs problems with NAT networks, I thought I would do a bit of IAX2 fiddling. Downloaded Yak Phone, installed it on a client PC on the same local network to the asterisk server. But I just cannot get the software phone to register at all.
All I want to do is have the phone register and be available as an extension Have been going over this for a while now and I must be doing something stupid here. Config and logs follow:
Jan 16 15:55:53 VERBOSE[2368] logger.c: Rx-Frame Retry[ No] – OSeqno: 000 ISeqn
o: 000 Type: IAX Subclass: REGREQ
Jan 16 15:55:53 VERBOSE[2368] logger.c: Timestamp: 00003ms SCall: 25187 DCa
ll: 00000 [192.168.0.3:4569]
Jan 16 15:55:53 VERBOSE[2368] logger.c: USERNAME : ytoa
Jan 16 15:55:53 VERBOSE[2368] logger.c: REFRESH : 300
Jan 16 15:55:53 VERBOSE[2368] logger.c:
Jan 16 15:55:53 NOTICE[2368] chan_iax2.c: No registration for peer ‘ytoa’ (from
192.168.0.3)
Jan 16 15:55:53 VERBOSE[2368] logger.c: Tx-Frame Retry[000] – OSeqno: 000 ISeqn
o: 001 Type: IAX Subclass: REGREJ
Jan 16 15:55:53 VERBOSE[2368] logger.c: Timestamp: 00008ms SCall: 00005 DCa
ll: 25187 [192.168.0.3:4569]
Jan 16 15:55:53 VERBOSE[2368] logger.c: CAUSE : Registration Refuse
d
Jan 16 15:55:53 VERBOSE[2368] logger.c: CAUSE CODE : 29
Jan 16 15:55:53 VERBOSE[2368] logger.c:
Jan 16 15:55:53 VERBOSE[2368] logger.c: Rx-Frame Retry[ No] – OSeqno: 001 ISeqn
o: 001 Type: IAX Subclass: ACK
Jan 16 15:55:53 VERBOSE[2368] logger.c: Timestamp: 00008ms SCall: 25187 DCa
ll: 00005 [192.168.0.3:4569]
server - 192.168.0.6
client - 192.168.0.3
iax.conf:
[general]
bindport = 4569 ; Port to bind to (IAX is 4569)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
mailboxdetail=yes
register => ytoa:210@192.168.0.6
[ytoa]
type=user
host=dynamic
username=ytoa
secret=210
context=fromy
Your help and forebearance greatly appreciated.
Martin.