Commit dc3c172a authored by Pekka Pessi's avatar Pekka Pessi

Documented GUID format.

darcs-hash:20051215124012-65a35-b073b3ee9979deb2e270b0eb928c76f45cf97a8a.gz
parent b4654770
......@@ -1062,6 +1062,12 @@ sip_call_id_t *sip_call_id_create(su_home_t *home, char const *domain)
i->i_id = b = (char *)(i + 1);
su_guid_generate(guid);
/*
* Guid looks like "NNNNNNNN-NNNN-NNNN-NNNN-XX:XX:XX:XX:XX:XX"
* where NNNNNNNN-NNNN-NNNN-NNNN is timestamp and XX is MAC address
* (but we use random ID for MAC because we do not have
* guid generator available for all processes within node)
*/
su_guid_sprintf(b, su_guid_strlen + 1, guid);
/* If we have a domain name don't include MAC address at the end of guid */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment