El Miércoles, 8 de Octubre de 2008, Paul Kyzivat escribió: > Its certainly not an idea that appeals to me. > > It requires an entirely non-standard routing algorithm within the proxy, > selecting contact URI from among the available candidates in a very > weird way.
Yes, true. > Its an axiom of sip that UAs may choose their contact addresses as they > wish. The encoding of any semantic information into that address is the > business of the UA and not for any other server to second guess. True again. > In your example, the same proxy is responsible for the following AORs: > - tel:+34111111 > - tel:+34222222 > - sip:[EMAIL PROTECTED] > > and probably: > > - sip:[EMAIL PROTECTED] > - sip:[EMAIL PROTECTED] > > Rather than have the UA register for [EMAIL PROTECTED] and have the proxy do > a weird mapping based on registered contact addresses, Why "weird"? it could be done based on a private ENUM that maps PSTN numbers to SIP users without the need of having PSTN numbers as userinfo in the local SIP users. I could allow a user sip:[EMAIL PROTECTED] registering for the AoR sip: [EMAIL PROTECTED], but then I need to control in the registrar if the user "[EMAIL PROTECTED]" has permissions to register that AoR. IMHO it's easier if the mapping PSTN<->SIP is done by the proxy instead of depending on the users, isn't? > its much more > straightforward to have the UA register as follows: > > REGISTER sip:domain.com > From: sip:[EMAIL PROTECTED] > To: sip:[EMAIL PROTECTED] > Contact: sip:[EMAIL PROTECTED] > > REGISTER sip:domain.com > From: sip:[EMAIL PROTECTED] > To: sip:[EMAIL PROTECTED] > Contact: sip:[EMAIL PROTECTED] > > (Its required to use the sip form of the AOR rather than the tel form. > Can't have a tel as the To of a REGISTER.) > > Thanks, > Paul -- Iñaki Baz Castillo _______________________________________________ Sip mailing list https://www.ietf.org/mailman/listinfo/sip This list is for NEW development of the core SIP Protocol Use [EMAIL PROTECTED] for questions on current sip Use [EMAIL PROTECTED] for new developments on the application of sip
