On second look, I don't think I got that right, so disregard :-)

On Mon, Jun 11, 2018, 12:53 PM Evgeny Izetov <[email protected]> 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 <[email protected]>
> 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:[email protected](;custID=1234567;telNum=5551212>)"
>> u01
>>
>>  request INVITE sip-header To modify "(To: <sip:[email protected])>" "\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: [email protected]\u01
>>
>> I'm sure there's something simple I'm missing. Any suggestions?
>>
>> Thanks,
>>
>> James
>> _______________________________________________
>> cisco-voip mailing list
>> [email protected]
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>
>
_______________________________________________
cisco-voip mailing list
[email protected]
https://puck.nether.net/mailman/listinfo/cisco-voip

Reply via email to