[cisco-voip] SIP header modification
James Buchanan
james.buchanan2 at gmail.com
Tue Jun 12 09:39:55 EDT 2018
Hello everyone,
This one was due to a Cisco bug, documented here:
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvd30171.
Thanks,
James
On Mon, Jun 11, 2018 at 5:53 PM, Evgeny Izetov <eizetov at gmail.com> wrote:
> 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.buchanan2 at 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 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
>> _______________________________________________
>> cisco-voip mailing list
>> cisco-voip at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20180612/dfa5a65f/attachment.html>
More information about the cisco-voip
mailing list