Hi,
I’ve got a few pjsip extensions registered using freepbx.
Here’s the (partial) output from pjsip show endpoints:
Endpoint: 100/100 Not in use 0 of inf
InAuth: 100-auth/100
Aor: 100 1
Contact: 100/sip:[email protected]:12410;transport=T 127383ff5c Avail 17.425
Endpoint: 101/101 Not in use 0 of inf
InAuth: 101-auth/101
Aor: 101 1
Contact: 101/sip:[email protected]:37249;transport=T c01a62a4d0 Avail 3.575
For some reason, internal calls do not work.
I have so far:
checked that both extens use the context from-internal
changed my outbound route dialplan from X. to XXXX., because previously these internal calls would be routed out via a trunk
tried calling both 101 and (with prefix)*101
I can see in asterisk that the following dialplan function is triggered:
-- Executing [100@from-internal:5] Playback("PJSIP/101-0000000f", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
How odd, there is no associated dialplan for your local extensions. How were they created? If you edit an extension, submit the page with no changes and apply config, does anything change?
From my research, only the users extensions are added to the dialplan (specifically, the contextext-local) when using freepbx in users/devices mode. The devices are not added to the dialplan.
Therefore it’s necessary to add them to extensions_custom.conf manually, for example like this: