Summary:ASTERISK-17910: Sip NOTIFY does not populate polycom Callerid FROM
Reporter:Mark Murawski (kobaz)Labels:
Date Opened:2011-05-23 17:20:28Date Closed:
Versions:Frequency of
Description:When you set up a polcyom phone for monitoring via BLF, the monitoring phone does not display callerid.


Example config on the phone sip:6865@
 <attendant attendant.reg="1" attendant.uri="blf@"

Say that sip:6850@ is dialed.  On the display of the monitoring phone (6865), you will see:
To: sip:6850@

On the display of sip:6850@ you would see:
From: FooBarBaz (6230)

The callerid is missing on the phone that received the NOTIFY.

There seems to be a sip header field that's missing from the NOTIFY.

Here's the notify, which, does not include any information about who made the call.

[2011-05-23 17:46:55] -- SIP/6230-00000011 calling SIP/6850-00000012 (callee is ringing)
NOTIFY sip:6865@ SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bK25054188
Max-Forwards: 70
From: <sip:6850@>;tag=as775ffb03
To: "6865" <sip:6865@>;tag=8595EAF6-B2618921
Contact: <sip:6850@>
Call-ID: a9ea00e4-90ff1de7-3dbb1dc6@
CSeq: 117 NOTIFY
User-Agent: Asterisk PBX SVN-branch-1.8-r320162M
Subscription-State: active
Event: dialog
Content-Type: application/dialog-info+xml
Content-Length: 223

<?xml version="1.0"?><dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="15" state="full" entity="sip:6850@"><dialog id="6850" direction="recipient">
Comments:By: Soren Stoutner (soren) 2011-05-31 00:59:52

I am having the same issue on Asterisk

By: Alex (alexrixhardson) 2011-09-01 05:58:29.460-0500

I'm also having the same issue on Asterisk Is there any solution ready yet? It's a bit frustrating for me, because I'm just in the process of migrating telephony from legacy system to Asterisk in the office, and this was one of the features that worked great on the legacy system. Therefore we would love to see it being fixed on Asterisk asap too :).

This must probably be something minor...could someone give me any hint where in the code of chan_sip.c should I look?

By: Luke H (luckman212) 2012-01-08 00:13:43.545-0600

I just started playing with Attendant options w. Polycom + Asterisk  and this was the first thing I noticed.  I thought turning on "notifycid=yes" in sip.conf would resolve it but it didn't.   Still don't have "from" info showing up on the display of the monitoring phone.   Anyone know how to fix this?  It does seem like a minor fix as far as fixes go.

By: Luke H (luckman212) 2012-01-08 00:25:53.227-0600

Okay I found some clues while digging around in http://www.asterisk.org/doxygen/trunk/Config_sip.html
Specifically, once I set "notifycid=ignore-context" I was able to see the "From" on the attendant phone.  One thing that doesn't show up is if a monitored phone makes a call to e.g. an outside # via a trunk, the display will not show the number dialed.  Is this for security purposes or is there a way to configure it so we can enable to display these as well?