# Why My PjSIP Endpoints are not getting registered?

**URL:** <https://community.asterisk.org/t/why-my-pjsip-endpoints-are-not-getting-registered/103444>\
**Category:** Asterisk SIP\
**Created:** [July 19, 2024, 11:05am UTC](https://community.asterisk.org/t/why-my-pjsip-endpoints-are-not-getting-registered/103444 "2024-07-19T11:05:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shafty](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/shafty/32/9927_2.png) [@shafty](https://community.asterisk.org/u/shafty)\
**Post date:** [July 19, 2024, 11:05am UTC](https://community.asterisk.org/t/why-my-pjsip-endpoints-are-not-getting-registered/103444/1 "2024-07-19T11:05:41Z")

</div>

[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

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [July 19, 2024, 11:37am UTC](https://community.asterisk.org/t/why-my-pjsip-endpoints-are-not-getting-registered/103444/2 "2024-07-19T11:37:59Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![airsay](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@airsay](https://community.asterisk.org/u/airsay)\
**Post date:** [July 19, 2024, 11:59am UTC](https://community.asterisk.org/t/why-my-pjsip-endpoints-are-not-getting-registered/103444/3 "2024-07-19T11:59:45Z")

</div>

@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

---

<div class="post-metadata">

**Author:** ![shafty](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/shafty/32/9927_2.png) [@shafty](https://community.asterisk.org/u/shafty)\
**Post date:** [July 19, 2024, 3:55pm UTC](https://community.asterisk.org/t/why-my-pjsip-endpoints-are-not-getting-registered/103444/4 "2024-07-19T15:55:21Z")

</div>

[Asterisk PJSIP Troubleshooting Guide - Asterisk Documentation](https://docs.asterisk.org/Configuration/Channel-Drivers/SIP/Configuring-res_pjsip/Asterisk-PJSIP-Troubleshooting-Guide/)  
currently reading the above link 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [August 18, 2024, 3:56pm UTC](https://community.asterisk.org/t/why-my-pjsip-endpoints-are-not-getting-registered/103444/5 "2024-08-18T15:56:13Z")

</div>

Closed on August 18, 2024, 3:56pm UTC

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