I have an Asterisk server in one Amazon EC2 running in Ubuntu server LTS 16.04 and migrate to use PJSIP protocol, before I was using SIP and was working properly, now after migration the extention shows like connected but unavailable, the calls doesn’t ring with exception one extension.
I have 3 extensions created and only one rings and show as Available, the 3 extensions have the same settings.
6001 work, available and ring
6002 doesn’t work, unavailable and doesn’t ring
6003 doesn’t work, unavailable and doesn’t ring
ip-172-31-12-250*CLI> pjsip show endpoints
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: 6001/6001 Not in use 0 of inf
InAuth: auth6001/6001
Aor: 6001 3
Contact: 6001/sip:6001@187.181.178.208:7190;rinstan 50e720a05a Avail 49.936
Transport: simpletrans udp 0 0 0.0.0.0:5060
Identify: 6001/6001
Endpoint: 6002/6002 Unavailable 0 of inf
InAuth: auth6002/6002
Aor: 6002 3
Contact: 6002/sip:6002@192.168.0.102:36912 919ea93bb6 Unavail 0.000
Transport: simpletrans udp 0 0 0.0.0.0:5060
Identify: 6002/6002
Endpoint: 6003/6003 Unavailable 0 of inf
InAuth: auth6003/6003
Aor: 6003 3
Contact: 6003/sip:6003@192.168.0.103:5062 c29db4164e Unavail 0.000
Transport: simpletrans udp 0 0 0.0.0.0:5060
Identify: 6003/6003
Objects found: 3