cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
4
Replies

SIP Normalization script Help

Zong Yang Huang
Level 1
Level 1

Dear All,

I have sip phone,and it need P-Asserted-Identity header to display caller id,but I see ringing message,there is no P-Asserted-Identity get from callmanger.

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.33.144.250:62682;branch=z9hG4bK-524287-1---055e8000298fd458;rport
From: "6301"<sip:6301@10.13.22.230>;tag=894cea68
To: <sip:7001@10.13.22.230>;tag=378~356d0c94-e01b-4a3b-8929-c4c61b669fef-19952571
Date: Thu, 11 May 2017 09:34:25 GMT
Call-ID: 82158NmY2NzJiOTgzOTY0OTNmMmJiNzFiYWRiYmQwNWM5MDU
CSeq: 1 INVITE
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
Allow-Events: presence
Server: Cisco-CUCM11.0.1.21900-11
Send-Info: conference, x-cisco-conference
Session-ID: e78cea23b2b6482e891bedba19952572;remote=1f13c4cd75e4dde494b157cb5a0aa378
Remote-Party-ID: "room 7001" <sip:7001@10.13.22.230>;party=called;screen=yes;privacy=off
Contact: <sip:7001@10.13.22.230:5060>
Content-Length: 0

I write below lua script,but it doesn't work.

M = {}
function M.outbound_Ringing(msg)
msg:addHeader("P-Asserted-Identity")
end
return M

Anyone has idea?thanks!

4 Replies 4

No need for lua. This is basic feature. 

Under you SIP trunk, scroll down to Call Routing Information  and enable Asserted-Identity check box. You can also change asserted-type to PAI

Hi Mohammed, 

Our sip phones directly registered with callmanger,not via sip trunk.We want to know if there is same idea like sip trunk .

Hi Zong,

I think I rushed in thinking this is for SIP trunk. Such option isn't present for SIP phones. You need to have a lua script to append this header

Hi Mohammed, 

Yes,I added a lua script,but it doesn't works.Do you have any idea about the script?

M = {}
function M.outbound_Ringing(msg)
msg:addHeader("P-Asserted-Identity")
end
return M

Thanks!