opensips 修改注册超时时间

上一篇 / 下一篇  2014-06-24 10:45:03 / 个人分类:opensips

1.3.1. default_expires (integer)

If the processed message contains neither Expires HFs nor expires contact parameters,this value will be used for newly created usrloc records. The parameter contains number of second to expire (for example use 3600 for one hour).

Default value is 3600.

Example 1.1. Set default_expires parameter

...
modparam("registrar", "default_expires", 1800)
...

1.3.2. min_expires (integer)

The minimum expires value of a Contact, values lower than this minimum will be automatically set to the minimum. Value 0 disables the checking.

Default value is 60.

Example 1.2. Set min_expires parameter

...
modparam("registrar", "min_expires", 60)
...

1.3.3. max_expires (integer)

The maximum expires value of a Contact, values higher than this maximum will be automatically set to the maximum. Value 0 disables the checking.

Default value is 0.

Example 1.3. Set max_expires parameter

...
modparam("registrar", "max_expires", 120)
...

TAG: opensips sipserver

 

评分:0

我来说两句

Open Toolbar