jonas.kellens at telen... Guest
|
Posted: Mon Aug 11, 2014 9:51 am Post subject: [asterisk-users] NotifyCID to see who is calling for call pi |
|
|
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@192.168.1.109:1024 ([email]sip:testacc77003@192.168.1.109:1024[/email]) SIP/2.0
Via: SIP/2.0/UDP ip.ast.ser.ver:5060;branch=z9hG4bK5b999cd4;rport
Max-Forwards: 70
From: <sip:10@ip.ast.ser.ver;user=phone> ([email]sip:10@ip.ast.ser.ver;user=phone[/email]);tag=as6b302bda
To: <sip:testacc77003@ip.ast.ser.ver> ([email]sip:testacc77003@ip.ast.ser.ver[/email]);tag=ashydm1he5
Contact: <sip:10@ip.ast.ser.ver:5060> ([email]sip:10@ip.ast.ser.ver:5060[/email])
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@ip.ast.ser.ver" ([email]sip:10@ip.ast.ser.ver[/email])>
<dialog id="10" call-id="pickup-3c26b7878939-ri1v0tkqfa2h" local-tag="ashydm1he5" remote-tag="as6b302bda" direction="recipient">
<remote>
<identity display="10">sip:10@ip.ast.ser.ver ([email]sip:10@ip.ast.ser.ver[/email])</identity>
<target uri="sip:10@ip.ast.ser.ver" ([email]sip:10@ip.ast.ser.ver[/email])/>
</remote>
<local>
<identity>sip:10@ip.ast.ser.ver ([email]sip:10@ip.ast.ser.ver[/email])</identity>
<target uri="sip:10@ip.ast.ser.ver" ([email]sip:10@ip.ast.ser.ver[/email])/>
</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. |
|