On Thu, 2008-10-30 at 09:07 -0400, Joly, Robert (CAR:9D30) wrote: > > Don't use the address - use the domain name. That will be > > much more likely to be unique. Anyone using a domain that > > isn't legit in the DNS or one ending in .local won't be able > > to do SIP over the Internet anyway, so they only need to > > worry about collisions within the domain and (I have it on > > good authority that) the smaller number of bits is fine for that. > > SipXecs systems in an HA deployment share the same domain name. Would > that increase the odds of call-ID collisions between systems. Could the > MAC address be used here as a way to improve uniqueness?
Multiple systems using the same domain name would be slightly more subject to collisions, and slightly easier to forge their Call-Ids. The problem is more that "@my-sip-domain" isn't that informative as to who created the dialog. E.g., you wind up knowing that it came from *a* registrar (due to the port number), but not which one. You really want to use the host's name, not the SIP domain. I extracted all the domains that have ITADs for ISN dialing, and about 1/2 of those are longer than an IP address would be. But I assume host names would be longer than SIP domains. Dale _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
