Yep, tried that. We only have 1 trunk configured. What could the inbound / outbound trunk add to the picture? It doesn't change all that much. Fact will remain that it sends out our SIP account name, instead of a number. See codebox below, this is the invite the PBX makes when it starts a new call for the redirection.
Real:
INVITE sip:316148xxxxx@test.winitu.com SIP/2.0
Via: SIP/2.0/UDP 10.1.2.250:5060;branch=z9hG4bK-0cef403e1f3262153d574353882d0166;rport
From: "ocsproduction" <sip:ocsproduction@test.provider.com>;tag=852891320
To: <sip:316148xxxxxx@test.provider.com;user=phone>
Call-ID: 9415cdaa@pbx
CSeq: 2199 INVITE
Max-Forwards: 70
Contact: <sip:ocsproduction@10.1.2.250:5060;transport=udp>
Supported: 100rel, replaces, norefersub
Allow-Events: refer
Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE
Accept: application/sdp
User-Agent: pbxnsip-PBX/4.0.1.3438
Related-Call-ID: 1761cef4@pbx
Content-Type: application/sdp
Content-Length: 233
Instead of the sip:ocsproduction@test.provider.com, we want it to give the extension ANI, which is a DID. So e.g. FROM: <sip:0123456DID@test.provider.com>.