Running FreePBX 17, all updates installed, with guest/anon SIP calls enabled.
New extension created, 511, I can successfully call [email protected] - the call is routed correctly.
I then added a SIP Alias to the extension 511 for user.name - then tried calling [email protected] but it results in:
NOTICE[478873] res_pjsip_session.c: anonymous: Call (UDP:xx.xx.xx.xx:31991) to extension 'user.name' rejected because extension not found in context 'from-sip-external'.
Would someone be so kind as to tell me what I’m possibly missing? Or am I misunderstanding the ‘SIP Alias’ on the extension?
However, the alias is set in extensions_additional.conf file - so I’m not sure if it’s not ‘seeing’ the alias, or whether extensions.conf automatically leads on to extensions_additional.conf?
This is the line that does the heavy lifting for from-sip-external
'_X.' => 1. NoOp(Received incoming SIP connection from unknown peer to ${EXTEN}) [extensions.conf:186]
See the _X., that will ONLY match a numeric sequence (or a string starting with digit, not sure). This was changed in version 17, because on 16, the line is:
'_.' => 1. NoOp(Received incoming SIP connection from unknown peer to ${EXTEN}) [extensions.conf:186]
This is a 17 bug, we’ve seen another case of this where _. was changed to _X. in 17. Open a ticket on github.