Asterisk – Monitoring registrations

When you set up VoIP trunks from the Asterisk server to various providers, what you’re really doing is registering Asterisk as a VoIP client. To monitor the status of each trunk’s registration, use the sip show registry and iax2 show registry commands. Here’s a SIP trunk registration in progress:

    kartookpbx*CLI> sip show registry
    Host                            Username       Refresh State     s00567734dr          120 Auth. Sent

Here’s an IAX trunk registration:

    kartookpbx*CLI> iax2 show registry
    Host                  Username    Perceived             Refresh  State     testkartokkring  <Registered>             60  Registered

You can also follow VoIP trunk registrations in Asterisk’s detail log output.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.