UCP PJSIP State Unavailable

Hi. I’m using FreePBX 16, Asterisk 18 and PJSIP.

I can login to UCP and make an outbound call as you can see in the screenshot.
I also include a text version below where extension 49011 state is “InUse” (outbound call).
However, this extension cannot receive incoming.

Outbound Log:

[email protected]     : PJSIP/49011&PJSIP/99  State:InUse           Presence:available       Watchers  0
[email protected]     : PJSIP/49010&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49008&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49009&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49000&PJSIP/99  State:Unavailable     Presence:not_set         Watchers  1
[email protected]     : PJSIP/49001&PJSIP/99  State:Unavailable     Presence:not_set         Watchers  1
[email protected]     : PJSIP/49002&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49003&PJSIP/99  State:Unavailable     Presence:available       Watchers  0
[email protected]     : PJSIP/49004&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49005&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49006&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49007&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
_*[email protected] : Custom:DEVCF${EXTEN:  State:Unavailable     Presence:                Watchers  0
_*[email protected]: Custom:DEVDND${EXTEN  State:Unavailable     Presence:                Watchers  0
_*45XXXXXXX*[email protected]: Custom:QUEUE${EXTEN:  State:Unavailable     Presence:                Watchers  0
_*46*XXXXX*[email protected]: Queue:80000_pause_Lo  State:Unavailable     Presence:                Watchers  0
_*[email protected]    : ${DB(AMPUSER/${EXTEN  State:Unavailable     Presence:                Watchers  0
[email protected]        : SIP/1234              State:Unavailable     Presence:not_set         Watchers  0
_*[email protected]: Custom:FOLLOWME${EXT  State:Unavailable     Presence:                Watchers  0
[email protected]   : PJSIP/User3           State:Unavailable     Presence:not_set         Watchers  0
_*[email protected]   : MWI:${EXTEN:3}@${DB(  State:Unavailable     Presence:                Watchers  0
----------------
- 46 hints registered
balch5gw2*CLI>
[2022-07-15 12:48:59] ERROR[14870]: res_pjsip.c:1619 endpt_send_request: Error 171060 'Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint 9949011

The log below shows extension 49011 state as “Unavailable” when there is no active call, but its still registered according to the status in UCP. WebRTC also works, but with the same problem, cannot receive inbound call. Is there something that I missed in the configuration ?

Inbound Log:

[email protected]     : PJSIP/49011&PJSIP/99  State:Unavailable     Presence:available       Watchers  0
[email protected]     : PJSIP/49010&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49008&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49009&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49000&PJSIP/99  State:Unavailable     Presence:not_set         Watchers  1
[email protected]     : PJSIP/49001&PJSIP/99  State:Unavailable     Presence:not_set         Watchers  1
[email protected]     : PJSIP/49002&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49003&PJSIP/99  State:Unavailable     Presence:available       Watchers  0
[email protected]     : PJSIP/49004&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49005&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49006&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
[email protected]     : PJSIP/49007&Custom:D  State:Unavailable     Presence:not_set         Watchers  0
_*[email protected] : Custom:DEVCF${EXTEN:  State:Unavailable     Presence:                Watchers  0
_*[email protected]: Custom:DEVDND${EXTEN  State:Unavailable     Presence:                Watchers  0
_*45XXXXXXX*[email protected]: Custom:QUEUE${EXTEN:  State:Unavailable     Presence:                Watchers  0
_*46*XXXXX*[email protected]: Queue:80000_pause_Lo  State:Unavailable     Presence:                Watchers  0
_*[email protected]    : ${DB(AMPUSER/${EXTEN  State:Unavailable     Presence:                Watchers  0
[email protected]        : SIP/1234              State:Unavailable     Presence:not_set         Watchers  0
_*[email protected]: Custom:FOLLOWME${EXT  State:Unavailable     Presence:                Watchers  0
[email protected]   : PJSIP/User3           State:Unavailable     Presence:not_set         Watchers  0
_*[email protected]   : MWI:${EXTEN:3}@${DB(  State:Unavailable     Presence:                Watchers  0
----------------
- 46 hints registered
[2022-07-15 12:55:59] ERROR[14870]: res_pjsip.c:1619 endpt_send_request: Error 171060 'Unsupported transport (PJSIP_EUNSUPTRANSPORT)' sending OPTIONS request to endpoint 9949011

Thanks.

What’s the Asterisk version? there was a bug with WebRTC so you want to be in at least 18.12.1

Asterisk versions is 18.12.0
I will try your recommendation. Thanks.

Thank you. The issue has been fixed on a recent version of Asterisk 18.13.0

1 Like

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