After deleting Pjsip extension the endpoint remains

Good morning

When I delete a PJSIP extension, apparently the endpoint remains, and of course I can’t reuse the same extension number if I need to recreate it. How can I delete the endpoint? In this example we have the 2000 extension that I deleted in its day, but its associated endpoint appears and I can’t find a way to delete it. Any procedure? Thank you very much.


Which version of VitalPBX?


I suppose you could do it via cli:

asterisk -r (to connect)
pjsip show endpoints like 100
database del registrar/contact 100;@c0c6bcef22671002

This is the result of command

pjsip show endpoints like 2000

Endpoint: <Endpoint/CID…> <State…> <Channels.>
I/OAuth: <AuthId/UserName…>
Aor: <Aor…>
Contact: <Aor/ContactUri…> <Hash…> <RTT(ms)…>
Transport: <TransportId…> <BindAddress…>
Identify: <Identify/Endpoint…>
Match: <criteria…>
Channel: <ChannelId…> <State…> <Time…>
Exten: <DialedExten…> CLCID: <ConnectedLineCID…>

Endpoint: 2000/2000 Unavailable 0 of inf
OutAuth: auth2000/2000
InAuth: auth2000/2000
Aor: 2000 1

Objects found: 1

After executing database del registrar/contact 2000 (dont see the key)
the command says that registry removed, but still there. Made a reload, but nothing

Sorry, one command missing:
database show

Then find the extension. For instance:

database show
only shows this


The endpoints was registered to 2000 and 822255775 extensions that are not shown here and no “hash”… (822255775 and 0822255775 are not the same)
but still are shown at the panel

This is that the panel shows:



To delete the extension do you use the Remove Device option?
Do you see the device under Extensions > Hot Desking?


This is the only question i’ve got when deleting an extension


About Host desking, no, I don’t see them there

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