Maximum_expiration in pjsip AOR in asterisk

Hello, what is the maximum duration for maximum_expiration in pjsip AOR in asterisk? I tried applying the largest number possible, but it didn’t store 11 digits itself in the maximum value.

For example:

maximum_expiration=9999999999 fails

maximum_expiration = 1728000000 works

So it will be helpful if I get knowledge about this

It’s an unsigned int so 4 billion (1024^3 * 4)

(1024^3)*4 - 1 for a 32 unsigned integer

However, I’d want to know what was trying to be achieved here. Expiration only applies to registration not to static contacts, and more normal maximum is 3600, and the most common requirement is to set it very low.

I wonder if there is a confusion between authentication (which happens on every call, even without registration) and registration.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.