<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)">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">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">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>