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.
When I looked at the Call-Info header, it was different that the 11.5(1)SU5 system I tested on. The %22 was not in the header, rather it looked like this: huntpiloturi="Your Hunt Pilot Name<sip:\+16125551212@10.1.1.10>"; And in order to correct it to look like this (placement of double quotes): huntpiloturi="Your Hunt Pilot Name"<sip:\+16125551212@10.1.1.10>; I had to adjust the gsub find/replace with this: local new_call_info = string.gsub(old_call_info, "huntpiloturi=\"(.*)<(.*)>\";", "huntpiloturi=\"%1\"<%2>;") On Thu, Aug 1, 2019 at 11:40 AM Anthony Holloway < avholloway+cisco-v...@gmail.com> wrote: > 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. > > > > I found a defect (CSCvn39109 > <https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvn39109>) 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. > > > > 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. > > > > That Lua script looks like this: > > > > M = {} > > > > local function hunt_uri_rollback(msg) > > > > local old_call_info = msg:getHeader("Call-Info") > > local new_call_info = string.gsub(old_call_info, > "huntpiloturi=\"%%22(.*)%%22(.*)\";", "huntpiloturi=\"%1\"%2;") > > msg:modifyHeader("Call-Info", new_call_info) > > > > end > > > > M.outbound_INVITE = hunt_uri_rollback > > M.outbound_UPDATE = hunt_uri_rollback > > > > return M > > > > Again, you apply it to a SIP Profile, which you then apply to the phone. > Then restart the phone. > > > The Pre-Lua script Call-Info header looks like this: > > > Call-Info: <urn:x-cisco-remotecc:callinfo>; security= Unknown; > orientation= from; gci= 4-166949; *huntpiloturi="%22Your Hunt Pilot > Name%22<sip:\+16125551212@10.1.1.10 <16125551212@10.1.1.10>>";* isVoip; > call-instance= 1 > > > The Post-Lua script Call-Info header looks like this: > > > Call-Info: <urn:x-cisco-remotecc:callinfo>; security= Unknown; > orientation= from; gci= 4-166949; *huntpiloturi="Your Hunt Pilot > Name"<sip:\+16125551212@10.1.1.10 <16125551212@10.1.1.10>>;* isVoip; > call-instance= 1 > > > 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. > > > PS Make sure you have the CM Advanced Service Parameter set to True > (default): Display Hunt Pilot Name or DN for Hunt Group Calls When > Alerting. >
_______________________________________________ cisco-voip mailing list cisco-voip@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip