[OpenSIPS-Users] Question about dialog max timeout...
Marc Leurent
lftsy at leurent.eu
Fri May 8 13:06:18 CEST 2009
Hello all, I have juste a small question about the dialog module, I have set the parameters below for OpenSIPs dialog module with a "default_timeout", to 3 hours,
# ----- dialog params -----
modparam("dialog", "enable_stats", 1) # If the statistics support should be enabled or not.
#modparam("dialog", "hash_size", 4096) # The size of the hash table internally used to keep the dialogs.
modparam("dialog", "rr_param", "did") # Name of the Record-Route parameter to be added with the dialog cookie.
modparam("dialog", "dlg_flag", 4) # Flag to be used for marking if a dialog should be constructed for the current request.
#modparam("dialog", "buy_on_timeout_flag", 6) # Message falg to be set if you want the dialog module to automatically send BYE requests (in both directions) when the dialog give timeout.
#modparam("dialog", "timeout_avp", "$avp(i:10)") # The specification of an AVP to contain a custom timeout (in seconds) for the dialog.
modparam("dialog", "default_timeout", 10800) # The default dialog timeout (in seconds) if no custom one is set.
#modparam("dialog", "dlg_extra_hdrs", "Hint: credit expired\r\n") # A string containing the extra headers to be added in the requests generated
modparam("dialog", "dlg_match_mode", 0) # The match is done exclusively based on DID;
modparam("dialog", "db_url", "mysql://opensips:Uwefwefwefo3J@localhost/opensips")
modparam("dialog", "db_mode", 1) # Describe how to push into the DB the dialogs' information from memory.
modparam("dialog", "db_update_period", 30) # The interval (seconds) at which to update dialogs' information if you chose to store.
#modparam("dialog", "profiles_with_value", "caller ; my_profile") # List of names for profiles with values.
#modparam("dialog", "profiles_no_value", "inbound ; outbound") # List of names for profiles without values.
but I have some dialogs that have a superior timeout like this one..
Have you got any idea how to see where this timeout is defined and how to force it to a lower value!
Because of this, I reach my "snmpstats", "dlg_minor_threshold", 900 very quickly
Thanks!
dialog:: hash=1768:1584216798
state:: 3
user_flags:: 0
timestart:: 1241777705
timeout:: 16267
callid:: zaltktgtpqzdqvo at leonhart.interne
from_uri:: sip:0213115090 at 212.147.46.91
from_tag:: ooctt
caller_contact:: sip:0213115090 at 194.38.160.113:5070
caller_cseq:: 960
caller_route_set::
caller_bind_addr:: udp:212.147.46.91:5060
to_uri:: sip:0213115090 at 212.147.46.91
to_tag:: as79ae919b
callee_contact:: sip:0213115090 at 212.147.46.81:5060
callee_cseq:: 960
callee_route_set::
callee_bind_addr:: udp:212.147.46.91:5060
--
-- --
Marc LEURENT
lftsy at leurent.eu
More information about the Users
mailing list