Scenario:
You have a range of phone number for your pbx, example 04012345600 - 04012345620 (20 numbers) and only enter 5 (04012345600 - 04) of them as inbound routes.
When you dial 0401234565 you only get the providers operator telling you that something is wrong with the number dialed. ext-did-catchall should catch this with but it never does.
Here is a trace what happens:
-- Executing [04012345605@from-sip-external:1] NoOp("SIP/xxx.xxx.xxx.xxx-08473ca0", "Received incoming SIP connection from unknown peer to 04012345605") in new stack
-- Executing [04012345605@from-sip-external:2] Set("SIP/xxx.xxx.xxx.xxx-08473ca0", "DID=04012345605") in new stack
-- Executing [04012345605@from-sip-external:3] Goto("SIP/xxx.xxx.xxx.xxx-08473ca0", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/xxx.xxx.xxx.xxx-08473ca0", "1?from-trunk|04012345605|1") in new stack
-- Goto (from-trunk,04012345605,1)