Monday, June 15, 2009

X-istentialism

After adding extensions through the web gui, I was unable to register any devices. It seems that the nothing was making its way through the ports.

So, I added to /etc/asterisk/sip_general_custom.conf (called by sip.conf in Trixbox)

nat=yes
externip=72.32.23.235 <--- IP address of Internet connection
localhost=192.168.0.111 <-- local IP address of PBX box

I also did a reboot on the system. In any case, I was able to register after one or both of those things.

I used X-Lite as the SIP phone to test my extension.

X-Lite settings:

ACCOUNT tab

User Details
--------------
Display Name: Disposable Joe
User Name: 1234 <-- Extension created in the web gui
Password: ****** <-- The password (ie secret) for extension
Authorization Name: 1234 <--Enter the extension again
Domain: funpbxbox.dyndns.org <-- static dyndns.org address for the PBX

Domain Proxy
--------------
Check "Register with domain and receive incoming calls"

Send outbound via: domain <-- If you have a proxy, then use proxy, but we don't.

TOPOLOGY tab

Firewall Traversal
--------------
IP Address: Discover global address

STUN Server
--------------
Discover server
Uncheck "Enable ICE"

DJ@Paris

No comments:

Post a Comment