Also having a similar problem. Just installed the newest version of FreePBX as the OP. We have an external phone that we can’t register. Tried with SIP and PJSIP, cannot make or receive calls (goes straight to VM). Can anyone help shed some light?
-- Executing [1321@from-internal:5] Gosub("PJSIP/1805-0000000f", "sub-presencestate-display,s,1(1321)") in new stack
[2014-11-17 17:43:27] WARNING[11090][C-00000010]: func_presencestate.c:133 presence_read: PRESENCE_STATE unknown
-- Executing [s@sub-presencestate-display:1] Goto("PJSIP/1805-0000000f", "state-,1") in new stack
-- Goto (sub-presencestate-display,state-,1)
-- Executing [state-@sub-presencestate-display:1] Set("PJSIP/1805-00000030", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-@sub-presencestate-display:2] Return("PJSIP/1805-00000030", "") in new stack
As we sit and wait, this shows up in the console.
[2014-11-17 17:49:31] NOTICE[7894]: res_pjsip/pjsip_distributor.c:255 log_unidentified_request: Request from '"Unknown" <sip:[email protected]>' failed for '181.71.181.151:5060' (callid: [email protected]:5060) - No matching endpoint found
[2014-11-17 17:49:31] NOTICE[7894]: res_pjsip/pjsip_distributor.c:255 log_unidentified_request: Request from '"Unknown" <sip:[email protected]>' failed for '181.71.181.151:5061' (callid: [email protected]:5060) - No matching endpoint found
If we check for connected sip peers …
FreePBX*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
1321 181.71.181.151 Yes Yes A 5060 OK (1 ms)
Along with an entry for the inbound and outbound trunk, sip_additional.conf says …
[1321]
deny=0.0.0.0/0.0.0.0
secret=VerySecret123
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=office.domain.com
trustrpid=yes
sendrpid=no
type=friend
nat=force_rport,comedia
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
force_avp=no
icesupport=yes
encryption=no
callgroup=
pickupgroup=
dial=SIP/1321
mailbox=1321@default
permit=0.0.0.0/0.0.0.0
callerid=Name <1321>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic