Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
dc3c172a
Commit
dc3c172a
authored
Dec 15, 2005
by
Pekka Pessi
Browse files
Documented GUID format.
darcs-hash:20051215124012-65a35-b073b3ee9979deb2e270b0eb928c76f45cf97a8a.gz
parent
b4654770
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
libsofia-sip-ua/sip/sip_basic.c
libsofia-sip-ua/sip/sip_basic.c
+6
-0
No files found.
libsofia-sip-ua/sip/sip_basic.c
View file @
dc3c172a
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment