Sudheendra,

There is currently no standard for how to do callerid in sip.

In the PSTN, the is *some* confidence that the callerid, if provided to the phone, is vouched for by a trusted carrier.

In SIP, the most obvious thing to do is present the content of the From header. But this does not, in general, carry that same level of trust. In some environments the P-Asserted-Identity header may be a more appropriate source of caller id information. In addtion, there is ongoing work on identity, that will eventually, if used, provide certification of the From address.

That just covers what information you might want to use as a source of callerid data. I guess your question is more about how to display it. Lets assume you have chosen some header (e.g. From or P-Asserted-Identity) as the source, and you want to display it.

These headers may contain either a name-addr or an addr-spec. The name-addr contains a display name plus a uri, while the addr-spec contains just a uri. The display name can contain most any characters, and has no useful syntax, so you will have to display that pretty much as-is if you want. That would be much like the caller-name in regular callerid.

The uri can be in a variety of formats:
- sip/sips uri, with either no user= parameter or user=ip
- sip/sips uri, with user=phone parameter
- tel uri, global format
- tel uri, local format

If the uri is a tel uri, and it is in global format, then you can display it as a phone number. The syntax is standard, so you can reformat it as you wish, to comply with the phone user's expectations.

If the uri is a tel uri in local format, it is hard to suggest how you should display it so it will make sense to your user.

If it is a sip/sips uri with user=phone, it gets tricky. In general you are not supposed to interpret the user part of sip uris from a domain you don't control, even if user=phone is present. In this case you should probably display the callerid as a full sip uri. If the domain is one you are familiar with (i.e. the one you use) then it may be ok to treat this as a tel uri.

If this is a sip/sips uri without user=phone, then you have little option other than to display the full uri. Depending on the conventions of your UI, you may just display "[EMAIL PROTECTED]" rather than "sip:[EMAIL PROTECTED]".

This is still a pretty open area, and a lot of devices do stuff that can be deceptive - e.g. just displaying the user part of the uri as a phone number, ignoring the domain and parameters altogether.

        Paul

Sudheendra wrote:
Hi,

I want know how should Caller ID be displayed if endpoint number is
"[EMAIL PROTECTED]" on the phone.Whether it should display the number or the
URI?

Regards

Sudhi
_______________________________________________
Sip-implementors mailing list
[email protected]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[email protected]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to