cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1144
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Tore Skancke on 13-05-2011 05:26:10 AM
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

Subject: RE: Remove "Asserted Identity" from SIP header using LUA
Replied by: Yossi Ben Hagai on 27-07-2011 03:06:30 PM
Hi,
 
The following code should do what you've requested:
 
M = {}
function M.inbound_INVITE(msg)
    msg:removeHeader("P-Asserted-Identity")
end
return M

 
Regards,
Yossi.

Subject: RE: Remove "Asserted Identity" from SIP header using LUA
Replied by: Yossi Ben Hagai on 27-07-2011 03:07:32 PM
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


Subject: RE: Remove "Asserted Identity" from SIP header using LUA
Replied by: Tore Skancke on 08-08-2011 04:46:43 AM
I figured it out myself, but thanks a lot for answeringYossi!
Thumbs up for you

Best reg,
Tore
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links