/mcpCopy the number in the To header in an inbound Invite message and modify the outgoing INVITE:
voice class sip-copylist 1 sip-header TO
voice class sip-profiles 2 request INVITE peer-header sip TO copy "sip:(.)@" u01 request INVITE sip-header SIP-Req-URI modify ".@(.*)" "INVITE sip:\u01@\1"
Copy Number from To Header in an Incoming Invite to the REQ-URI Parameter (with Inbound SIP Profiles)
voice class sip-profiles 1 request INVITE sip-header TO copy "sip:(.)@" u01 request INVITE sip-header SIP-Req-URI modify ".@(.*)" "INVITE sip:\u01@\1"
voice service voip sip sip-profiles inbound sip-profiles 1 inbound
