[cisco-voip] SIP header modification

James Buchanan james.buchanan2 at gmail.com
Mon Jun 11 12:29:08 EDT 2018


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 at 1.1.1.1(;custID=1234567;telNum=5551212>)"
u01

 request INVITE sip-header To modify "(To: <sip:12345 at 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 at 2.2.2.2\u01

I'm sure there's something simple I'm missing. Any suggestions?

Thanks,

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20180611/07029884/attachment.html>


More information about the cisco-voip mailing list