Hi, for now I use P-Asserted-Identity with SIP URIs to set the callerID.
If the call is national (Spain = +34) I don't add the international prefix
(it's ugly to see it in national calls):
P-Asserted-Identity: <sip:[EMAIL PROTECTED]>
And if the call is international then I add the +34 prefix:
P-Asserted-Identity: <sip:[EMAIL PROTECTED]>
It works ok but I prefer to use "tel" URI. I read in RFC 3966 that there are
two kind of numbers:
- Global Numbers: Use E614 format.
Example: tel:+34999000111)
- Local Numbers: Don't start by "+" and MUST contain a ;phone-context param.
"Thus, the combination of the descriptor in the 'phone-context' parameter
and local number is again globally unique."
Example: tel:999000111;phone-context=+34
I deliver calls via a softswitch that converts from SIP to ISUP and accepts
PAI with tel URI, but I don't know if international calls sent with the
following PAI will arrive with callerID = +34999000111:
P-Asserted-Identity: <tel:9990000111;phone-context=+34>
Or maybe it's easier if I create this PAI for national calls:
P-Asserted-Identity: <tel:9990000111;phone-context=+34>
and this one for international calls:
P-Asserted-Identity: <tel:+349990000111;phone-context=+34>
Thanks.
--
Iñaki Baz Castillo
[EMAIL PROTECTED]
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors