IPT

nomalization Script CUCM

말없는채플린씨 2015. 7. 23. 15:33

M = {}


-- Allow this header to be passed through

M.allowHeaders = {"P-asserted-Identity"}


local function handle_outbound_invite(msg)

    

   local pai_header = msg:getHeader("P-asserted-Identity")

            

   if pai_header

   then 

      msg:addHeader("Call-Info",pai_header)

   end

end



M.outbound_INVITE      = handle_outbound_invite

return M