I had a strange issue on my freepbx 16 with asterisk 16.
Their are currently only PJSIP extensions but when i try to call from a snom with an fkey
<fkey idx="0" context="1" label="Person A" perm="R">speed [email protected]</fkey>
(i tried different approeaches also with blf and asterisk xml definition for snom)
The phone receive the message that their is no one available. On the freepbx i see in the log the following:
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
-- Executing [[email protected]:1] GotoIf("PJSIP/5002770-00004bd2", "0?notfromlocal") in new stack
-- Executing [[email protected]:2] GotoIf("PJSIP/5002770-00004bd2", "0?notfromlocal") in new stack
-- Executing [[email protected]:3] GotoIf("PJSIP/5002770-00004bd2", "0?notfromlocal") in new stack
-- Executing [[email protected]:4] GotoIf("PJSIP/5002770-00004bd2", "0?notfromlocal") in new stack
-- Executing [[email protected]:5] NoOp("PJSIP/5002770-00004bd2", ""add custom ringtone for internal call"") in new stack
-- Executing [[email protected]:6] SIPAddHeader("PJSIP/5002770-00004bd2", ""Alert-Info:<http://www.notused.com>;info=friends;x-line-id=0"") in new stack
-- Executing [[email protected]:7] NoOp("PJSIP/5002770-00004bd2", "") in new stack
-- Executing [[email protected]:8] Dial("PJSIP/5002770-00004bd2", "SIP/5002771") in new stack
[2023-03-07 11:46:16] WARNING[72909][C-00011510]: chan_sip.c:6366 create_addr: Purely numeric hostname (5002771), and not a peer--rejecting!
[2023-03-07 11:46:16] NOTICE[72909][C-00011510]: app_dial.c:2687 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'PJSIP/5002770-00004bd2' status is 'CHANUNAVAIL'
-- Executing [[email protected]:1] Macro("PJSIP/5002770-00004bd2", "hangupcall") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/5002770-00004bd2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [[email protected]:3] ExecIf("PJSIP/5002770-00004bd2", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [[email protected]:4] Hangup("PJSIP/5002770-00004bd2", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/5002770-00004bd2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/5002770-00004bd2'
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
-- Executing [[email protected]:1] GotoIf("PJSIP/5002770-00004bd3", "0?notfromlocal") in new stack
-- Executing [[email protected]:2] GotoIf("PJSIP/5002770-00004bd3", "0?notfromlocal") in new stack
-- Executing [[email protected]:3] GotoIf("PJSIP/5002770-00004bd3", "0?notfromlocal") in new stack
-- Executing [[email protected]:4] GotoIf("PJSIP/5002770-00004bd3", "0?notfromlocal") in new stack
-- Executing [[email protected]:5] NoOp("PJSIP/5002770-00004bd3", ""add custom ringtone for internal call"") in new stack
-- Executing [[email protected]:6] SIPAddHeader("PJSIP/5002770-00004bd3", ""Alert-Info:<http://www.notused.com>;info=friends;x-line-id=0"") in new stack
-- Executing [[email protected]:7] NoOp("PJSIP/5002770-00004bd3", "") in new stack
-- Executing [[email protected]:8] Dial("PJSIP/5002770-00004bd3", "SIP/5002772") in new stack
[2023-03-07 11:46:22] WARNING[72992][C-00011511]: chan_sip.c:6366 create_addr: Purely numeric hostname (5002772), and not a peer--rejecting!
Why the hell is the asterisk try to reach a SIP/5002711 extension which don’t exist and not PJSIP/5002711 ?