IAX problem with Yaka Phone v2.0

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 :frowning: 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.

ditch the register statement … it’s not required to register a phone as a UA.

Ok ditched the register statement, now am getting:

Jan 16 16:38:30 NOTICE[2348] chan_iax2.c: Rejected connect attempt from 192.168.
0.3, request ‘910000@fromy’ does not exist

This to do with extensions.conf?

TIA

Martin.

Guys, I am an idiot - there is a default IAX2 user under the extensions within freepbx to set this all up automagically.

Sorry for wasting your time here :frowning:

Martin.