[OpenSIPS-Devel] calculating of hash_id in dialog module

Dror Wald dror at jajah.com
Wed Sep 3 12:06:43 CEST 2008


Hi,
I have a question regarding dlg->h_id in the dialog module.
Is there a way to compute the hash_id (dlg->h_id ) from an external program based on the callid,from_tag, and to_tag values?
Or, is it as far as I understand from the link_dlg() function, calculated based on the current situation of the hash table, and in other situation the value of hash_id might be different for the same called, from_tag and to_tag values.

Here is an example:
1100 hash_entry
1158422147 hash_id
4BDE4E00799011DD8AB745000000C413 at 69.147.69.76<mailto:4BDE4E00799011DD8AB745000000C413 at 69.147.69.76> callid
1220429654 from_tag
15908 to_tag
* hash size is probably 4096.

Thanks,
Dror




 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/devel/attachments/20080903/66c475e1/attachment.htm 


More information about the Devel mailing list