<div dir="ltr">Update: I tried to use this solution on an 11.5(1)SU6 system, and it didn't work. This is not great, but neither is the original issue.<div><br></div><div>When I looked at the Call-Info header, it was different that the 11.5(1)SU5 system I tested on.</div><div><br></div><div>The %22 was not in the header, rather it looked like this:</div><div><br></div><div><font face="monospace">huntpiloturi="Your Hunt Pilot Name<sip:\+<a href="mailto:16125551212@10.1.1.10">16125551212@10.1.1.10</a>>";</font></div><div><br></div><div>And in order to correct it to look like this (placement of double quotes):</div><div><br><font face="monospace">huntpiloturi="Your Hunt Pilot Name"<sip:\+<a href="mailto:16125551212@10.1.1.10">16125551212@10.1.1.10</a>>;</font><br></div><div><br></div><div>I had to adjust the gsub find/replace with this:</div><div><br></div><div><font face="monospace">local new_call_info = string.gsub(old_call_info, "huntpiloturi=\"(.*)<(.*)>\";", "huntpiloturi=\"%1\"<%2>;")</font><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 1, 2019 at 11:40 AM Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com">avholloway+cisco-voip@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I was configuring some new stuff for a customer recently, and
as I was making test calls, I noticed the 7800/8800 series phones were not
showing the Hunt Pilot Alerting Name like I'm used to.</p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">I found a defect (<a href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvn39109" style="color:rgb(5,99,193)" target="_blank">CSCvn39109</a>)
which basically says that CUCM 11.5(1)SU5+ was updated to change the way it
presents the Hunt Pilot name to the phone, and the phone firmware has not
been updated to parse it.</p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt">I implemented a SIP Normalization
script on the SIP Profile applied to the phones, which rolls back the format to
pre- CUCM 11.5(1)SU5.</span><br></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">That Lua script looks like this:</p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">M = {}</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"> </font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">local function
hunt_uri_rollback(msg)</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"> </font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"> local
old_call_info = msg:getHeader("Call-Info")</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"> local
new_call_info = string.gsub(old_call_info,
"huntpiloturi=\"%%22(.*)%%22(.*)\";",
"huntpiloturi=\"%1\"%2;")</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">
msg:modifyHeader("Call-Info", new_call_info)</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"> </font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">end</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"> </font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">M.outbound_INVITE =
hunt_uri_rollback</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">M.outbound_UPDATE =
hunt_uri_rollback</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"> </font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">return M</font></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"> </p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Again, you apply it to a SIP Profile, which you then apply to the
phone. Then restart the phone.</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">The Pre-Lua script Call-Info header looks like this:</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace">Call-Info: <urn:x-cisco-remotecc:callinfo>; security= Unknown; orientation= from; gci= 4-166949; <b>huntpiloturi="%22Your Hunt Pilot Name%22<sip:\+<a href="mailto:16125551212@10.1.1.10" target="_blank">16125551212@10.1.1.10</a>>";</b> isVoip; call-instance= 1</font><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">The Post-Lua script Call-Info header looks like this:</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt"><font face="courier new, monospace"><span style="font-size:14.6667px">Call-Info: <urn:x-cisco-remotecc:callinfo>; security= Unknown; orientation= from; gci= 4-166949; <b>huntpiloturi="Your Hunt Pilot Name"<sip:\+<a href="mailto:16125551212@10.1.1.10" target="_blank">16125551212@10.1.1.10</a>>;</b> isVoip; call-instance= 1</span> </font><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt">Seeing the alerting name on the phone is a really useful feature in my opinion, and so I hope this helps you out until Cisco fixes this with a software patch.</span><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt"><br></span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt">PS Make sure you have the CM Advanced Service Parameter set to True (default): </span><span style="font-family:Arial,Helvetica,sans-serif;font-size:small">Display Hunt Pilot Name or DN for Hunt Group Calls When Alerting.</span></p></div>
</blockquote></div>