I’m trying to use the PlusNet free VOIP service with Asterisk. My sip.conf is listed below. The Asterisk server is behind a Pix using static NAT (internal address 192.168.128.4, external 220.127.116.11), so it has it’s own IP address, and for testing I’ve configured the Pix to allow all incoming UDP. The problem is that if I comment out the following lines in the [general] section:
Asterisk connects fine and I can make outgoing calls but all incoming calls get diverted to voicemail. Obviously the PlusNet VOIP system thinks I haven’t connected so there’s no route for incoming calls. This makes sense because I presumably need to configure the external IP. However if I uncomment the lines:
then Asterisk won’t connect at all. “sip show peers” shows the peer as unreachable. I’ve tried “sip debug peer 216632” but I can’t see anything obviously wrong in the stuff it prints. Apologies if this is a FAQ: I’ve found a few questions about PlusNet but nothing that helps with this problem.
register => 216632:firstname.lastname@example.org