[resolved] Softphone registration issue

turned out to be freepbx not writing out the asterisk config files. The Freepbx perl files are looking for the mysql.sock file in the wrong place so can’t open the database to write out the files. I now have to figure out how to get them to look in the right location for mysql.sock…


I have two Asterisk servers. One in production running Trixbox 2.0 with Asterisk and1.2.13 svn rev 47264 and the other a Debian Etch box with Asterisk 1.2.13 and freepbx which I am building to replace the trixbox so I can get support from Digium to run the g729 codec (they said they won’t support it on Trixbox which is why I am changing).
I can successfully register Sipura and Snom phones on both systems. However I can only register softphone on the Trixbox server, they won’t register on the Debian box.

Problem; softphone running on ubuntu (tried Twinkle and X-lite) won’t register with asterisk. Debug log from xten shows:

Xten Networks, Inc. All rights reserved.

X-Lite release 1105d build stamp 99999

License key: 4416339161D1B54BCF33AF3D6D268885

Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5061
Established SIP protocol listen on: 192.168.1.56:5061

Discovered Port Restricted Cone NAT Firewall

SIP: 192.168.1.56:5061
RTP: 192.168.1.56:8000
NAT: 124.177.98.183

Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5060
Attempting SIP protocol listen on: 192.168.1.56:5061
Established SIP protocol listen on: 192.168.1.56:5061

PROXY#0: 192.168.1.52:5060
OUTBOUND-PROXY#0: 192.168.1.52:5060

SEND TIME: 1938982348
SEND >> 192.168.1.52:5060
REGISTER sip:192.168.1.52 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.56:5061;rport;branch=z9hG4bK6DAE8C303E31E3666D586363FEB25893
From: laptop sip:8899@192.168.1.52;tag=1294288788
To: laptop sip:8899@192.168.1.52
Contact: “laptop” sip:8899@192.168.1.56:5061
Call-ID: 5C4BEAE6A3EECE67376432E2A4436E15@192.168.1.52
CSeq: 44302 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1105d
Content-Length: 0

RECEIVE TIME: 1938982362
RECEIVE << 192.168.1.52:5060
SIP/2.0 404 Not found
Via: SIP/2.0/UDP 192.168.1.56:5061;branch=z9hG4bK6DAE8C303E31E3666D586363FEB25893;received=192.168.1.56;rport=5061
From: laptop sip:8899@192.168.1.52;tag=1294288788
To: laptop sip:8899@192.168.1.52;tag=as1b3325e5
Call-ID: 5C4BEAE6A3EECE67376432E2A4436E15@192.168.1.52
CSeq: 44302 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0

I have the extension 8899 set up on both my production Trixbox server and the new Debain server with exactly the same config.
Changing the IP address to the production box and the softphone registers and works. change just the IP addresses to the new server and it won’t register with the results shown above. Nothing shows on the asterisk console with asterisk -rvvvvvvvv

Any clues what is going on here?