Canreinvite=no for incoming internet SIP calls?

Hi,

My asterisk is receiving incoming internet SIP calls (to user@mydomain.com) using the domain=mydomain.com,internet feature.

Since there is no peer/user/friend section for this, how can I set canreinvite=no for them ?

Can I globally define canreinvite=no or is it, as stated in the documentation, a peer/user/friend section parameter only ?

Thanks.

yes, define canreinvite=no in the general section, then specifically enable canreinvite=yes for those that need it.