OK … I have researched through the TFOT book, the X-Lite 3.0 book, this forum, and the CounterPath forum, and so far still getting “Registration Error 408 - Request Timeout”.
Asterisk sip.conf settings are:
[general]
realm=192.168.1.15 ; the IP address of my Asterisk server; also tried it with no "realm"
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
[janet_xlite1]
type=friend
secret=abcdefgh
nat=no ; On the LAN (no NAT router between server and client)
host=dynamic
canreinvite=no
context=BNP_xlite1
Relevant Asterisk extensions.conf settings are:
[BNP_xlite1]
exten => 611,1,Answer
exten => 611,n,Echo
… this is the standard initial test configuration suggested by the AsteriskTFOT book, so that if you pick up the handset and dial 611, everything you say echoes back to you. I used this in initial setup of my POTS port with analog phone and it worked first time.
X-Lite 3.0 settings are:
Account:
Display Name: Janet (this will become Janet’s phone when these setups are complete and working)
User Name: janet_xlite1 (matches the “janet_xlite1” section name in sip.conf … is that what I should use?)
Password: abcdefgh (matches “secret” in sip.conf)
Authorixation user name: janet_xlite1 (???)
Domain: 192.168.1.15
Register with domain and receive outgoing calls: CHECKED
Send outbound via: target domain
Topology:
IP address: Use local IP address (also tried “Discover global address”)
STUN server: Discover server (also tried “Use specified server: stun.counterpath.net”)
Enable ICE: CHECKED (also tried it unchecked)
Presence:
Mode: Disabled (also tried “Peer to Peer”)
Advanced: left these at their defaults.
A question regarding User Name, Password, and Authorization User Name: Do any of these relate to the Linux login userID and password, or do they both relate to the Asterisk login and password (“janet_xlite1” and “abcdefgh”, respectively)? If the latter, why have both a User Name and an Authorization User Name?