generate
fun CallId.Configuration.generate(length: Int = 64, dictionary: String = CALL_ID_DEFAULT_DICTIONARY)
Content copied to clipboard
Generates fixed length call ids using the specified dictionary. Please note that this function generates pseudo-random identifiers via regular java.util.Random and should not be considered as cryptographically secure. Also note that you should use the same dictionary for CallIdVerifier otherwise a generated call id could be discarded or may lead to complete call rejection.
See also
Parameters
length
of call ids to be generated, should be positive
dictionary
to be used to generate ids, shouldn't be empty and it shouldn't contain duplicates