Hi everyone,
I have tried to do this and it won't work. When a call comes in via the DID it routes to the inbound office hour rule of the analog port configured on the AudioCodes MP-118 (see the first line at the bottom of the below server log). From reading, it sounds like the TO should show the DID number, not '800' which is my DR.
12:50:22.655 MediaServerReporting:

TMFhandler [MS211000] C:89.1: 10.1.10.95:6010 is delivering DTMF using RTP payload (RFC2833). In-Band DTMF tone detection is disabled for this call segment.
12:50:20.389 LineCfg::getInboundTarget [CM503011]: Inbound office hours' rule for LN:10801 forwards to DN:800
12:50:20.373 CallCtrl:

nLegConnected [CM503007]: Call(89): Device joined: sip:
[email protected]:5060
12:50:19.936 CallCtrl:

nLegConnected [CM503007]: Call(89): Device joined: sip:
12:50:19.936 CallCtrl:

nSelectRouteReq [CM503004]: Call(89): Calling: IVR:800@[Dev]
12:50:19.920 Line:

rintEndpointInfo [CM505002]: Gateway:[audiocodes] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Audiocodes-Sip-Gateway-MP-118 FXO/v.5.00A.024] Transport: [sip:10.1.10.90:5060]
12:50:19.920 LineCfg::getInboundTarget [CM503011]: Inbound office hours' rule for LN:10801 forwards to DN:800
12:50:19.889 CallCtrl:

nIncomingCall [CM503001]: Call(89): Incoming call from 7813255085@(Ln.10801@audiocodes) to [sip:
[email protected]:5060]
12:50:19.873 LineCfg::getInboundTarget [CM503011]: Inbound office hours' rule for LN:10801 forwards to DN:800