prashanth.me wrote: > Hi Paul, > Example SIP URI given by Iñaki Baz, does not contain the ;user=phone > parameter. > Should we assume that the userinfo part of the below SIP URI is a > telephone-subscriber number or not? > ----------------- > > sip:12345678;phone-context=mydomain....@provider.com
Who is "we"? The server responsible for provider.com will *know* what this represents. Others that are privy to the policies of provider.com may also know. But in general, somebody not aware of those specific policies will not *know* if this represents a telephone-subscriber or not. It can *assume* this if it wants, but then must understand that this is a guess that may be wrong. In any case, what would somebody else do with this if it knew this represented a telephone-subscriber? Is it to display the URI in a more user-friendly way? Or to route requests in ways that bypass provider.com? As far as sip standards are concerned, requests to this address need to reach a server for provider.com. You can of course do whatever you are comfortable doing. But there are no guarantees you are doing the right thing. Thanks, Paul > ----------------- > > Thanks, > Prashanth M E > > Paul Kyzivat wrote: >> The form of the user part is really the responsibility of the owner of >> the domain. user=phone is really only meaningful if the domain owner >> allows/supports that. In absence of user=phone, the domain may *choose* >> to treat the user part according to tel uri syntax, or not. >> >> *if* user=phone is present, and *if* the domain supports use of >> user=phone, then a user part that doesn't start with "+" must be a local >> number in accord with telephone-subscriber, as Iñaki says below. >> >> Paul >> >> Iñaki Baz Castillo wrote: >> >>> El Viernes 05 Marzo 2010, hanifa.mohammed escribió: >>> >>>> Thanks for the response. Pl clarify my assumption. >>>> >>>> 1. So, when there is no "user=phone" parameter in the SIP uri, there is no >>>> context of Local or Global. >>>> Or is there any other way to figure out whether a SIP uri is global or >>>> local? >>>> 2. Simply the presence of '+' in the userinfo part of the SIP uri is not >>>> suffice enough to declare it as >>>> a global SIP uri. >>>> >>> If ;user=phone is present you can assume that the SIP URI userinfo is a >>> telephone-subscriber number, following same rules (if it begins with "+" >>> then >>> it's absolute). In order to be local it would be like: >>> >>> sip:12345678;phone-context=mydomain....@provider.com >>> >>> >>> >> _______________________________________________ >> Sip-implementors mailing list >> Sip-implementors@lists.cs.columbia.edu >> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors >> >> > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors