Why My PjSIP Endpoints are not getting registered?

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

[777]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=777
aors=777

[777]
type=auth
auth_type=userpass
password=myPassword
username=777

[777]
type=aor
max_contacts=1

[999]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=999
aors=999

[999]
type=auth
auth_type=userpass
password=myPassword
username=999

[999]
type=aor
max_contacts=1

There’s insufficient information. You haven’t stated what actually happens.

  1. What does the endpoint state?
  2. Is traffic being received in Asterisk?
  3. Is anything output in Asterisk?

@shafty

I think you need to keep your posts organized and somewhat related. You are still getting the hang of things so maintaining many posts about the things you are learning may be counter productive for the time being.

I’m assuming you have successfully installed Asterisk. Did you install it following a similar path as the book (Asterisk The Definitive Guide 5th ed).

If you did, that setup is expecting to get pjsip details from a database and not the pjsip.conf file.

Anyway, install sngrep on CentOS 9 (sudo yum install sngrep -y) , run it by typing sngrep then attempt to register your endpoints and see if there’s any activity on sngrep

Asterisk PJSIP Troubleshooting Guide - Asterisk Documentation
currently reading the above link :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.