* Generate a From tag */
| 115 | * Generate a From tag |
| 116 | */ |
| 117 | void generate_fromtag(str* tag, str* callid) |
| 118 | { |
| 119 | /* calculate from tag from callid */ |
| 120 | crcitt_string_array(&from_tag[MD5_LEN + 1], callid, 1); |
| 121 | tag->s = from_tag; |
| 122 | tag->len = FROM_TAG_LEN; |
| 123 | } |
| 124 | |
| 125 | |
| 126 | /* |
no test coverage detected