05-11-2017 03:34 AM - edited 03-17-2019 10:18 AM
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!
05-11-2017 03:41 AM
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
05-14-2017 08:18 PM
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 .
05-14-2017 09:55 PM
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
05-17-2017 12:12 AM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide