chafroudaoussama / sipek2

Automatically exported from code.google.com/p/sipek2
0 stars 0 forks source link

CallerID Name #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
With an incoming call the Caller Name (Calling Name) appears to be blank.

it should be available from 'CallingName' :

 Dictionary<int, IStateMachine> callList = 
SipekResources.CallManager.CallList;

 foreach (KeyValuePair<int, IStateMachine> kvp in callList)  {
    string number = kvp.Value.CallingNumber;
    string callername = kvp.Value.CallingName;

With SIP the full string should be in the following format:

"MyCallerID"<1234657890@sip.example.com>

I have looked around and the calling name does not seem to be picked up 
anywhere - the number on the other hand works fine.  It might be a good 
idea just to expose the full raw incoming string and then give the ability 
to parse it in the code... 

Original issue reported on code.google.com by r...@rasmus.ca on 27 May 2009 at 4:21