I've downloaded the latest pbxinaflash distro and installed that. I changed the proxy on the spa303 to point to asterisk, setup an extension, and put in the password for that extension into the phone, and used that extension number ( 1000 ) as the phone id. Freepbx reports that I do now have one IP phone registered.
I then altered the /etc/asterisk/sip.conf file so it looks like this one http://blog.2talk.co.nz/asterisk.html but I am seeing these errors in the asterisk log
[2012-04-16 00:18:51] ERROR netsock2.c: getaddrinfo("2talk.co.nz", "(null)", ...): Temporary failure in name resolution
[2012-04-16 00:18:51] WARNING acl.c: Unable to lookup '2talk.co.nz'
[2012-04-16 00:18:51] WARNING acl.c: Cannot connect
[2012-04-16 00:18:51] WARNING chan_sip.c: sip_xmit of 0xb7403318 (len 385) to (null) returned -1: Invalid argument
[2012-04-16 00:18:51] NOTICE chan_sip.c: -- Registration for 'firstname.lastname@example.org' timed out, trying again (Attempt #31)
I also tried plus.2talk.co.nz with the same results.
Do I need to add a sip trunk in 2talk for this to work or am I doing something else wrong. And which of the many *.conf files should I be making these additions? freepbx says I should not be doing it in sip.conf