-- Executing [117@from-internal:1] Dial("SIP/1092-00000eb0", "SIP/117,10,tT") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [117@from-internal:2] GotoIf("SIP/1092-00000eb0", "1?TransferFailed") in new stack
== Spawn extension (from-internal, 117, 2) exited non-zero on 'SIP/1092-00000eb0'
-- Executing [h@from-internal:1] Macro("SIP/1092-00000eb0", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1092-00000eb0", "1?theend") in new stack
When changing 117 to 1117 (4 digits) it is working correctly.
How can I call externally to 117 and prevent the call going to internal SIP/117?
There is dialplan on your pbx that you placed there. The log lines provided are not indicative of FreePBX generated dialplan. There are only a few places you could have put it, probably in /etc/asterisk/extensions_custom.conf.