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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users