Blogs

Showing 1 - 5 of 21 results.
Items per Page 5
of 5

Forums

« Back to SIP Transparency and Normalization Questions

Remove "Asserted Identity" from SIP header using LUA

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi.
 
Can someone help me make a LUA script which removes the "Asserted Identity" field in the SIP header for inbound calls to a CUCM 8 SIP trunk?
 
Thanks.
 
Best reg,
 
Tore S

Hi.
 
Can someone help me make a LUA script which removes the "Asserted Identity" field in the SIP header for inbound calls to a CUCM 8 SIP trunk?
 
Thanks.
 
Best reg,
 
Tore S

 
The following code should do what you have requested:
 
M = {}
function M.inbound_INVITE(msg)
    msg:removeHeader("P-Asserted-Identity")
end
return M

I figured it out myself, but thanks a lot for answeringYossi!
Thumbs up for youemoticon

Best reg,
Tore

Collateral


No files available