Looks like the variable in the replace string doesn't have brackets for it. The only brackets are taken by the \1 variable. You'd need a second set of brackets to insert the \u01 variable.
On Mon, Jun 11, 2018, 12:29 PM James Buchanan <james.buchan...@gmail.com> wrote: > Hello, > > I am trying to take a REFER header, copy it to a copy list, and use it to > modify the To: header. > > I have an inbound dial peer using: > > voice class sip copy-list 1 > sip-header Refer-To > > > and I have the following SIP profile in place for the outgoing dial peer: > > voice class sip-profiles 1 > request ANY sip-header Refer-To copy > "Refer-To:<sip:12345@1.1.1.1(;custID=1234567;telNum=5551212>)" > u01 > > request INVITE sip-header To modify "(To: <sip:12345@2.2.2.2)>" "\1\u01" > > > Whenever I run this through the SIP profile test tool (at > https://cway.cisco.com/tools/SipProfileTest/) it give me the properly > modified To: header. However, whenever, I run it through CUBE, I get this: > > To: <sip: 12345@2.2.2.2\u01 > > I'm sure there's something simple I'm missing. Any suggestions? > > Thanks, > > James > _______________________________________________ > cisco-voip mailing list > cisco-voip@puck.nether.net > https://puck.nether.net/mailman/listinfo/cisco-voip >
_______________________________________________ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip