[OpenSIPS-Users] Dialog Custom AVP_Timeout is not valid !

SamyGo govoiper at gmail.com
Wed Aug 1 10:09:32 CEST 2012


Hi,
Im trying to implement call duration limits and I've following parameters
set in dialog module.

loadmodule "dialog.so"
modparam("dialog", "db_mode", 1)
modparam("dialog", "dlg_match_mode", 1)
#modparam("dialog", "default_timeout", 21600)
modparam("dialog", "timeout_avp", "$avp(10)")
modparam("dialog", "log_profile_hash_size", 10)
modparam("dialog", "db_flush_vals_profiles", 1)
modparam("dialog", "profiles_with_value", "caller; sip; gsm")
modparam("dialog", "profiles_no_value", "inbound ; outbound")
modparam("dialog", "db_url", "mysql://opensips:opensips@localhost/opensips")

The problem here is whatever value I set in the timeout_avp:$avp(10) it
doesnt accept it and in debug mode I can see:

DBG:dialog:get_dlg_timeout: invalid AVP value, use default timeout

I've tried setting the avp(10) to 180,30 X seconds but it gives the same
error.

Please suggest why is this not accepting values. Am I doing it wrong?


Regards,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120801/09ddbc30/attachment.htm>


More information about the Users mailing list