Multiple defaultexpir(e)y


I’m having 2 SIP providers, one who doesn’t accept defaultexpiry lower than 1800 and the other that requires 300.

Unfortunately I can only set up one defaultexpiry in the [general] section.

Is there any way I could define a different defaultexpiry for each SIP provider (in their own sip.conf [section]) or somewhere else ?

Thanks for any help.

I also have a need to set 1 trunk to a different defaultexpiry. Setting this in sip.conf works, but causes problems for other trunks. Any way around this?