Jonas Kellens
2014-Aug-11 14:50 UTC
[asterisk-users] NotifyCID to see who is calling for call pickup
Hello, If the phone of my colleague rings, I can see this with BLF-lamps on my Snom IP-phone. I would also like to see *_who_* is calling. I would like to see the external number on my screen so I can choose whether to pickup the call with BLF. Therefore I have in sip.conf : notifycid = yes With this setting on, I see on my screen : 10 --> 10 10 is the internal extension of my colleague. But how can I see the external number that is calling in ? I would expect to see : 10 --> 3221234567 3221234567 being the external number I would like to know about. This is what Asterisk sends to my Snom IP-phone : [Aug 11 16:37:56] Reliably Transmitting (NAT) to my.pub.lic.ip:1024: NOTIFY sip:testacc77003 at 192.168.1.109:1024 SIP/2.0 Via: SIP/2.0/UDP ip.ast.ser.ver:5060;branch=z9hG4bK5b999cd4;rport Max-Forwards: 70 From: <sip:10 at ip.ast.ser.ver;user=phone>;tag=as6b302bda To: <sip:testacc77003 at ip.ast.ser.ver>;tag=ashydm1he5 Contact: <sip:10 at ip.ast.ser.ver:5060> Call-ID: 3c26b7878939-ri1v0tkqfa2h CSeq: 103 NOTIFY User-Agent: pbx Subscription-State: active Event: dialog Content-Type: application/dialog-info+xml Content-Length: 516 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:10 at ip.ast.ser.ver"> <dialog id="10" call-id="pickup-3c26b7878939-ri1v0tkqfa2h" local-tag="ashydm1he5" remote-tag="as6b302bda" direction="recipient"> <remote> <identity display="10">sip:10 at ip.ast.ser.ver</identity> <target uri="sip:10 at ip.ast.ser.ver"/> </remote> <local> <identity>sip:10 at ip.ast.ser.ver</identity> <target uri="sip:10 at ip.ast.ser.ver"/> </local> <state>early</state> </dialog> </dialog-info> Where does Asterisk take the information to put into the dialog-info and how can I change it to display the external number also ? Thanks ! Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140811/07635e73/attachment.html>