Is the inbound route description available in the dial plan?

Is the inbound route description available in the dial plan like the inbound route DID -> FROM_DID? FROM_DID_DESC or something like that?

edit - rather missed the fact you were looking for INBOUND route name so the following won’t help. I don’t know of a way to get the Inbound Route name. You can add a feature request for an inbound route noop trace at issues.freepbx.org.

It is. In Advanced Settings, set “NoOp Traces in Dialplan” to 1 or higher and Apply settings. You outbound calls now get a log entry identifying the outbound route like this:

Executing [<<dialled_digits>>@from-internal:2] NoOp("SIP/107-0000000c", "[TRACE](1) Calling Out Route: Local") in new stack

As well as the NoOp line, the channel variable, ${OUTBOUND_ROUTE_NAME} is set which can be used in custom coding, such as populating the unused userfield column in the CDR:

[macro-dialout-trunk-predial-hook]
exten => s,1,set(CDR(userfield)=${OUTBOUND_ROUTE_NAME})

…Ok thank you…