Hey Bill,<div><br></div><div>I had to take care of this same issue and did it two ways.</div><div>First way is not as nice and neat but it works. I did it using the below commands on the GW:</div><div><div><br></div><div>voice class sip-profiles 44</div>
<div> request INVITE sip-header Diversion modify "(2...)@" "954713\1@"  ------> matches the 4 digit internal extensions in SIP header and replaces it with the npa-nxx of the DID allowed on that sip trunk.</div>
</div><div><br></div><div>dial-peer voice 101 voip  ----> Dial peer to sip provider</div><div>voice-class sip profiles 44</div><div><br></div><div><br></div><div>Other way was to create a separate partition/CSS just for Cfwd. On the RL I left the Calling party transform mask empty, left the "Use Calling party/external mask" as default. </div>
<div>On the RG in "outbound calls" I left the "Calling party selection" as originator.</div><div>On the SIp trunk in "outbound calls" i also left the  "Calling party selection" as originator and the rest as default. This was on cucm 7.1 with CUBE 12.4.22T I think.</div>
<div><br></div><div>Hope that helps somewhat. </div><div><br></div><div>Joel P.</div><div><br></div><div><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 11:05 AM, Bill Riley <span dir="ltr"><<a href="mailto:bill@hitechconnection.net">bill@hitechconnection.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"> </p><p class="MsoNormal">I have a SIP trunk from Quest. They require the outbound caller-ID to be a 10-digit number assigned to that SIP trunk. When a user places an outbound call I have the external phone number mask set to their 10 digit DID. When the user sets their phone to CFA to a cell phone the call fails. We set the Calling party selection to first redirected number and check Redirecting Diversion Header Deliver on the CUCM SIP trunk. Now the gateway sees the four digit extension of the original caller.  I would like to send the original caller 10-digit number as the caller-id but if I can’t do that how can I send the IP phones 10 digit number as the caller-id so the call completes correctly. </p>
</div></div><br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br></div>