[OpenSIPS-Devel] [ opensips-Bugs-3608659 ] Incorrect profile values resulting from set_dlg_profile

SourceForge.net noreply at sourceforge.net
Fri Mar 22 03:54:19 CET 2013


Bugs item #3608659, was opened at 2013-03-20 18:54
Message generated for change (Comment added) made by csmicrox
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3608659&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Chen-Che Huang (csmicrox)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect profile values resulting from set_dlg_profile

Initial Comment:
I set two dialog profiles to keep track of the numbers of ongoing dialogs served by the two RTP proxies in my environment (modparam("dialog", "profiles_with_value", "S1R1 ; S1R2")). I find that the number may go wrong (stays the same even when new dialogs are set to the profile) when such log messages are shown "DBG:dialog:link_dlg_profile: Entered here with hash = 8". Specifically, when several new INVITE requests are processed simutaneously and have the same hash="n", the profile value will keep the same. Please help me address this problem. I'm very grateful to the help.

PS. The attached file is the part of my config script associated with this issue. 

Many thanks and best regards,
Chen-Che 




----------------------------------------------------------------------

Comment By: Chen-Che Huang (csmicrox)
Date: 2013-03-21 19:54

Message:
Hi Răzvan,

Thanks for your reply. I am sorry that I was not being clear enough. In my
test, I use SIPp to generate 100 calls/second in a round (each round:
INVITE-ACK-BYE requests). When receiving each INVITE request sent from
SIPp, the server calls create_dialog() and then call set_dlg_profile().
After several rounds, I find that several dialogs suddently have the same
hash values (DBG:dialog:link_dlg_profile: Entered here with hash = n) and
then the profile value stays the same. Afterwards, the profile value
"never" increases (always have the same hashed value) even when new dialogs
are set to the profile. This does not affect the termination of existing
dialogs.

Many thanks for your help.

Yours sincerely,
Chen-Che

----------------------------------------------------------------------

Comment By: Razvan Crainea (razvancrainea)
Date: 2013-03-21 02:26

Message:
Hi, Chen-Che!

When adding a dialog in a profile, it stays there as long as the dialog is
active. Are you sure that during your tests, none of the previously created
dialogs are ended/expired?

Best regards,
Răzvan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3608659&group_id=232389



More information about the Devel mailing list