Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How come my PAP2T cannot connect to my own Private Asterisk server? This set-up has worked fine for 18 months and I am not aware of any changes on the server. It could be a port being not properly forwarded, but it seems all ports are forwarded properly in the router configuration and the softphones work fine.

Display Name:           .............
User ID:                101
Hook State:             On
Registration State:     Can't connect to login server
Last Registration At:   0/0/0 00:00:00
Next Registration In:   14 s
Message Waiting:        No
Call Back Active:       No

When logged in into the asterisk server with asterisk -r, it only shows the registrations of the softphones, but not the pap2t adaptor.

Any advice, even on troubleshooting, is very welcome!

share|improve this question
up vote 0 down vote accepted
  1. Increase the verbosity in logs and read through logs to see if it may indicate what the problem is when you try to connect the adapter.

    Here's how you increase verbosity:

    a) Edit /etc/asterisk/asterisk.conf using the editor of your choice

    b) Add the following line

     verbose => 4
  2. Via the CLI, you can also enable SIP debugging to view the SIP "conversation" that takes place between two devices (this makes for a fantastic tool when debuging all sorts of SIP issues)

    cli> sip set debug peer 101
share|improve this answer

The PAP2T supports various timeout and retry counters. You might want to experiment with what works well for you. If traversing a NAT the address translation table may be forgetting about established connections if there is too great a period of inactivity.

If WAN management is enabled on your ATA, you should be able to remotely reboot the PAP2T in order to manually cause it to re-register with Asterisk. Direct your browser to http://[IP of PAP2T]/admin/reboot

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.